Subject: Re: CVS commit: src/sys/netipsec
To: Greg 'groggy' Lehey <grog@NetBSD.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: source-changes
Date: 08/13/2003 18:43:48
I already mentioned the patch to Sam.  He and I keep in touch about
ocf and fast-ipsec.  It doesn't affect FreeBSD 4.x, since FreeBSD
preserves the semantics whereby kernel bcopy() safely handles
overlapping copies.

On NetBSD, bcopy(src, dst, l) gets mapped to memcpy(dst, src, l),
which is a Bad Idea when copying part of one mbuf over itself.