[openib-general] Re: 2.6.14 heads up: ip_dev_find() not exported

Sean Hefty mshefty at ichips.intel.com
Mon Sep 26 09:38:23 PDT 2005


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?

Yes.

> 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



More information about the general mailing list