Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 01/31/2004 20:11:13
Module Name:	src
Committed By:	jdc
Date:		Sat Jan 31 20:11:13 UTC 2004

Modified Files:
	src/sys/net: if_bridge.c

Log Message:
Use m_copydata(), m_adj() and M_PREPEND() to manipulate mbuf's in
bridge_ipf().  Fixes kernel memory corruption that occured when using
m_split() and m_cat().
Idea from OpenBSD.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/net/if_bridge.c

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