[openib-general] Re: [PATCH] librdmacm: ucma_init reads past end of device_list

Sean Hefty mshefty at ichips.intel.com
Thu Jun 1 15:34:43 PDT 2006


Boyd R. Faulkner wrote:
> The code currently in place seems to expect there to be a null element at the 
> end of the dev_list to trigger the end of the loop.  ibv_get_device_list
> does not provide such an entry, but the number of entries is
> available.  This patch retrieves that number and loops based on it.
> If ibv_get_device_list should return a list with a null element at the end,
> then it is not working correctly.  This patch will work with either of the
> possible intended behaviors of ibv_get_device_list.
> 
> Fix spelling of "liste".

Thanks - can you please send a signed-off-by line?

- Sean



More information about the general mailing list