freebsd-dev/sys/netpfil
Kristof Provost 7dce9b515b pf: Deal with runt packets
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.

While here also remove the 'Magic from ip_input.' bits. Splitting up and
re-joining an mbuf chain here doesn't make any sense.

Differential Revision:	https://reviews.freebsd.org/D2189
Approved by:		gnn (mentor)
2015-04-01 12:16:56 +00:00
..
ipfw The offset variable has been cleared all bits except IP6F_OFF_MASK. 2015-03-31 14:41:29 +00:00
pf pf: Deal with runt packets 2015-04-01 12:16:56 +00:00