[NETFILTER] Remove nf_conntrack stat proc file when cleaning up
Fix nf_conntrack statistics proc file removal. Looks like the old bug was forward-ported from ip_conntrack. :-] Signed-off-by: KOVACS Krisztian <hidden@balabit.hu> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
31f3426904
commit
96479376c8
@@ -694,7 +694,7 @@ static int init_or_cleanup(int init)
|
|||||||
cleanup_proc_stat:
|
cleanup_proc_stat:
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PROC_FS
|
#ifdef CONFIG_PROC_FS
|
||||||
proc_net_remove("nf_conntrack_stat");
|
remove_proc_entry("nf_conntrack", proc_net_stat);
|
||||||
cleanup_proc_exp:
|
cleanup_proc_exp:
|
||||||
proc_net_remove("nf_conntrack_expect");
|
proc_net_remove("nf_conntrack_expect");
|
||||||
cleanup_proc:
|
cleanup_proc:
|
||||||
|
Reference in New Issue
Block a user