On Thu, 2008-05-22 at 15:20 +0300, Yevgeny Kliteynik wrote:
> Hi Oren,
> 
> Fixing seg fault in allocation of gsi management class vector.

Was this ever committed ? Should it be applied for both trunk and
ofed_1_3 ?

-- Hal

> 
> Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
> ---
>  ibis/src/ibis_gsi_mad_ctrl.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/ibis/src/ibis_gsi_mad_ctrl.c b/ibis/src/ibis_gsi_mad_ctrl.c
> index 356d33d..bfb5fe6 100644
> --- a/ibis/src/ibis_gsi_mad_ctrl.c
> +++ b/ibis/src/ibis_gsi_mad_ctrl.c
> @@ -731,7 +731,7 @@ ibis_gsi_mad_ctrl_set_class_attr_cb(
>    size = cl_vector_get_size(&p_ctrl->class_vector);
>    if (size <= mad_class)
>    {
> -    cl_status = cl_vector_set_size(&p_ctrl->class_vector,mad_class);
> +    cl_status = cl_vector_set_size(&p_ctrl->class_vector,mad_class+1);
> 
>      if( cl_status != CL_SUCCESS)
>      {

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to