Subject: CVS commit: src/sys/netipsec
To: None <source-changes@NetBSD.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: source-changes
Date: 04/28/2006 22:39:02
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.