Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336077
b: refs/heads/master
c: 92d64c2
h: refs/heads/master
i:
  336075: dc3e8bc
v: v3
  • Loading branch information
Schoch Christian authored and David S. Miller committed Nov 28, 2012
1 parent 729da88 commit 5416897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 6e51fe7572590d8d86e93b547fab6693d305fd0d
refs/heads/master: 92d64c261e77cb2a6117887617e2a629fea6b67c
2 changes: 1 addition & 1 deletion trunk/net/sctp/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt)
* 1/8, rto_alpha would be expressed as 3.
*/
tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta)
+ ((abs(tp->srtt - rtt)) >> net->sctp.rto_beta);
+ (((__u32)abs64((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta);
tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha)
+ (rtt >> net->sctp.rto_alpha);
} else {
Expand Down

0 comments on commit 5416897

Please sign in to comment.