OSDN Git Service

RDMA/rxe: Replace __rxe_do_task by rxe_run_task
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 30 Jun 2022 19:04:26 +0000 (14:04 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 22 Jul 2022 20:43:00 +0000 (17:43 -0300)
commitc2ea08ca5e4a85d0adde7a87c239a2659a2e6bbf
treea8ba9b12ec9058136cc5884c2946a913a0d0c79f
parenteff6d998ca297cb0b2e53b032a56cf8e04dd8b17
RDMA/rxe: Replace __rxe_do_task by rxe_run_task

In rxe_req.c replace calls to __rxe_do_task() by calls to rxe_run_task(..,
0). Using __rxe_do_task is an error because the completer tasklet is not
designed to be re-entrant and __rxe_do_task() should only be called when
it is clear that no one else could be calling the completer tasklet as is
the case in rxe_qp.c where this call is used in safe environments.

Link: https://lore.kernel.org/r/20220630190425.2251-10-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_req.c