diff options
author | David Ahern <dsahern@gmail.com> | 2019-04-09 14:41:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-11 14:24:06 -0700 |
commit | af52a52cbabd8751154483dc8e6685a28746970f (patch) | |
tree | dd7bfb604d96ef13f43e6aeb480c320600452503 /net/ipv6/tcp_ipv6.c | |
parent | 30c15f033847c519bae4a3dc23320e1fbee868eb (diff) | |
download | linux-af52a52cbabd8751154483dc8e6685a28746970f.tar.gz linux-af52a52cbabd8751154483dc8e6685a28746970f.tar.bz2 linux-af52a52cbabd8751154483dc8e6685a28746970f.zip |
ipv6: Be smarter with null_entry handling in ip6_pol_route_lookup
Clean up the fib6_null_entry handling in ip6_pol_route_lookup.
rt6_device_match can return fib6_null_entry, but fib6_multipath_select
can not. Consolidate the fib6_null_entry handling and on the final
null_entry check set rt and goto out - no need to defer to a second
check after rt6_find_cached_rt.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions