Date: Tue, 24 Jan 2006 17:57:19 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_input.c Message-ID: <200601241757.k0OHvJ8r042549@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601241757.k0OHvJ8r042549>