[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161107.131502.346849142364346073.davem@davemloft.net>
Date: Mon, 07 Nov 2016 13:15:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: Update raw socket bind to consider l3
domain
From: David Ahern <dsa@...ulusnetworks.com>
Date: Thu, 3 Nov 2016 09:25:00 -0700
> Binding a raw socket to a local address fails if the socket is bound
> to an L3 domain:
>
> $ vrf-test -s -l 10.100.1.2 -R -I red
> error binding socket: 99: Cannot assign requested address
>
> Update raw_bind to look consider if sk_bound_dev_if is bound to an L3
> domain and use inet_addr_type_table to lookup the address.
>
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
Applied.
Powered by blists - more mailing lists