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

Use nexthop_for_each_fib6_nh and fib6_nh_find_match to find the
fib6_nh in a nexthop that correlates to the device and gateway
in the rt6_info.

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