From: David Miller <davem@davemloft.net>
To: dada1@cosmosbay.com
Cc: netdev@vger.kernel.org
Subject: Re: [BUG] UDP : bind() checks are not complete
Date: Tue, 05 Jun 2007 13:37:17 -0700 (PDT) [thread overview]
Message-ID: <20070605.133717.08652520.davem@davemloft.net> (raw)
In-Reply-To: <4665C60C.1000406@cosmosbay.com>
From: Eric Dumazet <dada1@cosmosbay.com>
Date: Tue, 05 Jun 2007 22:22:36 +0200
> David Miller a écrit :
> > Does checking for INADDR_ANY sockets really require a full scan?
> > It should just need two hash probes as far as I can tell to see
> > if there is "0.0.0.0:PORT" bound already.
>
> Well, we might have 1000 ip addresses on the machine (or not :) ), and
>
> 192.168.0.1:PORT ... 192.168.0.254:PORT already bound.
That's pretty serious.
Sadly, I think we'll have to revert.
next prev parent reply other threads:[~2007-06-05 20:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-05 17:15 [BUG] UDP : bind() checks are not complete Eric Dumazet
2007-06-05 20:02 ` David Miller
2007-06-05 20:22 ` Eric Dumazet
2007-06-05 20:37 ` David Miller [this message]
2007-06-05 23:00 ` David Miller
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=20070605.133717.08652520.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dada1@cosmosbay.com \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).