Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45873
b: refs/heads/master
c: db3ccda
h: refs/heads/master
i:
  45871: e2996cc
v: v3
  • Loading branch information
Baruch Even authored and David S. Miller committed Jan 25, 2007
1 parent ef95867 commit ce84ca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: dbcb5855d108b7fa20ab42567a5412ce9dcd776a
refs/heads/master: db3ccdac261e015023cfd922840170f14c9cdc09
9 changes: 5 additions & 4 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1011,10 +1011,11 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
for (j = 0; j < i; j++){
if (after(ntohl(sp[j].start_seq),
ntohl(sp[j+1].start_seq))){
sp[j].start_seq = htonl(tp->recv_sack_cache[j+1].start_seq);
sp[j].end_seq = htonl(tp->recv_sack_cache[j+1].end_seq);
sp[j+1].start_seq = htonl(tp->recv_sack_cache[j].start_seq);
sp[j+1].end_seq = htonl(tp->recv_sack_cache[j].end_seq);
struct tcp_sack_block_wire tmp;

tmp = sp[j];
sp[j] = sp[j+1];
sp[j+1] = tmp;
}

}
Expand Down

0 comments on commit ce84ca5

Please sign in to comment.