diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2022-04-20 20:40:36 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-05-09 09:03:45 -0300 |
commit | 4e05a4b329e9416e5aded022feacde4385148f21 (patch) | |
tree | 0cc0c1e84b4648ee19949703fadb25f2f88c358c /ipc | |
parent | RDMA/rxe: Add rxe_srq_cleanup() (diff) | |
download | linux-dev-4e05a4b329e9416e5aded022feacde4385148f21.tar.xz linux-dev-4e05a4b329e9416e5aded022feacde4385148f21.zip |
RDMA/rxe: Check rxe_get() return value
In the tasklets (completer, responder, and requester) check the return
value from rxe_get() to detect failures to get a reference. This only
occurs if the qp has had its reference count drop to zero which indicates
that it no longer should be used.
The ref is never 0 today because the tasklets are flushed before the ref
is dropped. The next patch changes this so that the ref is dropped then
the tasklets are flushed.
Link: https://lore.kernel.org/r/20220421014042.26985-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions