]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: move retrans_out, sacked_out, tlp_high_seq, last_oow_ack_time init to tcp_discon...
authorEric Dumazet <edumazet@google.com>
Thu, 17 Jan 2019 19:23:39 +0000 (11:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:19:05 +0000 (22:19 -0800)
commitceb49c0ba55589a1bf9fb1e6d08294ce6b714e50
tree79853fe73968b8f47942df6abdae610424f1e127
parent009a57de39b94f66d6bad81df8ae1d7ff15d4ced
tcp: move retrans_out, sacked_out, tlp_high_seq, last_oow_ack_time init to tcp_disconnect()

If we make sure all listeners have these fields cleared, then a clone
will also inherit zero values.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_minisocks.c