[Bug 50] Kernel panic with rpc.patch

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Fri Sep 3 01:18:29 CEST 2004


https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=50


netfilter at linuxace.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netfilter at linuxace.com
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From erik.duys at alcatel.be  2003-11-03 09:51 CEST -------
Created an attachment (id=35)
 --> (https://bugzilla.netfilter.org/bugzilla/attachment.cgi?id=35&action=view)
RPC.patch indeed gives a kernel panic


------- Additional Comments From netfilter at linuxace.com  2004-09-03 01:18 CEST -------
Yes, the below patch fixes this up.  Submitted to netfilter-devel.

diff -ru pom-orig/rpc/linux/net/ipv4/netfilter/ipt_rpc.c
pom-new/rpc/linux/net/ipv4/netfilter/ipt_rpc.c
--- pom-orig/rpc/linux/net/ipv4/netfilter/ipt_rpc.c     2003-12-18
13:48:00.000000000 -0500
+++ pom-new/rpc/linux/net/ipv4/netfilter/ipt_rpc.c      2004-09-02
19:09:56.599859208 -0400
@@ -394,10 +394,6 @@
 {
        int port;
 
-       DEBUGP("incrementing usage counts\n");
-       __MOD_INC_USE_COUNT(ip_conntrack_rpc_udp);
-       __MOD_INC_USE_COUNT(ip_conntrack_rpc_tcp);
-
        /* If no port given, default to standard RPC port */
        if (ports[0] == 0)
                ports[0] = RPC_PORT;


-- 
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the netfilter-buglog mailing list