cvs commit: src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h

Bjoern A. Zeeb bz at
Tue Apr 22 12:02:56 UTC 2008

bz          2008-04-22 12:02:55 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet          ip_input.c ip_ipsec.c ip_ipsec.h 
  MFC: rev. 1.335 ip_input.c, rev. 1.10 ip_ipsec.c, rev. 1.3 ip_ipsec.h
    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
  Revision   Changes    Path
  1.332.2.2  +26 -4     src/sys/netinet/ip_input.c    +1 -2      src/sys/netinet/ip_ipsec.c    +1 -1      src/sys/netinet/ip_ipsec.h

More information about the cvs-src mailing list