Subject: CVS commit: [netbsd-3] src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 03/24/2006 22:46:45
Module Name:	src
Committed By:	riz
Date:		Fri Mar 24 22:46:45 UTC 2006

Modified Files:
	src/sys/arch/xen/xen [netbsd-3]: if_xennet.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1218):
	sys/arch/xen/xen/if_xennet.c: revision 1.44
m_copyback() doesn't work the way I expexted it: it doesn't update the
mbuf fields, and it seems it doesn't allocate mbuf clusters for large
packets. So revert to using MCLGET() if needed and memcpy to get the
data in the mbuf.
Should fix panic in m_makewritable() reported by Mike M. Volokhov
and Andreas Wrede on port-xen, patch tested by Andreas Wrede.


To generate a diff of this commit:
cvs rdiff -r1.13.2.21 -r1.13.2.22 src/sys/arch/xen/xen/if_xennet.c

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