diff options
author | Steve Wise <swise@opengridcomputing.com> | 2008-03-04 23:44:52 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-03-11 05:22:22 +0100 |
commit | d7c1fbd6606085dbf95e47068d6bd2db8a180e38 (patch) | |
tree | 0852af87269facc5f07f08bd20387f183976cca2 /MAINTAINERS | |
parent | IB/iser: Handle iser_device allocation error gracefully (diff) | |
download | linux-d7c1fbd6606085dbf95e47068d6bd2db8a180e38.tar.xz linux-d7c1fbd6606085dbf95e47068d6bd2db8a180e38.zip |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions