]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve the ECN negotiation when the TCP SYN-cache is used by making
authorMichael Tuexen <tuexen@FreeBSD.org>
Sat, 8 Aug 2020 19:39:38 +0000 (19:39 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sat, 8 Aug 2020 19:39:38 +0000 (19:39 +0000)
commit1bea15e601ad4fae5c2912758715fcaa08aa2404
treea209bc9faea9edea052f11a120e111b03f34a2b7
parentd7c8186d675306c61b2f42376ad0dcc6813312aa
Improve the ECN negotiation when the TCP SYN-cache is used by making
sure that
* ECN is disabled if the client sends an non-ECN-setup SYN segment.
* ECN is disabled is the ECN-setup SYN-ACK segment is retransmitted more
  than net.inet.tcp.ecn.maxretries times.

Reviewed by: rscheff
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D26008
sys/netinet/tcp_syncache.c