[ofa-general] Re: [PATCH] Fix 2 potential core dumps now that osm_node_get_physp_ptr can return NULL
Sasha Khapyorsky
sashak at voltaire.com
Wed Feb 20 23:05:21 PST 2008
Hi Ira,
On 14:02 Wed 20 Feb , Ira Weiny wrote:
>
> I actually hit these when I was testing with a low OSM_UMAD_MAX_PENDING value.
> I was a bit unsure of what to do in these cases if p_physp was NULL. What I do
> in this patch seems reasonable as the fabric does route but perhaps you could
> double check me?
The patch looks correct for me. And seems I need to review all
osm_node_get_physp_ptr() usages again.
> From 310a6cceca946fcc86f7bec28dfdeba77d011fc5 Mon Sep 17 00:00:00 2001
> From: Ira K. Weiny <weiny2 at llnl.gov>
> Date: Wed, 20 Feb 2008 13:53:51 -0800
> Subject: [PATCH] Fix 2 potential core dumps now that osm_node_get_physp_ptr can return NULL
>
>
> Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
Applied. Thanks.
Sasha
More information about the general
mailing list