All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: shemminger@linux-foundation.org, netdev@vger.kernel.org,
	meissner@suse.de, r_meier@freenet.de
Subject: Re: [Bug 42012] New: regression on 2.6.39.3 with socket/bind; still there in 3.0.4
Date: Tue, 30 Aug 2011 18:57:20 -0400 (EDT)	[thread overview]
Message-ID: <20110830.185720.533323490019157619.davem@davemloft.net> (raw)
In-Reply-To: <1314735562.2556.20.camel@edumazet-laptop>

From: Eric Dumazet <eric.dumazet@gmail.com>
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 <eric.dumazet@gmail.com>
> Reported-and-bisected-by: Rene Meier <r_meier@freenet.de>
> CC: Marcus Meissner <meissner@suse.de>

Applied, thanks everyone.

      reply	other threads:[~2011-08-30 23:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 15:47 Fw: [Bug 42012] New: regression on 2.6.39.3 with socket/bind; still there in 3.0.4 Stephen Hemminger
2011-08-30 16:11 ` Eric Dumazet
2011-08-30 18:07   ` David Miller
2011-08-30 19:16     ` Eric Dumazet
2011-08-30 19:44       ` Eric Dumazet
2011-08-30 19:52         ` David Miller
2011-08-30 20:00           ` Eric Dumazet
2011-08-30 20:19             ` Eric Dumazet
2011-08-30 22:57               ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110830.185720.533323490019157619.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=meissner@suse.de \
    --cc=netdev@vger.kernel.org \
    --cc=r_meier@freenet.de \
    --cc=shemminger@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.