summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorLiang Zhen <liang.zhen@intel.com>2016-03-02 18:53:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-02 16:01:38 -0800
commit992f0b226e4e49c9c3daccc19418cb2fdf2be1cf (patch)
tree71ac8089bc8ba96ef7fd83d869493ae5f7e1e7d4 /lib/fault-inject.c
parenta01fa108561275dfe523b70c2f8af5544dd5b8f6 (diff)
downloadlinux-992f0b226e4e49c9c3daccc19418cb2fdf2be1cf.tar.bz2
staging: lustre: take extra refcount in kiblnd_connreq_done
refcount taken by cmid is not reliable after kiblnd_connreq_done released the glock because this connection is visible to other threads, another thread can find and close this connection right after kiblnd_connreq_done released the glock, if kiblnd_cm_callback for RDMA_CM_EVENT_DISCONNECTED is called, it can release the connection refcount taken by cmid. It means the connection could be destroyed before kiblnd_connreq_done() finish operations on it. Signed-off-by: Liang Zhen <liang.zhen@intel.com> ntel-bug-id: https://jira.hpdd.intel.com/browse/LU-7210 Reviewed-on: http://review.whamcloud.com/17527 Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: James Simmons <uja.ornl@yahoo.com> Tested-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions