diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2020-04-27 22:56:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-28 21:50:37 +0200 |
commit | 11dd74b338bf83f8bca70b57bad33a903fedfa6e (patch) | |
tree | 1310ba1a401876dfccf27f098d70ae1db779078c /net/ipv4/nexthop.c | |
parent | net: ethernet: ti: fix return value check in k3_cppi_desc_pool_create_name() (diff) | |
download | linux-11dd74b338bf83f8bca70b57bad33a903fedfa6e.tar.xz linux-11dd74b338bf83f8bca70b57bad33a903fedfa6e.zip |
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/nexthop.c')
-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); } } |