netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [QUESTION] AF_UNIX connect behavior when listener backlog=0
@ 2018-10-23 16:31 Vito Caputo
  0 siblings, 0 replies; only message in thread
From: Vito Caputo @ 2018-10-23 16:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-23 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 16:31 [QUESTION] AF_UNIX connect behavior when listener backlog=0 Vito Caputo

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).