commit | 9fbb704c3385adf5f9adfce7fd3c0bf31aa4da6d | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Mar 13 08:29:36 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 16 11:28:38 2018 -0400 |
tree | 41951174608811699e9d05b3f3edf806f810fb70 | |
parent | 1ad2ff028f36c8cdbf149db740eb36aead7b375e [diff] |
net/ipv6: Refactor gateway validation on route add Move gateway validation code from ip6_route_info_create into ip6_validate_gw. Code move plus adjustments to handle the potential reset of dev and idev and to make checkpatch happy. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>