summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_nat_keepalive.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_nat_keepalive.c')
-rw-r--r--net/xfrm/xfrm_nat_keepalive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_nat_keepalive.c b/net/xfrm/xfrm_nat_keepalive.c
index ebf95d48e86c..1856beee0149 100644
--- a/net/xfrm/xfrm_nat_keepalive.c
+++ b/net/xfrm/xfrm_nat_keepalive.c
@@ -261,7 +261,7 @@ int __net_init xfrm_nat_keepalive_net_init(struct net *net)
int xfrm_nat_keepalive_net_fini(struct net *net)
{
- cancel_delayed_work_sync(&net->xfrm.nat_keepalive_work);
+ disable_delayed_work_sync(&net->xfrm.nat_keepalive_work);
return 0;
}