[openib-general] Re: ip_dev_find resolution?
    Hal Rosenstock 
    halr at voltaire.com
       
    Tue Dec  6 13:18:27 PST 2005
    
    
  
On Tue, 2005-12-06 at 12:56, Michael S. Tsirkin wrote:
> Actually, I wander whether instead of ip_dev_find we can just
> 
>                 read_lock(&dev_base_lock);
>                 for (dev = dev_base; dev; dev = dev->next) {
> 
> and check the ip address?
working off the ip_ptr and ip6_ptr ?
> If this works, this has the advantage of supporting IPv6 as well.
This was introduced at one point and we subsequently changed to
ip_dev_find. I forget exactly why this was but can dig it out if no one
recalls.
-- Hal
    
    
More information about the general
mailing list