ipv6: Pass fib6_result to ip6_mtu_from_fib6 and fib6_mtu
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:06 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:10:46 +0000 (23:10 -0700)
commitb748f26092626332f73e71d75e4390de6b8bdf9b
tree854da5a78a9e49484e955c17c2c771144d990fd6
parent5012f0a5944c9181fb4175561b7679a251eaf05a
ipv6: Pass fib6_result to ip6_mtu_from_fib6 and fib6_mtu

Change ip6_mtu_from_fib6 and fib6_mtu to take a fib6_result over a
fib6_info. Update both to use the fib6_nh from fib6_result.

Since the signature of ip6_mtu_from_fib6 is already changing, add const
to daddr and saddr.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
include/net/ipv6_stubs.h
net/core/filter.c
net/ipv6/addrconf_core.c
net/ipv6/route.c