mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
ipvs: Rename del_timer in comment in ip_vs_conn_expire_now()
Commit 8fa7292fee ("treewide: Switch/rename to timer_delete[_sync]()")
switched del_timer to timer_delete, but did not modify the comment for
ip_vs_conn_expire_now(). Now fix it.
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
ba71a6e58b
commit
bfabc4f70e
|
|
@ -926,7 +926,7 @@ static void ip_vs_conn_expire(struct timer_list *t)
|
|||
void ip_vs_conn_expire_now(struct ip_vs_conn *cp)
|
||||
{
|
||||
/* Using mod_timer_pending will ensure the timer is not
|
||||
* modified after the final del_timer in ip_vs_conn_expire.
|
||||
* modified after the final timer_delete in ip_vs_conn_expire.
|
||||
*/
|
||||
if (timer_pending(&cp->timer) &&
|
||||
time_after(cp->timer.expires, jiffies))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user