commit | b84235e291045799e100a40c485439182087bae9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jan 17 11:23:32 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 17 22:19:04 2019 -0800 |
tree | fbf8e315b059f4b71359971f48ae912d79539214 | |
parent | bec03debe2e5ebc1c8bb811852b6106ce2129d71 [diff] |
tcp: do not set snd_ssthresh in tcp_create_openreq_child() New sockets get the field set to TCP_INFINITE_SSTHRESH in tcp_init_sock() In case a socket had this field changed and transitions to TCP_LISTEN state, tcp_disconnect() also makes sure snd_ssthresh is set to TCP_INFINITE_SSTHRESH. So a listener has this field set to TCP_INFINITE_SSTHRESH already. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>