diff options
author | Steve Wise <swise@opengridcomputing.com> | 2007-02-15 15:09:36 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-02-16 22:57:35 +0100 |
commit | ebb90986e183296086b5d6678a838f125d743982 (patch) | |
tree | 68cfbbd4bf32feda721cf34f220bcd9d84c75214 /drivers/serial/sunsu.c | |
parent | IB/ehca: Change query_port() to return LINK_UP instead UNKNOWN (diff) | |
download | linux-ebb90986e183296086b5d6678a838f125d743982.tar.xz linux-ebb90986e183296086b5d6678a838f125d743982.zip |
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 'drivers/serial/sunsu.c')
0 files changed, 0 insertions, 0 deletions