netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed
       [not found] <20050114002352.5a038710.akpm@osdl.org>
@ 2005-01-14 17:35 ` Adrian Bunk
  2005-01-14 17:43   ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-14 17:35 UTC (permalink / raw)
  To: Andrew Morton, Rusty Russell; +Cc: linux-kernel, coreteam, netdev

On Fri, Jan 14, 2005 at 12:23:52AM -0800, Andrew Morton wrote:
>...
> All 434 patches:
>...
> restore-net-sched-iptc-after-iptables-kmod-cleanup.patch
>   Restore net/sched/ipt.c After iptables Kmod Cleanup
>...

This causes the following error with CONFIG_NET_ACT_IPT=m:

<--  snip  -->

if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.11-rc1-mm1; fi
WARNING: /lib/modules/2.6.11-rc1-mm1/kernel/net/sched/ipt.ko needs unknown symbol ipt_find_target

<--  snip  -->


The fix is simple:


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-rc1-mm1-modular/net/ipv4/netfilter/ip_tables.c.old	2005-01-14 18:03:18.000000000 +0100
+++ linux-2.6.11-rc1-mm1-modular/net/ipv4/netfilter/ip_tables.c	2005-01-14 18:04:17.000000000 +0100
@@ -488,6 +488,7 @@
 		return NULL;
 	return target;
 }
+EXPORT_SYMBOL(ipt_find_target);
 
 static int match_revfn(const char *name, u8 revision, int *bestp)
 {

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

* Re: [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed
  2005-01-14 17:35 ` [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed Adrian Bunk
@ 2005-01-14 17:43   ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-01-14 17:43 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, Rusty Russell, linux-kernel, coreteam, netdev

Adrian Bunk wrote:

>On Fri, Jan 14, 2005 at 12:23:52AM -0800, Andrew Morton wrote:
>
>>...
>>All 434 patches:
>>...
>>restore-net-sched-iptc-after-iptables-kmod-cleanup.patch
>>  Restore net/sched/ipt.c After iptables Kmod Cleanup
>>...
>>
>
>This causes the following error with CONFIG_NET_ACT_IPT=m:
>
><--  snip  -->
>
>if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.11-rc1-mm1; fi
>WARNING: /lib/modules/2.6.11-rc1-mm1/kernel/net/sched/ipt.ko needs unknown symbol ipt_find_target
>
><--  snip  -->
>
The fix is already in Dave's tree.

Regards
Patrick

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

end of thread, other threads:[~2005-01-14 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050114002352.5a038710.akpm@osdl.org>
2005-01-14 17:35 ` [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed Adrian Bunk
2005-01-14 17:43   ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).