HomeFreeBSD

ipsec: Check PMTU before sending a frame.

Description

ipsec: Check PMTU before sending a frame.

If an encapsulated frame is going to have DF bit set check its desitnitions'
PMTU and if it won't fit drop it and:

Generate ICMP 3/4 message if the packet was to be forwarded.
Return EMSGSIZE error otherwise.

Obtained from: Semihalf
Sponsored by: Stormshield
Differential revision: https://reviews.freebsd.org/D30993

Details

Provenance
kdAuthored on Aug 13 2021, 7:20 AM
wmaCommitted on Aug 13 2021, 7:22 AM
Differential Revision
D30993: Check PMTU before sending a frame.
Parents
rG06afb53bcd7b: nfsd: Fix sanity check for NFSv4.2 Allocate operations
Branches
Unknown
Tags
Unknown