ipv6: Use result arg in fib_lookup_arg consistently
authorDavid Ahern <dsahern@gmail.com>
Wed, 24 Apr 2019 01:05:33 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 04:53:11 +0000 (21:53 -0700)
commita65120bae4b7425a39c5783aa3d4fc29677eef0e
tree9314cbe3bc523ecae0c3ee46dfc244da8d7e972a
parentb2f97f7de2f6a4df8e431330cf467576486651c5
ipv6: Use result arg in fib_lookup_arg consistently

arg.result is sometimes used as fib6_result and sometimes used to
hold the rt6_info. Add rt6_info to fib6_result and make the use
of arg.result consistent through ipv6 rules.

The rt6 entry is filled in for lookups returning a dst_entry, but not
for direct fib_lookups that just want a fib6_info.

Fixes: effda4dd97e8 ("ipv6: Pass fib6_result to fib lookups")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
net/ipv6/fib6_rules.c