In ip_lengthcheck(), make sure that pkthdr.len is not less than "IP total
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Oct 2008 07:09:26 +0000 (07:09 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Oct 2008 07:09:26 +0000 (07:09 +0000)
commit9b161cc2bdc80cc46ab3eab43aa4c77b7342652c
treee1532be65b626d198031f69e41c2a247e0ea8d48
parente9f5b82f1873a5860f063c0341cbdaf758686f9f
In ip_lengthcheck(), make sure that pkthdr.len is not less than "IP total
length" in IP header.  Change the related testing in ip_input() and
ipflow_fastforward() into assertion.
sys/netinet/ip_demux.c
sys/netinet/ip_flow.c
sys/netinet/ip_input.c