commit | eb2c80ca87b10814e3067db9c0215701a99dc84f | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jan 17 11:23:34 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 17 22:19:04 2019 -0800 |
tree | 515fde4e49c918e2c44714e0e77507b1eb34100f | |
parent | 6a408147eac4a7e51ead1bcf939a71b64c2daadf [diff] |
tcp: do not clear packets_out in tcp_create_openreq_child() New sockets have this field cleared, and tcp_disconnect() calls tcp_write_queue_purge() which among other things also clear tp->packets_out So a listener is guaranteed to have this field cleared. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>