Skip to contentSkip to conversation

/proc/net/ip_conntrack_expect on module removal

PATCH In review Josh Samuelson 2 participants 2 messages Oct 27, 2004 – Oct 28, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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:
#1 lore raw
Quoted 8 lines · Josh Samuelson

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.

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: