Skip to content

Commit 3d55b32

Browse files
subravdavem330
authored andcommitted
doc: Clarify behavior when sysctl tcp_ecn = 1
Recent commit (commit 7e3a2dc doc: make the description of how tcp_ecn works more explicit and clear ) clarified the behavior of tcp_ecn sysctl variable but description is inconsistent. When requested by incoming conections, ECN is enabled with not just tcp_ecn = 2 but also with tcp_ecn = 1. This patch makes it clear that with tcp_ecn = 1, ECN is enabled when requested by incoming connections. Also fix spelling of 'incoming'. Signed-off-by: Vijay Subramanian <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2382685 commit 3d55b32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ tcp_ecn - INTEGER
214214
congestion before having to drop packets.
215215
Possible values are:
216216
0 Disable ECN. Neither initiate nor accept ECN.
217-
1 Always request ECN on outgoing connection attempts.
218-
2 Enable ECN when requested by incomming connections
217+
1 Enable ECN when requested by incoming connections and
218+
also request ECN on outgoing connection attempts.
219+
2 Enable ECN when requested by incoming connections
219220
but do not request ECN on outgoing connections.
220221
Default: 2
221222

0 commit comments

Comments
 (0)