Page MenuHomeFreeBSD

Merge r280956
ClosedPublic

Authored by kp on Jun 15 2015, 10:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 22 2024, 6:34 AM
Unknown Object (File)
May 22 2024, 3:54 AM
Unknown Object (File)
May 19 2024, 3:11 PM
Unknown Object (File)
May 19 2024, 2:54 PM
Unknown Object (File)
May 13 2024, 7:24 AM
Unknown Object (File)
May 13 2024, 7:22 AM
Unknown Object (File)
Mar 28 2024, 8:19 AM
Unknown Object (File)
Dec 20 2023, 1:45 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp retitled this revision from to Merge r280956.
kp updated this object.
kp edited the test plan for this revision. (Show Details)
kp added reviewers: gnn, philip.
kp set the repository for this revision to rS FreeBSD src repository - subversion.
gnn edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2015, 12:51 PM
This revision was automatically updated to reflect the committed changes.