diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-10-08 02:37:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:48 -0400 |
commit | de83c058af25aa97ed4864abab11e90e8dead6e2 (patch) | |
tree | 2d6d87266a240b049052efa1ae75d4d8aee4f9a6 /net | |
parent | c79e3357166a2ca39fd7613b0eb7f493c1ac5e11 (diff) |
[TCP]: "Annotate" another fackets_out state reset
This should no longer be necessary because fackets_out is
accurate. It indicates bugs elsewhere, thus report it.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 7c1a92ffa083..4268cd13ff9a 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -1160,7 +1160,8 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_ | |||
1160 | int first_sack_index; | 1160 | int first_sack_index; |
1161 | 1161 | ||
1162 | if (!tp->sacked_out) { | 1162 | if (!tp->sacked_out) { |
1163 | tp->fackets_out = 0; | 1163 | if (WARN_ON(tp->fackets_out)) |
1164 | tp->fackets_out = 0; | ||
1164 | tp->highest_sack = tp->snd_una; | 1165 | tp->highest_sack = tp->snd_una; |
1165 | } | 1166 | } |
1166 | prior_fackets = tp->fackets_out; | 1167 | prior_fackets = tp->fackets_out; |