Separate out the length checks from IP dispatch and also do them along
authorJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 20 Oct 2004 05:00:36 +0000 (05:00 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 20 Oct 2004 05:00:36 +0000 (05:00 +0000)
commit1e316d148ff34098f4c2d23c3e6608b6192b1aca
tree3fd4cbd0c32033431497631b19a0ba7184682f0e
parentcef4846192a5cdf73df1a570f0079188e4235d74
Separate out the length checks from IP dispatch and also do them along
the IPSEC path to the protocol processing routines.

Reported by:  Andrew Atrens <atrens@nortelnetworks.com>
sys/netinet/ip_demux.c
sys/netinet/ip_var.h
sys/netinet6/ah_input.c
sys/netinet6/esp_input.c