All of lore.kernel.org
 help / color / mirror / Atom feed
* Per-connection tcp_retries2 and RFC 1122 compliance
@ 2015-02-02 21:05 John Eckersberg
  2015-02-03 14:50 ` Neal Cardwell
  0 siblings, 1 reply; 4+ messages in thread
From: John Eckersberg @ 2015-02-02 21:05 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-03 23:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02 21:05 Per-connection tcp_retries2 and RFC 1122 compliance John Eckersberg
2015-02-03 14:50 ` Neal Cardwell
2015-02-03 18:11   ` John Eckersberg
2015-02-03 23:15     ` Willy Tarreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.