ip6_output_ipsec_send() may change the route embeded in struct ro
authorbluhm <bluhm@openbsd.org>
Thu, 14 Oct 2021 17:39:42 +0000 (17:39 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 14 Oct 2021 17:39:42 +0000 (17:39 +0000)
commita047f6f4ac23b12a3f2715c89f5c7882c80df0b0
treec735034ca4d9d93e3a7b7300b0f269c4e8849643
parentccb627cdc844859bcb12c7a6762f4d67860d5387
ip6_output_ipsec_send() may change the route embeded in struct ro
during path MTU discovery.  ip6_forward() has to update its rt
variable to the new route in ro.  Otherwise it could operate on a
freed route.
from markus@
sys/netinet6/ip6_forward.c