Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78195
b: refs/heads/master
c: cfbbeab
h: refs/heads/master
i:
  78193: c2c50a7
  78191: c144635
v: v3
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Jan 28, 2008
1 parent 5ef65ed commit 40b3b72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 3de5489f47febe0333b142e0eb6389b9924b2634
refs/heads/master: cfbbeabc8864902c4af1c0cadf0972b352930a26
9 changes: 2 additions & 7 deletions trunk/net/dccp/ccids/ccid2.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

/*
* This implementation should follow RFC 4341
*
* BUGS:
* - sequence number wrapping
*/

#include "../ccid.h"
Expand Down Expand Up @@ -619,9 +616,8 @@ static void ccid2_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb)
/* go through this ack vector */
while (veclen--) {
const u8 rl = *vector & DCCP_ACKVEC_LEN_MASK;
u64 ackno_end_rl;
u64 ackno_end_rl = SUB48(ackno, rl);

dccp_set_seqno(&ackno_end_rl, ackno - rl);
ccid2_pr_debug("ackvec start:%llu end:%llu\n",
(unsigned long long)ackno,
(unsigned long long)ackno_end_rl);
Expand Down Expand Up @@ -671,8 +667,7 @@ static void ccid2_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb)
if (done)
break;


dccp_set_seqno(&ackno, ackno_end_rl - 1);
ackno = SUB48(ackno_end_rl, 1);
vector++;
}
if (done)
Expand Down

0 comments on commit 40b3b72

Please sign in to comment.