net: ipv6: new arg skip_notify to ip6_rt_del
Used in subsequent work to skip route delete notifications on nexthop deletes. Suggested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
2ac757e415
commit
11dd74b338
@@ -1302,7 +1302,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
|
||||
}
|
||||
}
|
||||
if (rt && lifetime == 0) {
|
||||
ip6_del_rt(net, rt);
|
||||
ip6_del_rt(net, rt, false);
|
||||
rt = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user