diff options
author | bz <bz@FreeBSD.org> | 2008-04-09 05:17:18 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-04-09 05:17:18 +0000 |
commit | fc8ae9a88aa543f10afbec4bdb6ea26aec97ba02 (patch) | |
tree | c1504a2fafc4b8746998fa10be19fc0a64f65183 /libexec | |
parent | 015b99f5de0cb08ea61dfd16e1e491a2db41fa68 (diff) | |
download | FreeBSD-src-fc8ae9a88aa543f10afbec4bdb6ea26aec97ba02.zip FreeBSD-src-fc8ae9a88aa543f10afbec4bdb6ea26aec97ba02.tar.gz |
Take the route mtu into account, if available, when sending an
ICMP unreach, frag needed. Up to now we only looked at the
interface MTU. Make sure to only use the minimum of the two.
In case IPSEC is compiled in, loop the mtu through ip_ipsec_mtu()
to avoid any further conditional maths.
Without this, PMTU was broken in those cases when there was a
route with a lower MTU than the MTU of the outgoing interface.
PR: kern/122338
Tested by: Mark Cammidge mark peralex.com
Reviewed by: silence on net@
MFC after: 2 weeks
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions