Thread (9 messages) 9 messages, 3 authors, 2011-08-30

Re: [Bug 42012] New: regression on 2.6.39.3 with socket/bind; still there in 3.0.4

From: David Miller <davem@davemloft.net>
Date: 2011-08-30 23:00:07

From: Eric Dumazet <redacted>
Date: Tue, 30 Aug 2011 22:19:22 +0200
[PATCH] net: ipv4: relax AF_INET check in bind()

commit d0733d2e29b65 (Check for mistakenly passed in non-IPv4 address)
added regression on legacy apps that use bind() with AF_UNSPEC family.

Relax the check, but make sure the bind() is done on INADDR_ANY
addresses, as AF_UNSPEC has probably no sane meaning for other
addresses.

Bugzilla reference : https://bugzilla.kernel.org/show_bug.cgi?id=42012

Signed-off-by: Eric Dumazet <redacted>
Reported-and-bisected-by: Rene Meier [off-list ref]
CC: Marcus Meissner <redacted>
Applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help