cvs commit: src/sys/netinet ip_input.c

Andre Oppermann andre at FreeBSD.org
Tue Jan 24 09:57:20 PST 2006


andre       2006-01-24 17:57:19 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_input.c 
  Log:
  When doing IP forwarding with [FAST_]IPSEC compiled into the kernel
  ip_forward() would report back a zero MTU in ICMP needfrag messages
  because on a IPSEC SP lookup failure no MTU got computed.
  
  Fix this by changing the logic to compute a new MTU in any case if
  IPSEC didn't do it.
  
  Change MTU computation logic to use egress interface MTU if available
  or the next smaller MTU compared to the current packet size instead
  of falling back to a very small fixed MTU.
  
  Fix associated comment.
  
  PR:             kern/91412
  MFC after:      3 days
  
  Revision  Changes    Path
  1.312     +10 -8     src/sys/netinet/ip_input.c


More information about the cvs-all mailing list