Merge branch 'l3mdev_saddr_op'
authorDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:27:51 +0000 (04:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:27:51 +0000 (04:27 -0700)
commit390a4bee5c2ade628565dd21fb5d8656a58f7804
tree237b14ce30a495aa106b8e4710202f058dcd2834
parent4148987a5111b0c8062bd78f39a67c361f621a39
parentbb191c3e874650ae8f701885f3dd5f8ea8989b19
Merge branch 'l3mdev_saddr_op'

David Ahern says:

====================
net: Add saddr op to l3mdev and vrf

First 2 patches are re-sends of patches that got lost in the ethosphere
Tuesday; they were part of the first round of l3mdev conversions.
Next 3 handle the source address lookup for raw and datagram sockets
bound to a VRF device.

The conversion to the get_saddr op also fixes locally originated TCP
packets showing up at the VRF device. The use of the FLOWI_FLAG_L3MDEV_SRC
flag in ip_route_connect_init was causing locally generated packets
to skip the VRF device.

v2
- rebased to top of net-next per device delete fix and hash based
  multipath patches
====================

Signed-off-by: David S. Miller <davem@davemloft.net>