From: Simon Horman Date: Tue, 1 Feb 2011 17:30:26 +0000 (+0100) Subject: IPVS: Remove ip_vs_sync_cleanup from section __exit X-Git-Tag: MMI-PSA29.97-13-9~20520^2~10^2~58 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed3d1e7b72069a3463b7e227b18cae4a09b0ddad;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Randy Dunlap Signed-off-by: Simon Horman Acked-by: Randy Dunlap Signed-off-by: Hans Schillstrom Tested-by: Hans Schillstrom Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c index d5a6e640ea45..2a2a8363ca16 100644 --- a/net/netfilter/ipvs/ip_vs_sync.c +++ b/net/netfilter/ipvs/ip_vs_sync.c @@ -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); }