OSDN Git Service

ipv6: Flip to fib_nexthop_info
authorDavid Ahern <dsahern@gmail.com>
Tue, 2 Apr 2019 21:11:58 +0000 (14:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Apr 2019 04:50:20 +0000 (21:50 -0700)
commitc0a720770c01e67374b15f348f17a52409f6545c
tree8443d516118be1f5b675e0f21ff8ec648a9cbcb8
parentc236419981224d37a5d0a6e7781f73479d4a030e
ipv6: Flip to fib_nexthop_info

Export fib_nexthop_info and fib_add_nexthop for use by IPv6 code.
Remove rt6_nexthop_info and rt6_add_nexthop in favor of the IPv4
versions. Update fib_nexthop_info for IPv6 linkdown check and
RTA_GATEWAY for AF_INET6.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_semantics.c
net/ipv6/route.c