From: Julian Anastasov Date: Fri, 13 Apr 2012 15:08:43 +0000 (+0300) Subject: ipvs: fix crash in ip_vs_control_net_cleanup on unload X-Git-Tag: v3.4-rc6~23^2~25^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f9b9a2fad47af27e14b037395e03cd8278d96d7;p=pandora-kernel.git ipvs: fix crash in ip_vs_control_net_cleanup on unload commit 14e405461e664b777e2a5636e10b2ebf36a686ec (2.6.39) ("Add __ip_vs_control_{init,cleanup}_sysctl()") introduced regression due to wrong __net_init for __ip_vs_control_cleanup_sysctl. This leads to crash when the ip_vs module is unloaded. Fix it by changing __net_init to __net_exit for the function that is already renamed to ip_vs_control_net_cleanup_sysctl. Signed-off-by: Julian Anastasov Signed-off-by: Hans Schillstrom Signed-off-by: Simon Horman Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed