TCPS_CLOSED is no longer 0 in DragonFly. Because ipfilter was assuming
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 28 Aug 2004 07:27:02 +0000 (07:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 28 Aug 2004 07:27:02 +0000 (07:27 +0000)
commit0a3593955c7228d8a3bcf1891989261d94151af4
tree5008b765a9f9ba869d6524d473fe0e25e03c23ec
parent9a27db5a0b414296ebf5f23ecfd33e7f95529bb1
TCPS_CLOSED is no longer 0 in DragonFly.  Because ipfilter was assuming
that TCPS_CLOSED was 0, the tcp keep state table was never properly
initialized and ipfilter considered most tcp packets to be bad.  Change
ip_state.c to properly initialize the starting state for new tcp keep
state entries.

Problems reported by: Toma<9E> Bor<9A>tna <tomaz.borstnar@over.net>,
Bernhard Valenti <bernhard.valenti@gmx.net>,
Peter Kadau <peter.kadau@tuebingen.mpg.de>
sys/contrib/ipfilter/netinet/ip_state.c