Re: [PATCH net] ipv6: Consider sk_bound_dev_if when binding a socket to an address

2019-01-03 Thread Ralf Jung
Hi all, thanks a lot! I can confirm that this fixes my test script. Kind regards, Ralf On 03.01.19 03:57, David Ahern wrote: > From: David Ahern > > IPv6 does not consider if the socket is bound to a device when binding > to an address. The result is that a socket can be bound to eth0 and the

Re: [PATCH net] ipv6: Consider sk_bound_dev_if when binding a socket to an address

2019-01-02 Thread David Miller
From: David Ahern Date: Wed, 2 Jan 2019 18:57:09 -0800 > From: David Ahern > > IPv6 does not consider if the socket is bound to a device when binding > to an address. The result is that a socket can be bound to eth0 and then > bound to the address of eth1. If the device is a VRF, the result is

[PATCH net] ipv6: Consider sk_bound_dev_if when binding a socket to an address

2019-01-02 Thread David Ahern
From: David Ahern IPv6 does not consider if the socket is bound to a device when binding to an address. The result is that a socket can be bound to eth0 and then bound to the address of eth1. If the device is a VRF, the result is that a socket can only be bound to an address in the default VRF.