HomeFreeBSD

ipsec: Improve validation of PMTU

Description

ipsec: Improve validation of PMTU

Currently there is no upper bound on the PMTU value that is accepted.
Update hostcache only if the new pmtu is smaller than the current entry
and the link MTU.

Approved by: mw(mentor)
Sponsored by: Stormshield
Obtained from: Semihalf
Differential Revision: https://reviews.freebsd.org/D35872

Details

Provenance
kdAuthored on Jul 27 2022, 2:12 PM
Differential Revision
D35872: ipsec: Improve validation of PMTU
Parents
rG82042465c3b5: icmp6: Improve validation of PMTU
Branches
Unknown
Tags
Unknown