diff options
| author | Hariprasad S <[email protected]> | 2016-05-06 22:18:07 +0530 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-05-13 19:38:09 -0400 |
| commit | f86fac79afecb41682886785364b15cb13f22280 (patch) | |
| tree | bc99d51ce1c3419ea9e559e4f7428e0f811a4191 /fs/jbd2/commit.c | |
| parent | e8667a9b35c550e3daf4519058a52252bf41d9db (diff) | |
RDMA/iw_cxgb4: atomic find and reference for listening endpoints
Add get_ep_from_stid() which will atomically find and reference the
endpoint struct if found. This avoids touch-after-free races between
threads destroying listening endpoints and the CPL processing thread
processing an incoming PASS_ACCEPT_REQ CPL.
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Hariprasad Shenai <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions