[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141211.152518.1988079810884987306.davem@davemloft.net>
Date: Thu, 11 Dec 2014 15:25:18 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: psusi@...ntu.com
Cc: netdev@...r.kernel.org
Subject: Re: bind() should not return -EADDRINUSE
From: Phillip Susi <psusi@...ntu.com>
Date: Thu, 11 Dec 2014 15:23:45 -0500
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/11/2014 3:18 PM, David Miller wrote:
>> From: Phillip Susi <psusi@...ntu.com> Date: Thu, 11 Dec 2014
>> 15:17:12 -0500
>>
>>> Says who?
>>
>> Says multiple decades of precendence.
>
> "It has always been broken, so it should stay broken" isn't a very
> compelling argument.
>
> Would it cause programs to break if they get the error at listen()
> time instead of bind() time ( as the man page indicates it can )? I
> think not.
You will definitely break programs that look for a locally available
port by iterating over bind() calls.
Sorry, this is not changing, no matter how strongly you may wish it
to.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists