]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring/net: use right helpers for async_data
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 18 Aug 2022 11:38:34 +0000 (12:38 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Aug 2022 13:27:20 +0000 (07:27 -0600)
commit3fad24f8f2906789f6b6c8ed7553bb151dbcd9f6
tree6ccc56e361aac3abe0badfb88d0708ca00968106
parentccbecff5e4e1e5cdbbc6fe583f04c4ff3ff711bc
io_uring/net: use right helpers for async_data

There is another spot where we check ->async_data directly instead of
using req_has_async_data(), which is the way to do it, fix it up.

Fixes: 89d68fca00741 ("io_uring: add netmsg cache")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/42f33b9a81dd6ae65dda92f0372b0ff82d548517.1660822636.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c