Copy code from ip_forward() to ip6_forward() to fix Path MTU discovery
authorbluhm <bluhm@openbsd.org>
Mon, 22 Nov 2021 13:47:10 +0000 (13:47 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 22 Nov 2021 13:47:10 +0000 (13:47 +0000)
commita380976c585a18a3e103cf68105431c922872509
treef5649ce4144cd66b2573029647a67b2bab4e21de
parentac7c051c054eee5ed63de6d85c5e5ba3d640b4e1
Copy code from ip_forward() to ip6_forward() to fix Path MTU discovery
in IPsec IPv6 tunnel.  Implement sending ICMP6 packet too big
messages.  Also implement the pf error case in ip6_forward().  While
there, do some cleanup and make the IPv4 and IPv6 code look similar.
OK tobhe@
sys/netinet/ip_input.c
sys/netinet6/ip6_forward.c