| Date | Fri, 14 Jan 2005 18:35:38 +0100 | From | Adrian Bunk <> | Subject | [patch] 2.6.11-rc1-mm1: ip_tables.c: ipt_find_target must be EXPORT_SYMBOL'ed |
| |
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) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|