summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2006-01-24 17:57:19 +0000
committerandre <andre@FreeBSD.org>2006-01-24 17:57:19 +0000
commitc69e8551782ff17e45b35f8ec902b93f5645919d (patch)
tree915964d18561bbca3edc907b6fc802cd2247b394 /lib/libc
parent2fd19a7545dc8f29cd188e1760ec721a0e5ccc47 (diff)
downloadFreeBSD-src-c69e8551782ff17e45b35f8ec902b93f5645919d.zip
FreeBSD-src-c69e8551782ff17e45b35f8ec902b93f5645919d.tar.gz
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
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud