Re: [PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-13 Thread kbuild test robot
Hi David, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v5.0-rc1 next-20190111] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dav

Re: [PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-10 Thread David Herrmann
Hi On Thu, Jan 10, 2019 at 5:38 PM David Ahern wrote: > > On 1/10/19 7:25 AM, David Herrmann wrote: > > This introduces a new generic SOL_SOCKET-level socket option called > > SO_BINDTOIF. It behaves similar to SO_BINDTODEVICE, but takes a network > > interface index as argument, rather than the

Re: [PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-10 Thread Roopa Prabhu
On Thu, Jan 10, 2019 at 8:38 AM David Ahern wrote: > > On 1/10/19 7:25 AM, David Herrmann wrote: > > This introduces a new generic SOL_SOCKET-level socket option called > > SO_BINDTOIF. It behaves similar to SO_BINDTODEVICE, but takes a network > > interface index as argument, rather than the netw

Re: [PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-10 Thread David Ahern
On 1/10/19 7:25 AM, David Herrmann wrote: > This introduces a new generic SOL_SOCKET-level socket option called > SO_BINDTOIF. It behaves similar to SO_BINDTODEVICE, but takes a network > interface index as argument, rather than the network interface name. SO_BINDTOIF is not very descriptive relat

Re: [PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-10 Thread Tom Gundersen
On Thu, Jan 10, 2019 at 3:25 PM David Herrmann wrote: > > This introduces a new generic SOL_SOCKET-level socket option called > SO_BINDTOIF. It behaves similar to SO_BINDTODEVICE, but takes a network > interface index as argument, rather than the network interface name. > > User-space often refers

[PATCH 1/3] net: introduce SO_BINDTOIF sockopt

2019-01-10 Thread David Herrmann
This introduces a new generic SOL_SOCKET-level socket option called SO_BINDTOIF. It behaves similar to SO_BINDTODEVICE, but takes a network interface index as argument, rather than the network interface name. User-space often refers to network-interfaces via their index, but has to temporarily res