mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
[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>
This commit is contained in:
parent
c79e335716
commit
de83c058af
@ -1160,7 +1160,8 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
|
||||
int first_sack_index;
|
||||
|
||||
if (!tp->sacked_out) {
|
||||
tp->fackets_out = 0;
|
||||
if (WARN_ON(tp->fackets_out))
|
||||
tp->fackets_out = 0;
|
||||
tp->highest_sack = tp->snd_una;
|
||||
}
|
||||
prior_fackets = tp->fackets_out;
|
||||
|
Loading…
Reference in New Issue
Block a user