[openib-general] Re: [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey

Sean Hefty mshefty at ichips.intel.com
Thu Oct 6 10:50:15 PDT 2005


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?

- Sean



More information about the general mailing list