On Thu, 2005-10-06 at 13:50, Sean Hefty wrote:
> Roland Dreier wrote:
> > Did we ever figure out how to handle the hotplug issues with the
> > lifetime of the struct ib_device pointer?  Right now this API is
> > unsafe, because a caller can get a pointer to a device that has
> > already disappeared.
> 
> Is it possible to retrieve the pkey using net_device->class_dev?

I think so, but would that be any safer ? I think it might end up going
through the IPoIB device private data (or an API anyhow).

-- Hal

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to