diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2020-04-27 13:56:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-28 12:50:37 -0700 |
commit | 11dd74b338bf83f8bca70b57bad33a903fedfa6e (patch) | |
tree | 1310ba1a401876dfccf27f098d70ae1db779078c /net/ipv6/ndisc.c | |
parent | 2ac757e4152e3322a04a6dfb3d1fa010d3521abf (diff) |
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>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 1ecd4e9b0bdf..2d09c4da03ee 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -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; } |