OSDN Git Service

ipv4: Add fib_check_nh_v6_gw
authorDavid Ahern <dsahern@gmail.com>
Fri, 5 Apr 2019 23:30:32 +0000 (16:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 22:22:41 +0000 (15:22 -0700)
commit717a8f5b2923c44da9157e145c294c4343a5f6de
tree5bafa5a9c87bbc9644abd70ce53c055bebdf79a7
parent448d7248191706cbbd7761e3bc72c2985c4d38a7
ipv4: Add fib_check_nh_v6_gw

Add helper to use fib6_nh_init to validate a nexthop spec with an IPv6
gateway.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c