[PATCH net-next 2/3] net: vrf: ipv4 support for local traffic to local addresses

2016-06-06 Thread David Ahern
Add support for locally originated traffic to VRF-local addresses. If destination device for an skb is the loopback or VRF device then set its dst to a local version of the VRF cached dst_entry and call netif_rx to insert the packet onto the rx queue - similar to what is done for loopback. This pat

[PATCH net-next 2/3] net: vrf: ipv4 support for local traffic to local addresses

2016-06-02 Thread David Ahern
Add support for locally originated traffic to VRF-local addresses. If destination device for an skb is the loopback or VRF device then set its dst to a local version of the VRF cached dst_entry and call netif_rx to insert the packet onto the rx queue - similar to what is done for loopback. This pat