public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Ran Benita <ran@unusedvar.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v2] man/man7/tcp.7: Document effect of TCP_DEFER_ACCEPT on client socket
Date: Mon, 16 Mar 2026 01:10:00 +0100	[thread overview]
Message-ID: <abdKRDr5sWcWKT14@devuan> (raw)
In-Reply-To: <777621b7-d204-4476-bf98-23a703250db2@app.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

Hi Ran,

On 2026-03-13T11:26:12+0200, Ran Benita wrote:
> TCP_DEFER_ACCEPT has an interesting little-known effect on client
> sockets. I don't think it's very useful but should still be documented.
> 
> See here for reference:
> <https://elixir.bootlin.com/linux/v6.19.6/source/net/ipv4/tcp_input.c#L6781-L6796>
> 
> Signed-off-by: Ran Benita <ran@unusedvar.com>

Thanks!  I've applied the patch.


Have a lovely night!
Alex

> ---
> Thanks for taking a look. I fixed the following:
> - Change non-zero -> nonzero
> - Use semantic newlines
> 
>  man/man7/tcp.7 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man/man7/tcp.7 b/man/man7/tcp.7
> index adfd6623e..80b91ffda 100644
> --- a/man/man7/tcp.7
> +++ b/man/man7/tcp.7
> @@ -1091,6 +1091,12 @@ Allow a listener to be awakened only when data arrives on the socket.
>  Takes an integer value (seconds), this can
>  bound the maximum number of attempts TCP will make to
>  complete the connection.
> +.IP
> +On a client socket, if nonzero,
> +delays sending the final ACK of the three-way handshake until the socket has data to send,
> +in which case the ACK is piggybacked on the first data segment,
> +or a delayed-ACK timeout is reached.
> +.IP
>  This option should not be used in code intended to be portable.
>  .TP
>  .BR TCP_INFO " (since Linux 2.4)"
> -- 
> 2.53.0
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-03-16  0:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 22:25 man/man7/tcp.7: Document effect of TCP_DEFER_ACCEPT on clientsocket Ran Benita
2026-03-12 23:38 ` Alejandro Colomar
2026-03-13  9:26 ` [PATCH v2] man/man7/tcp.7: Document effect of TCP_DEFER_ACCEPT on client socket Ran Benita
2026-03-16  0:10   ` Alejandro Colomar [this message]

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=abdKRDr5sWcWKT14@devuan \
    --to=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=ran@unusedvar.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