Fix path MTU discovery for ESP tunneled in IPv6. We always want
authorbluhm <bluhm@openbsd.org>
Mon, 1 Feb 2021 13:25:04 +0000 (13:25 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 1 Feb 2021 13:25:04 +0000 (13:25 +0000)
commit89de4c798c8a4662405a390fcbdd22fbde0f69b0
treebb78c2fb7e5f182054314ce0fde5c008fb0a2895
parent8199ec7244ab6a911c17ab3c0549e8b5de39647e
Fix path MTU discovery for ESP tunneled in IPv6.  We always want
short TCP segments or fragments encapsulated in ESP instead of
fragmented ESP packets.  Pass the don't fragment flag down along
the stack so that dynamic routes with MTU are created eventually.
with and OK markus@; OK tobhe@
sys/netinet/ip_output.c
sys/netinet6/ip6_output.c