[openib-general] [kDAPL][PATCH] fix panic in server side

Hal Rosenstock halr at voltaire.com
Wed May 4 15:01:07 PDT 2005


On Wed, 2005-05-04 at 17:59, Tom Duffy wrote:
> This patches fixes two things.  It makes it so that
> dapl_cm_passive_cb_handler won't dereference a potentially NULL ib_cm_id
> and also that it returns ret instead of 0 all the time.
> 
> Signed-off-by: Tom Duffy <tduffy at sun.com>

The second part is not what is intended. A non 0 return in a CM callback
means to destroy the CM ID. That would not be a good thing...

-- Hal




More information about the general mailing list