HomeFreeBSD

ipsec: Add support for PMTUD for IPv6 tunnels

Description

ipsec: Add support for PMTUD for IPv6 tunnels

Discard and send ICMPv6 Packet Too Big to sender when we try to encapsulate
and forward a packet which total length exceeds the PMTU.
Logic is based on the IPv4 implementation.
Common code was moved to a separate function.

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

Details

Provenance
bag_semihalf.comAuthored on Sep 24 2021, 8:27 AM
wmaCommitted on Sep 24 2021, 8:27 AM
Differential Revision
D31771: ipsec: Add support for PMTUD for IPv6 tunnels
Parents
rGb4220bf387e6: ipsec: If no PMTU in hostcache assume it's equal to link's MTU
Branches
Unknown
Tags
Unknown