rwatson bd8533b1a2 Under some circumstances, the loopback interface will allocate a new
mbuf for a packet looping back to provide alignment guarantees for
KAME.  Unfortunately, this code performs a direct copy of the header
rather than using a header copying primitive (largely because we have
sucky header copying primitives).  This results in a multiple free
of the MAC label in the header when the same label data is freed
twice when the two mbufs with that header are freed.  As a temporary
work-around, clear the initialized flag on the label to prevent the
duplicate free, which prevents panics on large unaligned loopback
IP and IPv6 data.  The real fix is to improve and make use of proper
packet header copying routines here.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-18 15:34:17 +00:00
..
2002-12-14 22:25:35 +00:00
2002-12-16 00:49:36 +00:00
2002-10-18 21:41:41 +00:00
2002-12-17 19:31:26 +00:00
2002-12-18 11:46:59 +00:00
2002-12-14 00:56:07 +00:00
2002-12-18 11:46:59 +00:00
2002-12-18 11:46:59 +00:00
2002-11-08 23:37:50 +00:00
2002-11-20 15:21:06 +00:00
2002-11-27 06:04:49 +00:00
2002-12-14 01:56:26 +00:00