net/ipv6: Add helper to return path MTU based on fib result
authorDavid Ahern <dsahern@gmail.com>
Mon, 21 May 2018 16:08:14 +0000 (09:08 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 22 May 2018 08:51:09 +0000 (10:51 +0200)
commit901731b882d77dc53897aec45015ced42d56fe4c
tree07c27d09002feed8c9429759dc8a1bd844c09e27
parent50d889b1789458d1f7d7f40ff4f628b670047773
net/ipv6: Add helper to return path MTU based on fib result

Determine path MTU from a FIB lookup result. Logic is based on
ip6_dst_mtu_forward plus lookup of nexthop exception.

Add ip6_dst_mtu_forward to ipv6_stubs to handle access by core
bpf code.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/addrconf.h
include/net/ip6_fib.h
include/net/ip6_route.h
net/ipv6/addrconf_core.c
net/ipv6/af_inet6.c
net/ipv6/route.c