Add a new flag in pkthdr.fw_flag for ipfw2 so as not to abuse mbuf flag.
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Wed, 14 Jun 2006 04:39:05 +0000 (04:39 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Wed, 14 Jun 2006 04:39:05 +0000 (04:39 +0000)
commit9bce005e3609df283150201442d49e8714e4b5c3
treedc6df89862aafc88d679e499a7c4d1388f647324
parentcd3b2368db26275f35b83035e9de1cbf92acfce1
Add a new flag in pkthdr.fw_flag for ipfw2 so as not to abuse mbuf flag.
We use bit14 of mbuf flag as M_EXT_CLUSTER, which is not supposed to be set
without M_EXT, so abusing this bit resulted in a panic in m_free().

Suggested-by: joerg@
Ok: dillon@
sys/net/ipfw/ip_fw2.c
sys/sys/mbuf.h