On 7/9/15 9:28 PM, Sowmini Varadhan wrote:
On Fri, Jul 10, 2015 at 4:39 AM, David Ahern <d...@cumulusnetworks.com> wrote:

If I set the VRF context (ie., set the SO_BINDTODEVICE for all sockets) of
any RDS, NFS or any other socket app it runs in that VRF context and works
just fine

What if the application wants to do SO_BINDTODEVICE?


We have knowledge of both -- vrf master and vrf slave. Do the checks from local up ... is there a socket bound to slave device? If yes, match. If no, check for socket bound to master (VRF device). If yes, match. If no, check global (only works for connected sockets).

David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to