In OpenBSD 6.0 we had the check (ip6_forward_rt.ro_tableid !=
authorbluhm <bluhm@openbsd.org>
Fri, 30 Jun 2017 11:29:15 +0000 (11:29 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 30 Jun 2017 11:29:15 +0000 (11:29 +0000)
commit804171fe6740fc7fdfd26ead7b2ab6180cd63762
tree0432223dd3b314b5be1c85f44518f1ef830ab46f
parent2feb5d2a36a799a4048160a74a6d32eed43212af
In OpenBSD 6.0 we had the check (ip6_forward_rt.ro_tableid !=
m->m_pkthdr.ph_rtableid) after going to reroute in ip6_forward().
As this had been lost during refactoring, the old route was used
after pf has changed the routing table.  Solution is to reset the
route, then it is not valid and will be reallocated.
from markus@; OK mpi@
sys/netinet6/ip6_forward.c