Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96479376 authored by KOVACS Krisztian's avatar KOVACS Krisztian Committed by David S. Miller
Browse files

[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: default avatarKOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: default avatarHarald Welte <laforge@netfilter.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 31f34269
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@ static int init_or_cleanup(int init)
 cleanup_proc_stat:
#endif
#ifdef CONFIG_PROC_FS
	proc_net_remove("nf_conntrack_stat");
	remove_proc_entry("nf_conntrack", proc_net_stat);
 cleanup_proc_exp:
	proc_net_remove("nf_conntrack_expect");
 cleanup_proc: