diff options
author | Steve Wise <swise@opengridcomputing.com> | 2007-02-15 08:09:36 -0600 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-16 13:57:35 -0800 |
commit | ebb90986e183296086b5d6678a838f125d743982 (patch) | |
tree | 68cfbbd4bf32feda721cf34f220bcd9d84c75214 /crypto | |
parent | 6bbcea0d42209ab5f0fae213050ad042c499ad8b (diff) |
RDMA/iwcm: iw_cm_id destruction race fixes
iwcm iw_cm_id destruction race condition fixes:
- iwcm_deref_id() always wakes up if there's another reference.
- clean up race condition in cm_work_handler().
- create static void free_cm_id() which deallocs the work entries and then
kfrees the cm_id memory. This reduces code replication.
- rem_ref() if this is the last reference -and- the IWCM owns freeing the
cm_id, then free it.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions