[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090114152133.675da27b@lxorguk.ukuu.org.uk>
Date: Wed, 14 Jan 2009 15:21:33 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Vlad Yasevich <vladislav.yasevich@...com>
Cc: Pierre Habouzit <pierre.habouzit@...ersec.com>,
Wei Yongjun <yjwei@...fujitsu.com>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sctp: if backlog is 0, listening shall not be
deactivated.
> SCTP API simply chooses to ignore the "may". It is still fully compliant
> with POSIX in this regard.
Linux chooses the interpretation that zero means one connection. Having a
single protocol variant do different things is not nice because a lot
of code is designed to handle multiple address families and expect the
same non address handling behaviour.
So while it may be able to claim posix compliance, its not Linux
behaviour, and its relying on a specific interpretation of posix not
being used by the OS.
At the very least the current behaviour of the SCTP code is plain rude.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists