commit | 6ac705b1805863b1899e85f641bb265f9e6e9d99 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 25 07:39:18 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 25 13:00:38 2015 -0700 |
tree | 154c40ca207c6556ad154aeb77f8ab74ae21ac4c | |
parent | 37bfbdda0b036a3720924e04c0171d9038159c2c [diff] |
tcp: remove tcp_ecn_make_synack() socket argument SYNACK packets might be sent without holding socket lock. For DCTCP/ECN sake, we should call INET_ECN_xmit() while socket lock is owned, and only when we init/change congestion control. This also fixies a bug if congestion module is changed from dctcp to another one on a listener : we now clear ECN bits properly. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>