Call RO_RTFREE() when we have detected the change of destination
address, otherwise the old route will be used with new destination. MFC after: 1 week
This commit is contained in:
parent
3a15b2c2c2
commit
d1f53cbfea
@ -826,8 +826,10 @@ again:
|
||||
#endif
|
||||
error = netisr_queue(NETISR_IPV6, m);
|
||||
goto done;
|
||||
} else
|
||||
} else {
|
||||
RO_RTFREE(ro);
|
||||
needfiblookup = 1; /* Redo the routing table lookup. */
|
||||
}
|
||||
}
|
||||
/* See if fib was changed by packet filter. */
|
||||
if (fibnum != M_GETFIB(m)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user