Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 10/03/2005 22:15:44
Module Name:	src
Committed By:	bouyer
Date:		Mon Oct  3 22:15:44 UTC 2005

Modified Files:
	src/sys/arch/xen/xen: xennetback.c

Log Message:
Fix problem pointed out by YAMAMOTO Takashi:
In theory mbufs can have an infinite life time and could block the transmit
ring (as slots are released when the mbuf external storage is freed). To
avoid this, when we're processing the last slot of the ring copy the buffer
and release the slot immediatly.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/arch/xen/xen/xennetback.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.