[openib-general] Re: 2.6.14 heads up: ip_dev_find() not exported
Michael S. Tsirkin
mst at mellanox.co.il
Mon Sep 26 09:52:21 PDT 2005
Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> Subject: Re: 2.6.14 heads up: ip_dev_find() not exported
> Michael S. Tsirkin wrote:
> >>>I noticed while compiling against an up-to-date kernel tree that SDP
> >>>and IBAT both use the function ip_dev_find(). The EXPORT_SYMBOL for
> >>>this function was removed during the 2.6.14 devel cycle.
> >>I'm calling using this routine in the rdam_cma code as well. I call it to get
> >>the local net_device before calling neigh_lookup(). I could call
> >>neigh_lookup_nodev() instead.
> >>- Sean
> > And pass it arp_tbl?
> > But I think this does lookup by destination address, while
> > what we are trying to do here is a device lookup by source address.
> > Am I mistaken?
> For the code that I'm referring to, which hasn't been committed yet, I'm trying
> to lookup by remote address. I was handling the code differently based on
> whether or not I was given a local address.
> - Sean
Hmm. I do need the source address for the path record query, do I not?
More information about the general