Skip to content
Commit a28a656a authored by Sjors Hettinga's avatar Sjors Hettinga Committed by Carles Cufí
Browse files

net: tcp: Avoid double acknowlegding retransmitted data



In the FIN_WAIT_1 any incoming data is dropped, but anknowledged. Add a
check to see if the data is already acknowleged to prevent double
acknowledging of the data and bringing the acknowlegde counter out of
sync. When the acknowledge counter gets out of sync, the connection will
never properly terminate any more.

Signed-off-by: default avatarSjors Hettinga <s.a.hettinga@gmail.com>
parent fd9e7b4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment