Re: [PATCH 09/10] net: Use VRF device index for socket lookups

2015-08-05 Thread David Ahern
Hi Tom: On 8/5/15 12:32 PM, Tom Herbert wrote: On Wed, Aug 5, 2015 at 10:14 AM, David Ahern wrote: >The intent of the VRF device is to leverage the existing SO_BINDTODEVICE >as a means of creating L3 domains. Since sockets are expected to be bound >to the VRF device the index of the master dev

Re: [PATCH 09/10] net: Use VRF device index for socket lookups

2015-08-05 Thread Tom Herbert
On Wed, Aug 5, 2015 at 10:14 AM, David Ahern wrote: > The intent of the VRF device is to leverage the existing SO_BINDTODEVICE > as a means of creating L3 domains. Since sockets are expected to be bound > to the VRF device the index of the master device needs to be used for > socket lookups. > Thi

[PATCH 09/10] net: Use VRF device index for socket lookups

2015-08-05 Thread David Ahern
The intent of the VRF device is to leverage the existing SO_BINDTODEVICE as a means of creating L3 domains. Since sockets are expected to be bound to the VRF device the index of the master device needs to be used for socket lookups. Signed-off-by: Shrijeet Mukherjee Signed-off-by: David Ahern --