]> Git Repo - linux.git/commitdiff
IPVS: Free resources on module removal
authorSimon Horman <[email protected]>
Thu, 19 May 2011 12:32:57 +0000 (21:32 +0900)
committerSimon Horman <[email protected]>
Fri, 22 Jul 2011 00:17:21 +0000 (09:17 +0900)
This resolves a panic on module removal.

Reported-by: Dave Jones <[email protected]>
Acked-by: Julian Anastasov <[email protected]>
Signed-off-by: Hans Schillstrom <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
net/netfilter/ipvs/ip_vs_ctl.c

index 699c79a556573cb707e85eeab0b194e474f4ac79..a178cb3458483872151a611f6f24856b3f4ee43a 100644 (file)
@@ -3771,6 +3771,7 @@ err_sock:
 void ip_vs_control_cleanup(void)
 {
        EnterFunction(2);
+       unregister_netdevice_notifier(&ip_vs_dst_notifier);
        ip_vs_genl_unregister();
        nf_unregister_sockopt(&ip_vs_sockopts);
        LeaveFunction(2);
This page took 0.061371 seconds and 4 git commands to generate.