ipv6: Pass fib6_nh and flags to rt6_score_route
authorDavid Ahern <dsahern@gmail.com>
Tue, 9 Apr 2019 21:41:13 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 21:24:06 +0000 (14:24 -0700)
commit702cea56852c6e57e997890ae8202e5385c63691
tree33f86c09bc15ef005b39083db07d0717bccda025
parentcc3a86c802f0ba9a2627aef256d95ae3b3fa6e91
ipv6: Pass fib6_nh and flags to rt6_score_route

rt6_score_route only needs the fib6_flags and nexthop data. Change
it accordingly. Allows re-use later for nexthop based fib6_nh.

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