]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/netfilter/xt_recent.c
net: proc: change proc_net_remove to remove_proc_entry
[mirror_ubuntu-artful-kernel.git] / net / netfilter / xt_recent.c
index 978efc9b555a3e1936cb5e49c0537055e3b642f9..31bf233dae9733cf00e58c41d4d42579821eb2cb 100644 (file)
@@ -643,7 +643,7 @@ static void __net_exit recent_proc_net_exit(struct net *net)
        recent_net->xt_recent = NULL;
        spin_unlock_bh(&recent_lock);
 
-       proc_net_remove(net, "xt_recent");
+       remove_proc_entry("xt_recent", net->proc_net);
 }
 #else
 static inline int recent_proc_net_init(struct net *net)