NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/51132 CVS commit: src/sys/dev/pci



The following reply was made to PR kern/51132; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <uwe%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51132 CVS commit: src/sys/dev/pci
Date: Tue, 29 Nov 2016 21:54:11 +0000

 Module Name:	src
 Committed By:	uwe
 Date:		Tue Nov 29 21:54:11 UTC 2016
 
 Modified Files:
 	src/sys/dev/pci: if_vioif.c
 
 Log Message:
 vioif_start() - do not call virtio_enqueue_abort() after error from
 virtio_enqueue_reserve(), as it's already done by the latter, so we
 ended up with a kind of "double free" that messed up out free list of
 vq_entry's.
 
 This is even documented in a "typical usage" comment in virtio.c (and
 those quotes are not intended to be sarcastic).
 
 PR 51132 - virtio net device stuck for UDP burst transmission
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/if_vioif.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index