Subject: PR/33162 CVS commit: src/sys/netipsec
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel@netbsd.org>
List: netbsd-bugs
Date: 04/28/2006 22:40:02
The following reply was made to PR kern/33162; it has been noted by GNATS.

From: Pavel Cahyna <pavel@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/33162 CVS commit: src/sys/netipsec
Date: Fri, 28 Apr 2006 22:39:02 +0000 (UTC)

 Module Name:	src
 Committed By:	pavel
 Date:		Fri Apr 28 22:39:02 UTC 2006
 
 Modified Files:
 	src/sys/netipsec: xform_esp.c
 
 Log Message:
 The esp_input_cb function used m_copyback, which fails if the mbuf is
 read-only. This can actually happen if the packet was received by the
 xennet interface, see PR kern/33162. Change it to m_copyback_cow.
 
 AH and IPCOMP probably need similar fixes.
 
 Requested by Jeff Rizzo, tested on Xen with -current by him.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 src/sys/netipsec/xform_esp.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.