From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Samuelson Subject: [PATCH] /proc/net/ip_conntrack_expect on module removal Date: Wed, 27 Oct 2004 11:35:59 -0500 Sender: netfilter-devel-bounces@lists.netfilter.org Message-ID: <20041027163559.GA8502@wsc.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qDbXVdCdHGoSgWSk" Return-path: To: netfilter-devel@lists.netfilter.org Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ip_conntrack_expect.diff" --- orig/net/ipv4/netfilter/ip_conntrack_standalone.c 2004-10-21 15:08:44.000000000 -0500 +++ patch/net/ipv4/netfilter/ip_conntrack_standalone.c 2004-10-27 11:25:57.000000000 -0500 @@ -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: --qDbXVdCdHGoSgWSk--