Commit ed3d1e7b authored by Simon Horman's avatar Simon Horman Committed by Patrick McHardy

IPVS: Remove ip_vs_sync_cleanup from section __exit

ip_vs_sync_cleanup() may be called from ip_vs_init() on error
and thus needs to be accesible from section __init
Reporte-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarHans Schillstrom <hans@schillstrom.com>
Tested-by: default avatarHans Schillstrom <hans@schillstrom.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 0443929f
......@@ -1686,7 +1686,7 @@ int __init ip_vs_sync_init(void)
return register_pernet_subsys(&ipvs_sync_ops);
}
void __exit ip_vs_sync_cleanup(void)
void ip_vs_sync_cleanup(void)
{
unregister_pernet_subsys(&ipvs_sync_ops);
}
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