m_cat() may free the mbuf on 2nd arg, so m_pkthdr manipulation
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 May 2006 16:25:41 +0000 (16:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 May 2006 16:25:41 +0000 (16:25 +0000)
commitb500521e55657cc907a3471c4c7dda3c7266054e
tree72d7ecf7d8229269f0fc5791d0415190edcea2db
parent330f047e2f82779bf8c8688a8815c79da85b6343
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.]

Fix IPv6 error statistics being recorded as IPv4.

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