Re: [PATCH] ipmr: vrf: Find VIFs using the actual device

2017-05-16 Thread David Miller
From: Thomas Winter Date: Tue, 16 May 2017 10:14:44 +1200 > The skb->dev that is passed into ip_mr_input is > the loX device for VRFs. When we lookup a vif > for this dev, none is found as we do not create > vifs for loopbacks. Instead lookup a vif for the >

Re: [PATCH] ipmr: vrf: Find VIFs using the actual device

2017-05-15 Thread David Ahern
On 5/15/17 3:14 PM, Thomas Winter wrote: > The skb->dev that is passed into ip_mr_input is > the loX device for VRFs. When we lookup a vif > for this dev, none is found as we do not create > vifs for loopbacks. Instead lookup a vif for the > actual device that the packet was received on, > eg the

[PATCH] ipmr: vrf: Find VIFs using the actual device

2017-05-15 Thread Thomas Winter
The skb->dev that is passed into ip_mr_input is the loX device for VRFs. When we lookup a vif for this dev, none is found as we do not create vifs for loopbacks. Instead lookup a vif for the actual device that the packet was received on, eg the vlan. Signed-off-by: Thomas Winter