diff options
author | Pavel Begunkov <[email protected]> | 2022-06-13 06:30:06 +0100 |
---|---|---|
committer | Pavel Begunkov <[email protected]> | 2022-06-13 09:53:27 +0100 |
commit | d11d31fc5d8a96f707facee0babdcffaafa38de2 (patch) | |
tree | ec59fcf6033dbbd60c4856d5e49469fb52a8cc28 /lib/mpi/mpi-mod.c | |
parent | b0380bf6dad4601d92025841e2b7a135d566c6e3 (diff) |
io_uring: fix races with buffer table unregister
Fixed buffer table quiesce might unlock ->uring_lock, potentially
letting new requests to be submitted, don't allow those requests to
use the table as they will race with unregistration.
Reported-and-tested-by: van fantasy <[email protected]>
Fixes: bd54b6fe3316ec ("io_uring: implement fixed buffers registration similar to fixed files")
Signed-off-by: Pavel Begunkov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions