From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Pierre Habouzit <pierre.habouzit@intersec.com>,
Wei Yongjun <yjwei@cn.fujitsu.com>,
"David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sctp: if backlog is 0, listening shall not be deactivated.
Date: Wed, 14 Jan 2009 08:36:32 -0500 [thread overview]
Message-ID: <496DEA60.2080700@hp.com> (raw)
In-Reply-To: <20090114132124.15b68481@lxorguk.ukuu.org.uk>
Alan Cox wrote:
>> However SCTP API explicitly states that when the backlog is 0, listening is
>> disabled. Here is an excerpt from the draft describing this:
>
> POSIX is an established standard, SCTP is a draft proposal. POSIX should
> win. The SCTP developers need to bring their draft API into alignment with
> POSIX.
>
> They need to fix their draft to use a sockopt or similar to
> enable/disable listening.
>
Here is what POSIX says:
A backlog argument of 0 may allow the socket to accept connections, in which
case the length of the listen queue may be set to an implementation-defined
minimum value.
SCTP API simply chooses to ignore the "may". It is still fully compliant
with POSIX in this regard.
-vlad
next prev parent reply other threads:[~2009-01-14 13:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 9:42 [PATCH] sctp: if backlog is 0, listening shall not be deactivated Pierre Habouzit
2009-01-14 13:17 ` Vlad Yasevich
2009-01-14 13:21 ` Alan Cox
2009-01-14 13:36 ` Vlad Yasevich [this message]
2009-01-14 15:21 ` Alan Cox
2009-01-14 15:53 ` Vlad Yasevich
2009-01-14 16:37 ` Alan Cox
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=496DEA60.2080700@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre.habouzit@intersec.com \
--cc=yjwei@cn.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