cvs commit: src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Apr 9 05:17:19 UTC 2008
bz 2008-04-09 05:17:18 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h
Log:
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
Revision Changes Path
1.335 +26 -4 src/sys/netinet/ip_input.c
1.10 +1 -2 src/sys/netinet/ip_ipsec.c
1.3 +1 -1 src/sys/netinet/ip_ipsec.h
More information about the cvs-src
mailing list