commit | 1ba9a8951794751ea3bcbcc5df700d42d525a130 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Apr 09 14:41:10 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 11 14:24:06 2019 -0700 |
tree | a98629571ecba7385d905a7bcbff29f4dc40ef4e | |
parent | 62720b12d20aecebc2e74642c37a3dc84717ac7a [diff] |
ipv6: Only call rt6_check_neigh for nexthop with gateway Change rt6_check_neigh to take a fib6_nh instead of a fib entry. Move the check on fib_flags and whether the nexthop has a gateway up to the one caller. Remove the inline from the definition as well. Not necessary. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>