commit | 8ef44b6fe49d2b8d03ba9aa69063612b474f963b | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwan@google.com> | Tue Dec 08 09:55:08 2020 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 09 16:08:23 2020 -0800 |
tree | 74f6edf6c6e959406b20c0abbc457929040e6431 | |
parent | a770bf515613c6e12ae904c3593e26016de99448 [diff] |
tcp: Retain ECT bits for tos reflection For DCTCP, we have to retain the ECT bits set by the congestion control algorithm on the socket when reflecting syn TOS in syn-ack, in order to make ECN work properly. Fixes: ac8f1710c12b ("tcp: reflect tos value received in SYN to the socket") Reported-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: Wei Wang <weiwan@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>