/proc/net/ip_conntrack_expect on module removal
Subsystems (2)
PATCH 1/1 /proc/net/ip_conntrack_expect on module removal
Greetings,
On module removal "/proc/net/ip_conntrack_exp" is the proc entry that is attempted to proc_net_remove() instead of "/proc/net/ip_conntrack_expect".
Attached diff fixes this issue.
-Josh
net/ipv4/netfilter/ip_conntrack_standalone.c +1 -1
@@ -816,7 +816,7 @@#ifdef CONFIG_PROC_FS proc_net_remove ("ip_conntrack_stat" ); cleanup_proc_exp: -proc_net_remove ("ip_conntrack_exp" ); +proc_net_remove ("ip_conntrack_expect" ); cleanup_proc:proc_net_remove ("ip_conntrack" ); cleanup_init:
Quoted 8 lines · Josh Samuelson
Greetings,
On module removal "
/proc/net/ip_conntrack_exp" is the proc entry that is attempted toproc_net_remove()instead of "/proc/net/ip_conntrack_expect".Attached diff fixes this issue.
already fixed in 2.6.10-rc1
regards,
Pablo
Quoted 18 lines
(quoted diff) +0
-2-Josh ------------------------------------------------------------------------net/ipv4/netfilter/ip_conntrack_standalone.c +0
-0@@ -816,7 +816,7 @@#ifdef CONFIG_PROC_FS proc_net_remove ("ip_conntrack_stat" );
cleanup_proc_exp:net/ipv4/netfilter/ip_conntrack_standalone.c +1
-1-proc_net_remove ("ip_conntrack_exp" ); +proc_net_remove ("ip_conntrack_expect" ); cleanup_proc:proc_net_remove("ip_conntrack");
cleanup_init: