HomeFreeBSD

Add some additional length checks to the IPv4 fragmentation code.

Description

Add some additional length checks to the IPv4 fragmentation code.

Specifically, block 0-length fragments, even when the MF bit is clear.
Also, ensure that every fragment with the MF bit clear ends at the same
offset and that no subsequently-received fragments exceed that offset.

Reviewed by: glebius, markj
MFC after: 3 days
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D17922

Details

Provenance
jtlAuthored on
Reviewer
glebius
Differential Revision
D17922: More IPv4 fragment checks
Parents
rS340482: proc: always store parent pid in p_oppid
Branches
Unknown
Tags
Unknown