diff options
author | David Ahern <dsahern@gmail.com> | 2019-04-23 18:05:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-23 21:53:11 -0700 |
commit | a65120bae4b7425a39c5783aa3d4fc29677eef0e (patch) | |
tree | 9314cbe3bc523ecae0c3ee46dfc244da8d7e972a /include/net/ip6_fib.h | |
parent | b2f97f7de2f6a4df8e431330cf467576486651c5 (diff) | |
download | linux-a65120bae4b7425a39c5783aa3d4fc29677eef0e.tar.bz2 |
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>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 5a4a67b38712..40105738e2f6 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -195,6 +195,7 @@ struct fib6_result { struct fib6_info *f6i; u32 fib6_flags; u8 fib6_type; + struct rt6_info *rt6; }; #define for_each_fib6_node_rt_rcu(fn) \ |