]> 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)
commitce8707d62eb61c650c3cbc0e04fb4a9c1eb796fb
tree854da5a78a9e49484e955c17c2c771144d990fd6
parente24573bcaa47546127aa7e9fff17d7a3860e2d24
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