summaryrefslogtreecommitdiffstats
path: root/usr.bin/mesg
diff options
context:
space:
mode:
authorkp <kp@FreeBSD.org>2015-04-01 12:16:56 +0000
committerkp <kp@FreeBSD.org>2015-04-01 12:16:56 +0000
commit67c45e2f58234d2572b6698f17fcda098763a240 (patch)
tree4e255658d3c3675bf8b5f2dcb6ade54d8cd1b372 /usr.bin/mesg
parent86dedea3cb2f1216f9d21e55b1629038953fca9e (diff)
downloadFreeBSD-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.bin/mesg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud