From: John Eckersberg <jeckersb@redhat.com>
To: netdev@vger.kernel.org
Subject: Per-connection tcp_retries2 and RFC 1122 compliance
Date: Mon, 02 Feb 2015 16:05:21 -0500 [thread overview]
Message-ID: <87a90w10tq.fsf@redhat.com> (raw)
Greetings,
RFC 1122, section 4.2.3.5 "TCP Connection Failures", states:
(d) An application MUST be able to set the value for R2 for
a particular connection. For example, an interactive
application might set R2 to "infinity," giving the user
control over when to disconnect.
The R2 value referenced above is implemented as the tcp_retries2 sysctl.
However it seems that the only way to tune that value is via the global
sysctl knob. In other words, there is no provided way to set it only
for a particular connection as RFC 1122 requires.
Could someone confirm that this is a legitimate bug/deficiency? Or am I
just missing something? If this is a real bug, I would be willing to
put a patch together to fix it although I will probably require some
handholding (this would be my first contribution to the kernel).
Thanks,
John
next reply other threads:[~2015-02-02 21:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 21:05 John Eckersberg [this message]
2015-02-03 14:50 ` Per-connection tcp_retries2 and RFC 1122 compliance Neal Cardwell
2015-02-03 18:11 ` John Eckersberg
2015-02-03 23:15 ` Willy Tarreau
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=87a90w10tq.fsf@redhat.com \
--to=jeckersb@redhat.com \
--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;
as well as URLs for NNTP newsgroup(s).