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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general