Skip to content
Commit 8ef44b6f authored by Wei Wang's avatar Wei Wang Committed by David S. Miller
Browse files

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: ac8f1710 ("tcp: reflect tos value received in SYN to the socket")
Reported-by: default avatarAlexander Duyck <alexanderduyck@fb.com>
Signed-off-by: default avatarWei Wang <weiwan@google.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a770bf51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment