summaryrefslogtreecommitdiffstats
path: root/kernel/net/sctp/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/sctp/transport.c')
-rw-r--r--kernel/net/sctp/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/sctp/transport.c b/kernel/net/sctp/transport.c
index a0a431824..aab9e3f29 100644
--- a/kernel/net/sctp/transport.c
+++ b/kernel/net/sctp/transport.c
@@ -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)
- + (((__u32)abs64((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta);
+ + (((__u32)abs((__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 {