Subject: CVS commit: [netbsd-3] src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <email@example.com>
Date: 08/05/2006 15:59:57
Module Name: src
Committed By: ghen
Date: Sat Aug 5 15:59:57 UTC 2006
src/sys/arch/xen/xen [netbsd-3]: if_xennet_xenbus.c
Pull up following revision(s) (requested by bouyer in ticket #1454):
sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.11
m_copyback() doesn't adjust m->m_len if the data to copy is smaller than
the mbuf's size. Set it to a proper value before calling m_copyback().
This should fix panics in m_makewritable() reported by several peoples.
While there, add MCLAIM() calls where appropriate, a few more #ifdef DEBUG
checks, and various minor fixes.
To generate a diff of this commit:
cvs rdiff -r22.214.171.124 -r126.96.36.199 src/sys/arch/xen/xen/if_xennet_xenbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.