Steve Wise d7c1fbd660 RDMA/iwcm: Don't access a cm_id after dropping reference
cm_work_handler() can access cm_id_priv after it drops its reference
by calling iwch_deref_id(), which might cause it to be freed.  The fix
is to look at whether IWCM_F_CALLBACK_DESTROY is set _before_ dropping
the reference.  Then if it was set, free the cm_id on this thread.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-03-10 21:22:22 -07:00
..
2007-05-21 09:18:19 -07:00
2006-09-22 15:22:46 -07:00
2007-07-09 16:17:32 -07:00
2008-01-25 14:15:30 -08:00
2008-01-25 14:15:42 -08:00
2007-05-06 21:18:11 -07:00