HomeFreeBSD

Merge r280956

Description

Merge r280956

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/D2818
Reviewed by: gnn

Details

Provenance
kpAuthored on
Reviewer
gnn
Differential Revision
D2818: Merge r280956
Parents
rS284572: Merge r280955
Branches
Unknown
Tags
Unknown