aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2023-06-12 10:50:33 -0500
committerJason Gunthorpe <[email protected]>2023-06-14 14:12:43 -0300
commit0c7e314a6352664e12ec465f576cf039e95f8369 (patch)
tree28257ed5f3ab9a30e2c949c66960150790032ba6 /drivers/fpga/fpga-mgr.c
parent699826f4e30ab76a62c238c86fbef7e826639c8d (diff)
RDMA/rxe: Fix rxe_cq_post
A recent patch replaced a tasklet execution of cq->comp_handler by a direct call. While this made sense it let changes to cq->notify state be unprotected and assumed that the cq completion machinery and the ulp done callbacks were reentrant. The result is that in some cases completion events can be lost. This patch moves the cq->comp_handler call inside of the spinlock in rxe_cq_post which solves both issues. This is compatible with the matching code in the request notify verb. Fixes: 78b26a335310 ("RDMA/rxe: Remove tasklet call from rxe_cq.c") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions