diff options
author | 2012-04-13 18:08:43 +0300 | |
---|---|---|
committer | 2012-04-25 11:16:30 +0200 | |
commit | 8f9b9a2fad47af27e14b037395e03cd8278d96d7 (patch) | |
tree | 5b2d738403991a960ef341ff122f5f03c9b21758 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | ipvs: Verify that IP_VS protocol has been registered (diff) | |
download | wireguard-linux-8f9b9a2fad47af27e14b037395e03cd8278d96d7.tar.xz wireguard-linux-8f9b9a2fad47af27e14b037395e03cd8278d96d7.zip |
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 <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions