diff options
| author | Li Zhijian <[email protected]> | 2022-07-20 08:56:05 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2022-08-02 16:41:36 +0000 |
| commit | dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5 (patch) | |
| tree | 1f2a233cef221c6e42433722d63626e82a037d7e /fs/jbd2/commit.c | |
| parent | RDMA/srpt: Fix a use-after-free (diff) | |
| download | kernel-dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5.tar.gz kernel-dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5.zip | |
RDMA/rxe: Update wqe_index for each wqe error completion
Previously, if user space keeps sending abnormal wqe, queue.index will
keep increasing while qp->req.wqe_index doesn't. Once
qp->req.wqe_index==queue.index in next round, req_next_wqe() will treat
queue as empty. In such case, no new completion would be generated.
Update wqe_index for each wqe completion so that req_next_wqe() can get
next wqe properly.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
