[ofa-general] [PATCH 0/2] opensm: release references to persistent routing engine private data

Jim Schutt jaschut at sandia.gov
Fri Aug 28 12:08:14 PDT 2009


Hi,

LASH uses osm_switch_t:priv to reference private data that persists between
calls to the routing engine.  The first patch fixes a use-after-free bug
that occurs due to this reference, when a switch is removed from a fabric 
that LASH is routing.

The second patch applies the same methodology to osm_port_t:priv.  Even
though no routing engine currently uses it to hold references to persistent
private data, it seems appropriate to make the priv member for 
osm_switch_t and osm_port_t have the same behavior.

-- Jim




More information about the general mailing list