[openib-general] Re: [PATCH] osm_switch.c : bug fix

Hal Rosenstock halr at voltaire.com
Mon May 1 04:19:01 PDT 2006


Hi Ofer,

On Mon, 2006-05-01 at 04:33, Ofer Gigi wrote:
> Hi Hal,
> 
> Bug fix:
> In the function osm_switch_get_fwd_tbl_block in osm_switch.c we were
> missing one block in case the maximum lid was the multiplication of
>  lids_per_block (==64).
> Adding <= instead of < to fix the problem.
> 
> Please apply to trunk and branch.

Good catch.

Thanks. Applied to trunk and 1.0 branch.

-- Hal

> Thanks
> 
> Ofer G.
> 
> Signed-off-by:  Ofer Gigi <oferg at mellanox.co.il>





More information about the general mailing list