Re: [PATCH v2] net: VRF: Pass original iif to ip_route_input()

2016-09-16 Thread David Miller
From: Mark Tomlinson Date: Thu, 15 Sep 2016 11:40:05 +1200 > The function ip_rcv_finish() calls l3mdev_ip_rcv(). On any VRF except > the global VRF, this replaces skb->dev with the VRF master interface. > When calling ip_route_input_noref() from here, the checks for forwarding > look at this mast

[PATCH v2] net: VRF: Pass original iif to ip_route_input()

2016-09-14 Thread Mark Tomlinson
The function ip_rcv_finish() calls l3mdev_ip_rcv(). On any VRF except the global VRF, this replaces skb->dev with the VRF master interface. When calling ip_route_input_noref() from here, the checks for forwarding look at this master device instead of the initial ingress interface. This will allow p