Skip to content
Commit 8da4e542 authored by Eric Dumazet's avatar Eric Dumazet Committed by Ben Hutchings
Browse files

tcp: clear tp->total_retrans in tcp_disconnect()

commit c13c48c0 upstream.

total_retrans needs to be cleared in tcp_disconnect().

tcp_disconnect() is rarely used, but it is worth fixing it.

Fixes: 1da177e4

 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Cc: SeongJae Park <sjpark@amazon.de>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent bb0e937f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment