From: Vito Caputo <vcaputo@pengaru.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: netdev@vger.kernel.org
Subject: [QUESTION] AF_UNIX connect behavior when listener backlog=0
Date: Tue, 23 Oct 2018 09:31:41 -0700 [thread overview]
Message-ID: <20181023163141.a6nn5pua4o4zndde@shells.gnugeneration.com> (raw)
The current implementation of AF_UNIX sockets immediately establishes a
new connection even when the backlog on the listener is zero.
Wouldn't it make more sense for connects to become synchronous with
accept when the listener is configured with a backlog of zero?
That way connects can be reliably refused from the listener side via
e.g. closing the listener instead of accepting the connect.
I'm not subscribed to netdev, so please take care to include me in any
replies on that list.
Regards,
Vito Caputo
reply other threads:[~2018-10-23 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20181023163141.a6nn5pua4o4zndde@shells.gnugeneration.com \
--to=vcaputo@pengaru.com \
--cc=linux-kernel@vger.kernel.org \
--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