aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/llc_c_ac.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/llc_c_ac.c')
-rw-r--r--net/llc/llc_c_ac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/llc/llc_c_ac.c b/net/llc/llc_c_ac.c
index 50c827e13a9f..a4daa91003dd 100644
--- a/net/llc/llc_c_ac.c
+++ b/net/llc/llc_c_ac.c
@@ -620,7 +620,7 @@ int llc_conn_ac_set_remote_busy(struct sock *sk, struct sk_buff *skb)
620 if (!llc->remote_busy_flag) { 620 if (!llc->remote_busy_flag) {
621 llc->remote_busy_flag = 1; 621 llc->remote_busy_flag = 1;
622 mod_timer(&llc->busy_state_timer.timer, 622 mod_timer(&llc->busy_state_timer.timer,
623 jiffies + llc->busy_state_timer.expire * HZ); 623 jiffies + llc->busy_state_timer.expire);
624 } 624 }
625 return 0; 625 return 0;
626} 626}
@@ -853,7 +853,7 @@ int llc_conn_ac_start_p_timer(struct sock *sk, struct sk_buff *skb)
853 853
854 llc_conn_set_p_flag(sk, 1); 854 llc_conn_set_p_flag(sk, 1);
855 mod_timer(&llc->pf_cycle_timer.timer, 855 mod_timer(&llc->pf_cycle_timer.timer,
856 jiffies + llc->pf_cycle_timer.expire * HZ); 856 jiffies + llc->pf_cycle_timer.expire);
857 return 0; 857 return 0;
858} 858}
859 859
@@ -1131,7 +1131,7 @@ int llc_conn_ac_start_ack_timer(struct sock *sk, struct sk_buff *skb)
1131{ 1131{
1132 struct llc_sock *llc = llc_sk(sk); 1132 struct llc_sock *llc = llc_sk(sk);
1133 1133
1134 mod_timer(&llc->ack_timer.timer, jiffies + llc->ack_timer.expire * HZ); 1134 mod_timer(&llc->ack_timer.timer, jiffies + llc->ack_timer.expire);
1135 return 0; 1135 return 0;
1136} 1136}
1137 1137
@@ -1140,7 +1140,7 @@ int llc_conn_ac_start_rej_timer(struct sock *sk, struct sk_buff *skb)
1140 struct llc_sock *llc = llc_sk(sk); 1140 struct llc_sock *llc = llc_sk(sk);
1141 1141
1142 mod_timer(&llc->rej_sent_timer.timer, 1142 mod_timer(&llc->rej_sent_timer.timer,
1143 jiffies + llc->rej_sent_timer.expire * HZ); 1143 jiffies + llc->rej_sent_timer.expire);
1144 return 0; 1144 return 0;
1145} 1145}
1146 1146
@@ -1151,7 +1151,7 @@ int llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk,
1151 1151
1152 if (!timer_pending(&llc->ack_timer.timer)) 1152 if (!timer_pending(&llc->ack_timer.timer))
1153 mod_timer(&llc->ack_timer.timer, 1153 mod_timer(&llc->ack_timer.timer,
1154 jiffies + llc->ack_timer.expire * HZ); 1154 jiffies + llc->ack_timer.expire);
1155 return 0; 1155 return 0;
1156} 1156}
1157 1157
@@ -1199,7 +1199,7 @@ int llc_conn_ac_upd_nr_received(struct sock *sk, struct sk_buff *skb)
1199 } 1199 }
1200 if (unacked) 1200 if (unacked)
1201 mod_timer(&llc->ack_timer.timer, 1201 mod_timer(&llc->ack_timer.timer,
1202 jiffies + llc->ack_timer.expire * HZ); 1202 jiffies + llc->ack_timer.expire);
1203 } else if (llc->failed_data_req) { 1203 } else if (llc->failed_data_req) {
1204 u8 f_bit; 1204 u8 f_bit;
1205 1205