Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2008 05:17:18 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_input.c ip_ipsec.c ip_ipsec.h
Message-ID:  <200804090517.m395HI7r046147@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804090517.m395HI7r046147>