[openib-general] [PATCH 12/13] Re-write cma_add_one error cases

Sean Hefty mshefty at ichips.intel.com
Thu Oct 12 11:13:34 PDT 2006


Krishna Kumar wrote:
> @@ -2288,14 +2288,15 @@ static void cma_add_one(struct ib_device
>  	struct cma_device *cma_dev;
>  	struct rdma_id_private *id_priv;
>  
> +	if (!device->node_guid)
> +		return;

I'm not sure that we even need this check anymore.  All devices should have a 
node_guid set.  Maybe we can just remove it, rather than moving it up.

Btw, were version of the rdma_cm were these patches created against?

- Sean




More information about the general mailing list