diff options
author | kp <kp@FreeBSD.org> | 2015-04-01 12:16:56 +0000 |
---|---|---|
committer | kp <kp@FreeBSD.org> | 2015-04-01 12:16:56 +0000 |
commit | 67c45e2f58234d2572b6698f17fcda098763a240 (patch) | |
tree | 4e255658d3c3675bf8b5f2dcb6ade54d8cd1b372 /usr.sbin/pw/cpdir.c | |
parent | 86dedea3cb2f1216f9d21e55b1629038953fca9e (diff) | |
download | FreeBSD-src-67c45e2f58234d2572b6698f17fcda098763a240.zip FreeBSD-src-67c45e2f58234d2572b6698f17fcda098763a240.tar.gz |
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)
Diffstat (limited to 'usr.sbin/pw/cpdir.c')
0 files changed, 0 insertions, 0 deletions