Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 03/16/2006 23:02:50
Module Name: src
Committed By: bouyer
Date: Thu Mar 16 23:02:50 UTC 2006
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.43 -r1.44 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.