From: Pawel Sikora <pluto@pld-linux.org>
To: Netfilter Developers <netfilter-devel@lists.netfilter.org>
Subject: Re: [PATCH] Warning: "nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
Date: Fri, 22 Apr 2005 17:00:33 +0200 [thread overview]
Message-ID: <200504221700.33444.pluto@pld-linux.org> (raw)
In-Reply-To: <20050422.210704.52375730.yoshfuji@linux-ipv6.org>
On Friday 22 of April 2005 14:07, you wrote:
<yoshfuji@linux-ipv6.org> says:
> > I disagree. Please try not to use nd_tbl;
> > maybe, by making and exporting neigh_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)
-------------------------------------------------------
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
prev parent reply other threads:[~2005-04-22 15:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-22 11:31 [PATCH] Warning: "nd_tbl" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined! Pawel Sikora
2005-04-22 11:59 ` YOSHIFUJI Hideaki / 吉藤英明
2005-04-22 12:07 ` YOSHIFUJI Hideaki / 吉藤英明
2005-04-22 15:00 ` Pawel Sikora [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504221700.33444.pluto@pld-linux.org \
--to=pluto@pld-linux.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.