[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190102.201732.1335421605479119477.davem@davemloft.net>
Date: Wed, 02 Jan 2019 20:17:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dsahern@...nel.org
Cc: post@...fj.de, netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net] ipv6: Consider sk_bound_dev_if when binding a
socket to an address
From: David Ahern <dsahern@...nel.org>
Date: Wed, 2 Jan 2019 18:57:09 -0800
> From: David Ahern <dsahern@...il.com>
>
> 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.
>
> Resolve by considering the device if sk_bound_dev_if is set.
>
> This problem exists from the beginning of git history.
>
> Signed-off-by: David Ahern <dsahern@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists