Files
linux/io_uring
Jens Axboe e12d7a46f6 io_uring/msg_ring: fix missing lock on overflow for IOPOLL
If the target ring is configured with IOPOLL, then we always need to hold
the target ring uring_lock before posting CQEs. We could just grab it
unconditionally, but since we don't expect many target rings to be of this
type, make grabbing the uring_lock conditional on the ring type.

Link: https://lore.kernel.org/io-uring/Y8krlYa52%2F0YGqkg@ip-172-31-85-199.ec2.internal/
Reported-by: Xingyuan Mo <hdthky0@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-01-19 10:43:59 -07:00
..
2022-08-12 17:01:00 -06:00
2022-12-07 06:47:13 -07:00
2022-12-19 08:28:28 -07:00
2022-09-21 13:15:02 -06:00
2022-12-07 06:47:13 -07:00
2022-12-07 06:47:13 -07:00
2022-12-07 06:47:13 -07:00
2023-01-13 07:32:46 -07:00
2022-10-07 12:25:30 -06:00