IPVS: Remove ip_vs_sync_cleanup from section __exit
authorSimon Horman <horms@verge.net.au>
Tue, 1 Feb 2011 17:30:26 +0000 (18:30 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 17:30:26 +0000 (18:30 +0100)
commited3d1e7b72069a3463b7e227b18cae4a09b0ddad
treebc577e3e7d58330b19a6f163e0ea60a90599f5a4
parent0443929ff0ecc4d1e690edaffa338cabe0863d3b
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 <randy.dunlap@oracle.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Tested-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipvs/ip_vs_sync.c