On Ethernet packets have a minimal length, so very short packets
authorbluhm <bluhm@openbsd.org>
Fri, 17 Apr 2015 16:42:50 +0000 (16:42 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 17 Apr 2015 16:42:50 +0000 (16:42 +0000)
commite3048d164877abde6609a6132d3ea32fb6bac555
treea34f0f739810a638d39a8d9a2e2ad94d3f71a16b
parent3e546e32260819bc55e469351dff1feba57d0f44
On Ethernet packets have a minimal length, so very short packets
get padding appended to them.  This padding is not stripped off in
ip6_input() (due to support for IPv6 Jumbograms, RFC2675).  That
means PF needs to be careful when reassembling fragmented packets
to not include the padding in the reassembled packet.
from FreeBSD; via Kristof Provost; OK henning@
sys/net/pf_norm.c