]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6042270acbf09ead516d665c0001a2deb3a5ea22
tree7912ec1db8d5ae98fd395ff20a24db7d7e55d499
parent1348f22f034337c1e7fd6705768434f592dab1d1
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