[openib-general] Re: [PATCH] osm: trivial fix segfault on invalid port info

Hal Rosenstock halr at voltaire.com
Thu Mar 30 05:28:49 PST 2006


On Thu, 2006-03-30 at 05:40, Eitan Zahavi wrote:
> Hi Hal
> 
> A previous patch adding explicit set remote port state DOWN in case the 
> local one is recycled was not safe. In a case of irresponsive remote 
> port it would actually try and traverse a null pointer of the port info.
> 
> This simple fix is just a little more careful about it.
> I also renamed the p_rem_port to p_rem_physp as the pointer actually 
> points to a physical port...
> 
> Eitan
> 
> Signed-off-by:  Eitan Zahavi <eitan at mellanox.co.il>

Thanks. Applied to both trunk and 1.0 branch (with some format changes).

-- Hal




More information about the general mailing list