diff options
author | David Ahern <dsahern@gmail.com> | 2017-10-30 20:07:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 06:35:17 +0300 |
commit | 3051fbec206eb6967b7fdecedb63ebb1ed67a1a7 (patch) | |
tree | a84c4262e106f4565587d3853a74432983a966b4 /net/ipv6/exthdrs_offload.c | |
parent | 8caae31a8c2759fcdca7edc2bd41bba8d230a5cc (diff) | |
download | linux-3051fbec206eb6967b7fdecedb63ebb1ed67a1a7.tar.xz |
net: sit: Update lookup to handle links set to L3 slave
Using SIT tunnels with VRFs works fine if the underlay device is in a
VRF and the link parameter is set to the VRF device. e.g.,
ip tunnel add jtun mode sit remote <addr> local <addr> dev myvrf
Update the device check to allow the link to be the enslaved device as
well. e.g.,
ip tunnel add jtun mode sit remote <addr> local <addr> dev eth4
where eth4 is enslaved to myvrf.
Reported-by: Jeff Barnhill <0xeffeff@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs_offload.c')
0 files changed, 0 insertions, 0 deletions