[PATCH] kernel panic with rpc.patch
Phil Oester
netfilter at linuxace.com
Fri Sep 3 01:23:57 CEST 2004
Some useless __MOD_INC_USE_COUNT macros make rpc patch panic on boot.
The below removes them. Boot tested.
This fixes bugzilla #50
Phil
-------------- next part --------------
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;
More information about the netfilter-devel
mailing list