Commit eab3e65d authored by Julian Anastasov's avatar Julian Anastasov Committed by David S. Miller

[IPVS]: make sure timer expires on one cpu

parent 3646a423
......@@ -535,8 +535,8 @@ static void ip_vs_conn_expire(unsigned long data)
void ip_vs_conn_expire_now(struct ip_vs_conn *cp)
{
cp->timeout = 0;
mod_timer(&cp->timer, jiffies);
if (del_timer(&cp->timer))
mod_timer(&cp->timer, jiffies);
__ip_vs_conn_put(cp);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment