]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66856099fa80feb5dfc7ea11d6cadcb772f7d8fa
tree854da5a78a9e49484e955c17c2c771144d990fd6
parent8fc462412ad6f4ef3662a8256ce5b33fe2339260
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