[ofa-general] [PATCH] opensm/osm_ucast_lash: fix buffer overflow

Hal Rosenstock hal.rosenstock at gmail.com
Mon Oct 13 09:53:59 PDT 2008


On Sun, Oct 12, 2008 at 6:21 PM, Robert Pearson
<rpearson at systemfabricworks.com> wrote:
> How does lash know how many VLs are available?

>From PortInfo:OpVLs

>Especially, with ibsim.

Same.

> Is there a way to have lash report the number of VLs required independent of
> the type of switch used?

Not sure what you mean by this.

-- Hal

> -----Original Message-----
> From: general-bounces at lists.openfabrics.org
> [mailto:general-bounces at lists.openfabrics.org] On Behalf Of Sasha Khapyorsky
> Sent: Thursday, October 09, 2008 2:06 PM
> To: Hal Rosenstock
> Cc: OpenIB
> Subject: Re: [ofa-general] [PATCH] opensm/osm_ucast_lash: fix buffer
> overflow
>
> On 07:04 Wed 08 Oct     , Hal Rosenstock wrote:
>>
>> Minor simplification as it seems like this could just be:
>>
>> if (++lanes_needed > p_lash->vl_min)
>>   goto Error_Not_Enough_Lanes;
>
> Works for me. Thanks!
>
> Sasha
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>



More information about the general mailing list