commit | 1edce99fa8d6119d89b3b6e92b6cfa56889b4f3d | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Jan 25 16:55:07 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 26 10:16:42 2018 -0500 |
tree | 30b5af7a5b811f56fde3642c4711539cf48be364 | |
parent | 9515a2e082f91457db0ecff4b65371d0fb5d9aad [diff] |
net/ipv6: Move gateway validation into helper Move existing code to validate nexthop into a helper. Follow on patch adds support for nexthops marked with onlink, and this helper keeps the complexity of ip6_route_info_create in check. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>