diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2020-04-27 23:56:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-28 22:50:37 +0300 |
commit | 11dd74b338bf83f8bca70b57bad33a903fedfa6e (patch) | |
tree | 1310ba1a401876dfccf27f098d70ae1db779078c /net/ipv4 | |
parent | 2ac757e4152e3322a04a6dfb3d1fa010d3521abf (diff) | |
download | linux-11dd74b338bf83f8bca70b57bad33a903fedfa6e.tar.xz |
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/ipv4')
-rw-r--r-- | net/ipv4/nexthop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/nexthop.c b/net/ipv4/nexthop.c index fdfca534d094..9999687ad6dc 100644 --- a/net/ipv4/nexthop.c +++ b/net/ipv4/nexthop.c @@ -784,7 +784,7 @@ static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) list_for_each_entry_safe(f6i, tmp, &nh->f6i_list, nh_list) { /* __ip6_del_rt does a release, so do a hold here */ fib6_info_hold(f6i); - ipv6_stub->ip6_del_rt(net, f6i); + ipv6_stub->ip6_del_rt(net, f6i, false); } } |