diff options
author | David Ahern <dsahern@gmail.com> | 2018-01-26 03:55:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-26 18:16:43 +0300 |
commit | fc1e64e1092f62290d59151d16f9de0210e303c8 (patch) | |
tree | 93f66e07468c2458e7c0316873f0ff6e96f84502 /net/ipv6/ipcomp6.c | |
parent | f4797b33db813a394c4d4d2bc2fa38087fbe5545 (diff) | |
download | linux-fc1e64e1092f62290d59151d16f9de0210e303c8.tar.xz |
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>
Diffstat (limited to 'net/ipv6/ipcomp6.c')
0 files changed, 0 insertions, 0 deletions