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.
Also if we do decide to add an API like this, the struct ipoib_info and ipoib_get_info() declarations should be in <linux/if_infiniband.h> rather than in the private ipoib.h header. - R. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
