David Ahern 3051fbec20 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>
2017-11-01 12:35:17 +09:00
..
2017-10-18 14:13:08 +01:00
2017-05-21 13:42:36 -04:00
2017-11-01 11:50:43 +09:00
2016-12-25 17:21:23 +01:00
2017-06-12 09:53:14 -04:00
2017-10-18 14:13:08 +01:00
2017-09-01 18:35:23 -07:00
2015-11-03 10:52:13 -05:00