commit | fc1e64e1092f62290d59151d16f9de0210e303c8 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Jan 25 16:55:09 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 26 10:16:43 2018 -0500 |
tree | 93f66e07468c2458e7c0316873f0ff6e96f84502 | |
parent | f4797b33db813a394c4d4d2bc2fa38087fbe5545 [diff] |
net/ipv6: Add support for onlink flag Similar to IPv4 allow routes to be added with the RTNH_F_ONLINK flag. The onlink option requires a gateway and a nexthop device. Any unicast gateway is allowed (including IPv4 mapped addresses and unresolved ones) as long as the gateway is not a local address and if it resolves it must match the given device. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>