]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit184510a69c68c6efb4e8fef56feffcf70f92c73e
tree0e51f9cffab9f1f2ecd11614000d8b761b254806
parentad1bf8a5a92a246f7376cef8484273eea4aa6a3d
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