diff options
author | KOVACS Krisztian <hidden@balabit.hu> | 2005-11-15 19:47:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-15 19:47:09 -0500 |
commit | 96479376c89e5be92c85bd350e3e2e8f0e7e3b52 (patch) | |
tree | 3e856951a7b7d1cb4f7ae9d5ffcb9342ca05bbb7 /net | |
parent | 31f3426904e066f17e3f88c468a2f7c869ad4aac (diff) |
[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>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_standalone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c index 45224db4fe2f..5af381f9fe3d 100644 --- a/net/netfilter/nf_conntrack_standalone.c +++ b/net/netfilter/nf_conntrack_standalone.c | |||
@@ -694,7 +694,7 @@ static int init_or_cleanup(int init) | |||
694 | cleanup_proc_stat: | 694 | cleanup_proc_stat: |
695 | #endif | 695 | #endif |
696 | #ifdef CONFIG_PROC_FS | 696 | #ifdef CONFIG_PROC_FS |
697 | proc_net_remove("nf_conntrack_stat"); | 697 | remove_proc_entry("nf_conntrack", proc_net_stat); |
698 | cleanup_proc_exp: | 698 | cleanup_proc_exp: |
699 | proc_net_remove("nf_conntrack_expect"); | 699 | proc_net_remove("nf_conntrack_expect"); |
700 | cleanup_proc: | 700 | cleanup_proc: |