Skip to contentSkip to conversation

netfilter buildfix / exported symbols

PATCH Applied Harald Welte 2 participants 2 messages Apr 27, 2003 – Apr 28, 2003

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

PATCH 1/1 netfilter buildfix / exported symbols

Hi Dave!

Attached patch (for 2.5.x) fixes a problem with [un]exported symbols in certain configurations.

Please apply, thanks.

net/ipv4/netfilter/ip_conntrack_amanda.c +2 -0
diff -x '*.orig' -urN linux-2.5-bk.orig/net/ipv4/netfilter/ip_conntrack_amanda.c linux-2.5-bk/net/ipv4/netfilter/ip_conntrack_amanda.c
@@ -207,5 +207,7 @@
 	return 0;
 }
 
+EXPORT_SYMBOL(ip_amanda_lock);
+
 module_init(init);
 module_exit(fini);
net/ipv4/netfilter/ip_conntrack_ftp.c +0 -2
diff -x '*.orig' -urN linux-2.5-bk.orig/net/ipv4/netfilter/ip_conntrack_ftp.c linux-2.5-bk/net/ipv4/netfilter/ip_conntrack_ftp.c
@@ -437,9 +437,7 @@
 	return 0;
 }
 
-#ifdef CONFIG_IP_NF_NAT_NEEDED
 EXPORT_SYMBOL(ip_ftp_lock);
-#endif
 
 MODULE_LICENSE("GPL");
 module_init(init);
net/ipv4/netfilter/ip_conntrack_irc.c +0 -2
diff -x '*.orig' -urN linux-2.5-bk.orig/net/ipv4/netfilter/ip_conntrack_irc.c linux-2.5-bk/net/ipv4/netfilter/ip_conntrack_irc.c
@@ -289,9 +289,7 @@
 	}
 }
 
-#ifdef CONFIG_IP_NF_NAT_NEEDED
 EXPORT_SYMBOL(ip_irc_lock);
-#endif
 
 module_init(init);
 module_exit(fini);
Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#1 lore raw

From: Harald Welte <[email protected]>
Date: Mon, 28 Apr 2003 00:32:44 +0200

Attached patch (for 2.5.x) fixes a problem with [un]exported symbols in certain configurations.

Please apply, thanks.

Applied, thanks.