diff options
author | Simon Horman <horms@verge.net.au> | 2011-05-19 21:32:57 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-07-22 09:17:21 +0900 |
commit | 7676e345824f162191b1fe2058ad948a6cf91c20 (patch) | |
tree | c9fc53edb9be2b6f682b711c1120c9b8a374bb2f /net/netfilter | |
parent | 42c1edd345c8412d96e7a362ee06feb7be73bb6c (diff) |
IPVS: Free resources on module removal
This resolves a panic on module removal.
Reported-by: Dave Jones <davej@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 699c79a55657..a178cb345848 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c @@ -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); |