io_uring/msg_ring: check for dead submitter task
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Jul 2024 14:40:29 +0000 (08:40 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Jul 2024 14:45:27 +0000 (08:45 -0600)
commitb0727b1243cd084260e47c51c7950020bfddb636
tree14ad84b98a95793c3e12accb92f3075216fca898
parent50cf5f3842af3135b88b041890e7e12a74425fcb
io_uring/msg_ring: check for dead submitter task

The change for improving the handling of the target CQE posting
inadvertently dropped the NULL check for the submitter task on the target
ring, reinstate that.

Fixes: 0617bb500bfa ("io_uring/msg_ring: improve handling of target CQE posting")
Reported-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/msg_ring.c