RE: bug 1918 - openmpi broken due to rdma-cm changes

Sean Hefty
2010-02-07T00:12:46Z

>> - list_for_each_entry(cma_dev, &dev_list, list)
>> + list_for_each_entry(cma_dev, &dev_list, list) {
>> + if (rdma_node_get_transport(cma_dev->device->node_type) !=
>> + RDMA_TRANSPORT_IB)
>> + continue;
>> +
>> for (p = 1; p <= cma_dev->device->phys_port_cnt; ++p)
>> if (!ib_query_port(cma_dev->device, p, &port_attr) &&
>> port_attr.state == IB_PORT_ACTIVE)
>> goto port_found;
>> + }
>>
>
>Here you need to:
> ret = -ENODEV;
> goto out;

Good catch, I'll update the patch and submit for 2.6.33 on Monday.