commit | f8a1b43b709d8ef33a8de2f8f35095b4a4413713 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Apr 17 17:33:21 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 17 23:41:17 2018 -0400 |
tree | 33d38a0628d1bf2925fe1b35620e9232236ab1a9 | |
parent | 3b6761d18bc11f2af2a6fc494e9026d39593f22c [diff] |
net/ipv6: Create a neigh_lookup for FIB entries The router discovery code has a FIB entry and wants to validate the gateway has a neighbor entry. Refactor the existing dst_neigh_lookup for IPv6 and create a new function that takes the gateway and device and returns a neighbor entry. Use the new function in ndisc_router_discovery to validate the gateway. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>