public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: linux-man@vger.kernel.org
Subject: TCP_DEFER_ACCEPT documentation should be more precise about rounding to retransmits
Date: Tue, 14 Apr 2026 10:06:17 -0700	[thread overview]
Message-ID: <ad50CQgF_gNtB1Kr@localhost> (raw)

`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?

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

- Josh Triplett

             reply	other threads:[~2026-04-14 17:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14 17:06 Josh Triplett [this message]
2026-04-15 21:19 ` TCP_DEFER_ACCEPT documentation should be more precise about rounding to retransmits Alejandro Colomar
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=ad50CQgF_gNtB1Kr@localhost \
    --to=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