HomeFreeBSD

Fix fragmented UDP packets handling since rev.360967.

Description

Fix fragmented UDP packets handling since rev.360967.

Consider IP_MF flag when checking length of the UDP packet to
match the declared value.

Sponsored by: Sippy Software, Inc.
Differential Revision: https://reviews.freebsd.org/D32363
MFC after: 2 weeks

(cherry picked from commit 461e6f23db3b9794e6af88b381b066a2c0463d1c)
(cherry picked from commit 73c5a2566dbb3ae57970b203d4de6fcf6088701c)

Approved by: so
Sponsored by: The FreeBSD Foundation [rework for 13.0]
Errata: FreeBSD-EN-22:06.libalias

Details

Provenance
sobomaxAuthored on Jan 10 2022, 12:19 AM
emasteCommitted on Jan 10 2022, 2:51 PM
Differential Revision
D32363: Fix validation added into rev.360967 to handle fragmented UDP packets correctly
Parents
rG60cacd2e41e1: tail: fix "tail -F" file rotation detection
Branches
Unknown
Tags
Unknown