summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-08-20 13:17:47 +0000
committerbz <bz@FreeBSD.org>2011-08-20 13:17:47 +0000
commit90bed46bcee236b59a312e6c676707f3db838e2d (patch)
tree95075b94991409344385c4e4ea5808d85e574909 /sys/kern/init_main.c
parentbb3e0f18c0249c086c567a4d0d1e2f321587dcb2 (diff)
downloadFreeBSD-src-90bed46bcee236b59a312e6c676707f3db838e2d.zip
FreeBSD-src-90bed46bcee236b59a312e6c676707f3db838e2d.tar.gz
ipfw internally checks for offset == 0 to determine whether the
packet is a/the first fragment or not. For IPv6 we have added the "more fragments" flag as well to be able to determine on whether there will be more as we do not have the fragment header avaialble for logging, while for IPv4 this information can be derived directly from the IPv4 header. This allowed fragmented packets to bypass normal rules as proper masking was not done when checking offset. Split variables to not need masking for IPv6 to avoid further errors. PR: kern/145733 Submitted by: Matthew Luckie (mjl luckie.org.nz) MFC after: 2 weeks Approved by: re (kib)
Diffstat (limited to 'sys/kern/init_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud