tipc: fix the timer expires after interval 100ms
[linux-2.6-microblaze.git] / net / tipc / socket.c
index 7545321..17f8c52 100644 (file)
@@ -2852,7 +2852,8 @@ static void tipc_sk_retry_connect(struct sock *sk, struct sk_buff_head *list)
 
        /* Try again later if dest link is congested */
        if (tsk->cong_link_cnt) {
-               sk_reset_timer(sk, &sk->sk_timer, msecs_to_jiffies(100));
+               sk_reset_timer(sk, &sk->sk_timer,
+                              jiffies + msecs_to_jiffies(100));
                return;
        }
        /* Prepare SYN for retransmit */