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-04-12 22:02:40 +02:00
2017-11-01 11:50:43 +09:00
2017-09-26 09:54:06 -07:00
2017-08-29 15:16:52 -07:00
2017-10-26 18:00:29 +09:00
2017-10-26 17:46:53 +09:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00