Skip to content
Commit 6830c25b authored by Lennart Schulte's avatar Lennart Schulte Committed by David S. Miller
Browse files

tcp: Fix tcp_mark_head_lost() with packets == 0



A packet is marked as lost in case packets == 0, although nothing should be done.
This results in a too early retransmitted packet during recovery in some cases.
This small patch fixes this issue by returning immediately.

Signed-off-by: default avatarLennart Schulte <lennart.schulte@nets.rwth-aachen.de>
Signed-off-by: default avatarArnd Hannemann <hannemann@nets.rwth-aachen.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a50436f2
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