Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44595
b: refs/heads/master
c: 832e3ca
h: refs/heads/master
i:
  44593: 2a33bc6
  44591: 13a0cab
v: v3
  • Loading branch information
Ian McDonald authored and David S. Miller committed Dec 14, 2006
1 parent a6ce187 commit b85d061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: e1b4b9f3986b80d5785d91dbd8d72cfaf9fd1117
refs/heads/master: 832e3ca62d6ee1893db05f5202c24ae5331e19ba
6 changes: 3 additions & 3 deletions trunk/net/dccp/ccids/ccid3.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,8 @@ static u32 ccid3_hc_rx_calc_first_li(struct sock *sk)
* Find some p such that f(p) = fval; return 1/p [RFC 3448, 6.3.1].
*/
if (rtt == 0) { /* would result in divide-by-zero */
DCCP_WARN("RTT==0, returning 1/p = 1\n");
return 1000000;
DCCP_WARN("RTT==0\n");
return ~0;
}

dccp_timestamp(sk, &tstamp);
Expand All @@ -858,7 +858,7 @@ static u32 ccid3_hc_rx_calc_first_li(struct sock *sk)
DCCP_WARN("X_recv==0\n");
if ((x_recv = hcrx->ccid3hcrx_x_recv) == 0) {
DCCP_BUG("stored value of X_recv is zero");
return 1000000;
return ~0;
}
}

Expand Down

0 comments on commit b85d061

Please sign in to comment.