ipv6: Handle all fib6_nh in a nexthop in fib6_drop_pcpu_from
authorDavid Ahern <dsahern@gmail.com>
Sat, 8 Jun 2019 21:53:23 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:44:56 +0000 (10:44 -0700)
commit2ab75bfb17e2cf3159033e91ebf2eb11efc1f0d3
tree0e51f9cffab9f1f2ecd11614000d8b761b254806
parentf88c9aa12fd0cff9cbb74b490350e6f0fac68296
ipv6: Handle all fib6_nh in a nexthop in fib6_drop_pcpu_from

Use nexthop_for_each_fib6_nh to walk all fib6_nh in a nexthop when
dropping 'from' reference in pcpu routes.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c