ipv6: Add neighbor helpers that use the ipv6 stub
authorDavid Ahern <dsahern@gmail.com>
Fri, 5 Apr 2019 23:30:25 +0000 (16:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 22:22:40 +0000 (15:22 -0700)
commit71df5777aaaeff673c242a49b945b1b96fe81718
tree8dfc5456759a66b4760b03143c985b4c983df0d4
parent1aefd3de7bc667115bb77cb0bc21e874c7e190fc
ipv6: Add neighbor helpers that use the ipv6 stub

Add ipv6 helpers to handle ndisc references via the stub. Update
bpf_ipv6_fib_lookup to use __ipv6_neigh_lookup_noref_stub instead of
the open code ___neigh_lookup_noref with the stub.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
net/core/filter.c