Warning: "nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
Subsystems (3)
PATCH 1/1 Warning: "nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
Hi,
Please apply attached patch.
Regards,
Pawel.
Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)Warning: "nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
net/ipv6/ipv6_syms.c +1 -0
@@ -36,6 +36,7 @@#ifdef CONFIG_XFRM EXPORT_SYMBOL (xfrm6_rcv);#endif +EXPORT_SYMBOL (nd_tbl);EXPORT_SYMBOL (rt6_lookup);EXPORT_SYMBOL (fl6_sock_lookup);EXPORT_SYMBOL (ipv6_push_nfrag_opts);
In article <[email protected]> (at Fri, 22 Apr 2005 13:31:27 +0200), Pawel Sikora <[email protected]> says:
net/ipv6/ipv6_syms.c line 42
Quoted 12 lines
Warning: "
nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!net/ipv6/ipv6_syms.c +1
-0@@ -36,6 +36,7 @@#ifdef CONFIG_XFRM EXPORT_SYMBOL (xfrm6_rcv);#endif +EXPORT_SYMBOL (nd_tbl);EXPORT_SYMBOL (rt6_lookup);EXPORT_SYMBOL (fl6_sock_lookup);EXPORT_SYMBOL (ipv6_push_nfrag_opts);
I disagree. Please try not to use nd_tbl;
maybe, by making and exporting neigh_lookup().
Thanks.
Signature · 3 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]> Homepage: http://www.yoshifuji.org/~hideaki/ GPG FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
In article <[email protected]> (at Fri, 22 Apr 2005 20:59:57 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <[email protected]> says:
Quoted 2 lines
I disagree. Please try not to use
nd_tbl;
maybe, by making and exportingneigh_lookup().
Oops, ndisc_lookup().
Signature · 3 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]> Homepage: http://www.yoshifuji.org/~hideaki/ GPG FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
On Friday 22 of April 2005 14:07, you wrote:
<[email protected]> says:
Quoted 4 lines
Quoted 2 lines
I disagree. Please try not to use
nd_tbl;
maybe, by making and exportingneigh_lookup().Oops,
ndisc_lookup().
I dont see ndisc_lookup() in 2.6.11.7 sources.
ip6t_ROUTE uses ndisc_get_neigh from include/net/ndisc.h.
[ ip6t_ROUTE.c ]rt->u.dst.neighbour = ndisc_get_neigh(rt->u.dst.dev, &rt->rt6i_dst.addr);
[ include/net/ndisc.h ]
static inline struct neighbour * ndisc_get_neigh(struct net_device *dev,
struct in6_addr *addr)
{
if (dev)
return __neigh_lookup(&nd_tbl, addr, dev, 1);
^^^^^^ this symbol should be exported
or this method should be reworked.
return NULL;
}
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
-------------------------------------------------------
Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)