Subject: CVS commit: src/sys/netinet
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 12/09/2005 15:36:34
Module Name:	src
Committed By:	manu
Date:		Fri Dec  9 15:36:34 UTC 2005

Modified Files:
	src/sys/netinet: udp_usrreq.c

Log Message:
Fix a bug in ESP over UDP: because udp4_espinudp() called m_pullup, it
could modify the struct mbuf and calling functions (udp_input() and
udp4_realinput()) would have used a garbled local copy of the pointer.

The fix is not perfect. udp4_espinudp() should use m_pulldown()...


To generate a diff of this commit:
cvs rdiff -r1.143 -r1.144 src/sys/netinet/udp_usrreq.c

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