[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <03031c84-baa0-fe99-b1d7-44963cad0001@codeweavers.com>
Date: Fri, 14 Oct 2022 12:20:37 -0500
From: Paul Gofman <pgofman@...eweavers.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Muhammad Usama Anjum <usama.anjum@...labora.com>,
"open list:NETWORKING [TCP]" <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
David Ahern <dsahern@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [RFC] EADDRINUSE from bind() on application restart after killing
On 10/14/22 11:45, Eric Dumazet wrote:
> On Fri, Oct 14, 2022 at 9:39 AM Paul Gofman <pgofman@...eweavers.com> wrote:
>
> I think it is documented.
>
> man 7 socket
>
> SO_REUSEADDR
> Indicates that the rules used in validating addresses
> supplied in a bind(2) call should allow reuse of local addresses. For
> AF_INET sockets this means
> that a socket may bind, except when there is an active
> listening socket bound to the address. When the listening socket is
> bound to INADDR_ANY with a
> specific port then it is not possible to bind to this
> port for any local address. Argument is an integer boolean flag.
>
> You seem to need another way, so you will have to ask this question in IETF.
Thanks a lot, I think it answers my question, I am afraid I was reading
this a bit wrong.
Powered by blists - more mailing lists