diff options
| author | Liang Zhen <[email protected]> | 2016-03-02 18:53:26 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-02 16:01:38 -0800 |
| commit | 992f0b226e4e49c9c3daccc19418cb2fdf2be1cf (patch) | |
| tree | 71ac8089bc8ba96ef7fd83d869493ae5f7e1e7d4 /tools/perf/scripts/python/bin | |
| parent | a01fa108561275dfe523b70c2f8af5544dd5b8f6 (diff) | |
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 <[email protected]>
ntel-bug-id: https://jira.hpdd.intel.com/browse/LU-7210
Reviewed-on: http://review.whamcloud.com/17527
Reviewed-by: Doug Oucharek <[email protected]>
Reviewed-by: James Simmons <[email protected]>
Tested-by: James Simmons <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions