more strict sanity check for ESP tail. [From KAME]
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 May 2006 16:26:54 +0000 (16:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 May 2006 16:26:54 +0000 (16:26 +0000)
commit638ad557771831cb7d1415787691e1d187a29f27
tree9bbe3a9a3ad430b4aa43607a37b6b78f11ca423f
parent19e2ada7a7592554780463e7bf4d84d46a5753e9
more strict sanity check for ESP tail. [From KAME]

Fix IPv6 error statistics being recorded as IPv4.

m_cat() may free the mbuf on 2nd arg, so m_pkthdr manipulation
has to happen before the call to m_cat(). [May not apply.]

Submitted-by: Gary Allan <dragonfly@gallan.plus.com>
Taken-from: FreeBSD4
sys/netinet6/esp_input.c