Lennart Schulte 6830c25b7d 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: Lennart Schulte <lennart.schulte@nets.rwth-aachen.de>
Signed-off-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-19 22:47:22 -07:00
..
2010-02-22 16:20:22 -08:00
2009-10-18 18:52:53 -07:00
2010-02-22 16:20:22 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2010-02-22 16:20:22 -08:00
2009-09-14 17:03:01 -07:00
2010-03-19 21:00:41 -07:00
2010-02-18 15:43:09 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2010-03-05 13:34:03 -08:00
2010-03-08 11:32:01 -08:00
2009-05-25 22:44:59 -07:00
2010-03-18 20:29:24 -07:00
2009-09-14 17:03:01 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00