| To: | Andrew Morton <akpm@xxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed |
| From: | Adrian Bunk <bunk@xxxxxxxxx> |
| Date: | Fri, 14 Jan 2005 18:35:38 +0100 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050114002352.5a038710.akpm@xxxxxxxx> |
| References: | <20050114002352.5a038710.akpm@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
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@xxxxxxxxx>
--- 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)
{
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: V2.4 policy router operates faster/better than V2.6, Robert Olsson |
|---|---|
| Next by Date: | Re: [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed, Patrick McHardy |
| Previous by Thread: | 3c59x collisions statistic, Steffen Klassert |
| Next by Thread: | Re: [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed, Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |