Closed koen0607 closed 3 years ago
proposed to init cwr_stamp with a value that is 10 seconds ago:
ca->cwr_stamp = tp->tcp_mstamp - 10000000; // init 10 seconds ago
It is 0-initialized (like the rest of the icsk_ca_priv storage) when the socket is initialized/assigned a congestion control: https://github.com/L4STeam/linux/blob/testing/net/ipv4/tcp_cong.c#L170
proposed to init cwr_stamp with a value that is 10 seconds ago: