[openib-general] [PATCH] osm: fix segfault due to unprotected access to InformInfo DB
Hal Rosenstock
halr at voltaire.com
Mon Jun 19 13:39:09 PDT 2006
Hi Eitan,
On Mon, 2006-06-19 at 15:12, Eitan Zahavi wrote:
> Hi Hal
>
> I have added InformInfo requests to the osmStress simulator flow.
> Running it overnight exposed a bug as OpenSM segfaulted during
> osm_report_notice. Some debug shows the following two flows were
> missing a lock. Such that under stress the InformInfo DB was altered
> while being accessed by the code in osm_report_notice.
>
> I have verified the other flows calling osm_report_notice are under a
> lock.
>
> The fixed code is running for a while with no crash so far.
>
> Eitan
>
> Signed-off-by: Eitan Zahavi <eitan at mellanox.co.il>
Thanks. Applied.
-- Hal
More information about the general
mailing list