NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/33162 CVS commit: src/sys/netipsec

The following reply was made to PR kern/33162; it has been noted by GNATS.

From: "Matthias Drochner" <>
Subject: PR/33162 CVS commit: src/sys/netipsec
Date: Wed, 25 Jan 2012 20:31:23 +0000

 Module Name:   src
 Committed By:  drochner
 Date:          Wed Jan 25 20:31:23 UTC 2012
 Modified Files:
        src/sys/netipsec: xform_ah.c xform_esp.c xform_ipcomp.c
 Log Message:
 Make sure the mbufs in the input path (only the parts which we are going
 to modify in the AH case) are writable/non-shared.
 This addresses PR kern/33162 by Jeff Rizzo, and replaces the insufficient
 patch from that time by a radical solution.
 (The PR's problem had been worked around by rev.1.3 of xennetback_xenbus.c,
 so it needs a network driver modification to reproduce it.)
 Being here, clarify a bit of ipcomp -- uncompression is done in-place,
 the header must be removed explicitly.
 To generate a diff of this commit:
 cvs rdiff -u -r1.35 -r1.36 src/sys/netipsec/xform_ah.c
 cvs rdiff -u -r1.39 -r1.40 src/sys/netipsec/xform_esp.c
 cvs rdiff -u -r1.28 -r1.29 src/sys/netipsec/xform_ipcomp.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index