[ofa-general] [PATCH] opensm/osm_ucast_lash: fix buffer overflow
Robert Pearson
rpearson at systemfabricworks.com
Sun Oct 12 15:21:00 PDT 2008
How does lash know how many VLs are available? Especially, with ibsim.
Is there a way to have lash report the number of VLs required independent of
the type of switch used?
-----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