From: David Miller <davem@davemloft.net>
To: gerrit@erg.abdn.ac.uk
Cc: netdev@vger.kernel.org, weid@np.css.fujitsu.com
Subject: Re: [NET]: Please revert disallowing zero listen queues
Date: Tue, 06 Mar 2007 10:37:06 -0800 (PST) [thread overview]
Message-ID: <20070306.103706.68156515.davem@davemloft.net> (raw)
In-Reply-To: <200703061332.09677@strip-the-willow>
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Date: Tue, 6 Mar 2007 13:32:09 +0000
> Please can you reconsider the patch regarding the accept_queue
>
> http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.22.git;a=commit;h=8488df894d05d6fa41c2bd298c335f944bb0e401
>
> It disallows to set a `backlog' argument to listen(2) of zero. Using
> a zero backlog is often done (e.g. ttcp), and disallowing a zero
> backlog will break many applications. I had to recode several applications
> which rely on this convention.
>
> The problem further spreads from TCP to DCCP (same behaviour).
>
> Below is a patch to revert this change.
Everything I've ever seen clearly states that a backlog of
zero means that zero connections are allowed.
So we're not "disallowing" a backlog argument of zero to
listen(). We'll accept that just fine, the only thing that
happens is that you'll get what you ask for, that being
no connections :-)
next prev parent reply other threads:[~2007-03-06 18:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 13:32 [NET]: Please revert disallowing zero listen queues Gerrit Renker
2007-03-06 18:37 ` David Miller [this message]
2007-03-06 18:45 ` David Miller
2007-03-06 18:54 ` Rick Jones
2007-03-06 19:11 ` David Miller
2007-03-09 19:14 ` Vlad Yasevich
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=20070306.103706.68156515.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gerrit@erg.abdn.ac.uk \
--cc=netdev@vger.kernel.org \
--cc=weid@np.css.fujitsu.com \
/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).