Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58948
b: refs/heads/master
c: d041005
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Jul 11, 2007
1 parent 5bdc3e5 commit 099bd1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61cbc2fca6335be52788773b21efdc52a2750924
refs/heads/master: d0410051164bbbc597e15f068b53c06a954ae0d4
8 changes: 8 additions & 0 deletions trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,14 @@ int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len, unsigned int mss
tp->fackets_out -= diff;
if ((int)tp->fackets_out < 0)
tp->fackets_out = 0;
/* SACK fastpath might overwrite it unless dealt with */
if (tp->fastpath_skb_hint != NULL &&
after(TCP_SKB_CB(tp->fastpath_skb_hint)->seq,
TCP_SKB_CB(skb)->seq)) {
tp->fastpath_cnt_hint -= diff;
if ((int)tp->fastpath_cnt_hint < 0)
tp->fastpath_cnt_hint = 0;
}
}
}

Expand Down

0 comments on commit 099bd1c

Please sign in to comment.