Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66935
b: refs/heads/master
c: 29d0a30
h: refs/heads/master
i:
  66933: 4da6343
  66931: e169b06
  66927: 58f0d1a
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Oct 10, 2007
1 parent ce74625 commit 34f69b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 182f6ed5188ccb46d1c54c3334943a54110d0118
refs/heads/master: 29d0a309d11bac9e57af914d0d6a35cde0080861
6 changes: 4 additions & 2 deletions trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,14 +1755,16 @@ static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *skb, int m
if (tcp_is_reno(tp) && tp->sacked_out)
tcp_dec_pcount_approx(&tp->sacked_out, next_skb);

tcp_adjust_fackets_out(tp, skb, tcp_skb_pcount(next_skb));
tcp_adjust_fackets_out(tp, next_skb, tcp_skb_pcount(next_skb));
tp->packets_out -= tcp_skb_pcount(next_skb);

/* changed transmit queue under us so clear hints */
tcp_clear_retrans_hints_partial(tp);
/* manually tune sacktag skb hint */
if (tp->fastpath_skb_hint == next_skb)
if (tp->fastpath_skb_hint == next_skb) {
tp->fastpath_skb_hint = skb;
tp->fastpath_cnt_hint -= tcp_skb_pcount(skb);
}

sk_stream_free_skb(sk, next_skb);
}
Expand Down

0 comments on commit 34f69b2

Please sign in to comment.