linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Daniel Borkmann <daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH man] tcp.7: improve paragraphs on tcp_ecn and add tcp_ecn_fallback bullet
Date: Fri, 11 Sep 2015 11:16:34 +0200	[thread overview]
Message-ID: <55F29BF2.3000408@gmail.com> (raw)
In-Reply-To: <381a72e4388904195a6b4bae56e40fed965f9cd8.1440590425.git.daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org>

Hi Daniel,

On 08/26/2015 02:02 PM, Daniel Borkmann wrote:
> Improve description around tcp_ecn, fix the RFC number and it's not a
> boolean anymore since long time, and add a description for tcp_ecn_fallback.
> 
> See also kernel doc under Documentation/networking/ip-sysctl.txt on
> tcp_ecn and tcp_ecn_fallback.

Thanks for this.

> Signed-off-by: Daniel Borkmann <daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org>
> ---
>  man7/tcp.7 | 35 ++++++++++++++++++++++++++++++-----
>  1 file changed, 30 insertions(+), 5 deletions(-)
> 
> diff --git a/man7/tcp.7 b/man7/tcp.7
> index 2f290a2..0409a66 100644
> --- a/man7/tcp.7
> +++ b/man7/tcp.7
> @@ -396,12 +396,37 @@ option.
>  .\" Since 2.4.0-test7
>  Enable RFC\ 2883 TCP Duplicate SACK support.
>  .TP
> -.IR tcp_ecn " (Boolean; default: disabled; since Linux 2.4)"
> +.IR tcp_ecn " (Integer; default: 2; since Linux 2.4)"
>  .\" Since 2.4.0-test7
> -Enable RFC\ 2884 Explicit Congestion Notification.
> -When enabled, connectivity to some
> -destinations could be affected due to older, misbehaving
> -routers along the path causing connections to be dropped.
> +Enable RFC\ 3168 Explicit Congestion Notification.
> +
> +This file can have one of the following values:
> +.RS
> +.IP 0
> +Disable ECN.
> +Neither initiate nor accept ECN.
> +.IP 1
> +Enable ECN when requested by incoming connections and also
> +request ECN on outgoing connection attempts.
> +.IP 2
> +Enable ECN when requested by incoming connections,
> +but do not request ECN on outgoing connections.

I also added a note here that option 2 first appeared in Linux 2.6.31.

> +.RE

> +.IP
> +When enabled, connectivity to some destinations could be affected
> +due to older, misbehaving middle boxes along the path, causing
> +connections to be dropped.
> +However, to facilitate and encourage deployment with option 1, and
> +to work around such buggy equipment,
> +.B tcp_ecn_fallback
> +option has been introduced.
> +.TP
> +.IR tcp_ecn_fallback " (Boolean; default: enabled; since Linux 4.1)"
> +.\" commit 492135557dc090a1abb2cfbe1a412757e3ed68ab

(Thanks for including the commit ID.)

> +Enable RFC\ 3168, Section 6.1.1.1. fallback.
> +When enabled, outgoing ECN-setup SYNs that time out within the
> +normal SYN retransmission timeout will be resent with CWR and
> +ECE cleared.
>  .TP
>  .IR tcp_fack " (Boolean; default: enabled; since Linux 2.2)"
>  .\" Since 2.1.92

Thanks. Applied. Sorry for the delay.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-09-11  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 12:02 [PATCH man] tcp.7: improve paragraphs on tcp_ecn and add tcp_ecn_fallback bullet Daniel Borkmann
     [not found] ` <381a72e4388904195a6b4bae56e40fed965f9cd8.1440590425.git.daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org>
2015-09-11  9:16   ` Michael Kerrisk (man-pages) [this message]
     [not found]     ` <55F29BF2.3000408-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-11  9:18       ` Daniel Borkmann

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=55F29BF2.3000408@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=daniel-FeC+5ew28dpmcu3hnIyYJQ@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).