net/ipv6: Add fib lookup stubs for use in bpf helper
authorDavid Ahern <dsahern@gmail.com>
Thu, 10 May 2018 03:34:25 +0000 (20:34 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 10 May 2018 22:10:57 +0000 (00:10 +0200)
commit65a2022e89a4760f9702837e2d9d15a39a9c68a3
tree77f39bf2ce9601e25b18a29ef70f105d300fbe0f
parentd4bea421f7322400d804c2284739e42e61f78349
net/ipv6: Add fib lookup stubs for use in bpf helper

Add stubs to retrieve a handle to an IPv6 FIB table, fib6_get_table,
a stub to do a lookup in a specific table, fib6_table_lookup, and
a stub for a full route lookup.

The stubs are needed for core bpf code to handle the case when the
IPv6 module is not builtin.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/addrconf.h
net/ipv6/addrconf_core.c
net/ipv6/af_inet6.c