Re: [PATCH net-next 09/18] ipv6: Ignore dead routes during lookup

From
David Ahern <hidden>
Date
2018-01-07 17:02:37
Reply to
Ido Schimmel, 2018-01-07
On 1/7/18 3:45 AM, Ido Schimmel wrote:
Currently, dead routes are only present in the routing tables in case
the 'ignore_routes_with_linkdown' sysctl is set. Otherwise, they are
flushed.

Subsequent patches are going to remove the reliance on this sysctl and
make IPv6 more consistent with IPv4.

Before this is done, we need to make sure dead routes are skipped during
route lookup, so as to not cause packet loss.

Signed-off-by: Ido Schimmel <redacted>
---
 net/ipv6/route.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
Acked-by: David Ahern <redacted>
Thread (41 messages) 41 messages, 4 authors, 2018-01-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help