public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Josh Triplett <josh@joshtriplett.org>
Cc: linux-man@vger.kernel.org
Subject: Re: TCP_DEFER_ACCEPT documentation should be more precise about rounding to retransmits
Date: Wed, 15 Apr 2026 23:19:04 +0200	[thread overview]
Message-ID: <aeAAXdBe1f2THR2N@devuan> (raw)
In-Reply-To: <ad50CQgF_gNtB1Kr@localhost>

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

Hi Josh,

On 2026-04-14T10:06:17-0700, Josh Triplett wrote:
> `tcp(7)` says:
> > Takes an integer value (seconds), this can bound the maximum number of attempts TCP will make to complete the connection.
> 
> However, it doesn't say *how* it bounds the attempts. From the kernel
> code, it appears to round up to the first retransmit time that's larger
> than the specified bound. Could the manpage please document this?

Would you mind sending a patch?  (And if appropriate, CC someone.)


Have a lovely night!
Alex

> 
> (Discovered when adding Rust bindings to this, and trying to figure out
> and document the rounding behavior.)
> 
> - Josh Triplett
> 

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

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

  reply	other threads:[~2026-04-15 21:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14 17:06 TCP_DEFER_ACCEPT documentation should be more precise about rounding to retransmits Josh Triplett
2026-04-15 21:19 ` Alejandro Colomar [this message]
2026-04-16 21:57   ` [PATCH] Document TCP_DEFER_ACCEPT rounding Josh Triplett

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=aeAAXdBe1f2THR2N@devuan \
    --to=alx@kernel.org \
    --cc=josh@joshtriplett.org \
    --cc=linux-man@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