All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel panic with rpc.patch
@ 2004-09-02 23:23 Phil Oester
  2004-09-03  1:52 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Phil Oester @ 2004-09-02 23:23 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

Some useless __MOD_INC_USE_COUNT macros make rpc patch panic on boot.
The below removes them.  Boot tested.

This fixes bugzilla #50


Phil



[-- Attachment #2: patch-rpc --]
[-- Type: text/plain, Size: 550 bytes --]

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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-03 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 23:23 [PATCH] kernel panic with rpc.patch Phil Oester
2004-09-03  1:52 ` Patrick McHardy
2004-09-03  4:21   ` Phil Oester
2004-09-03 16:15     ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.