]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring/net: fail zc sendmsg when unsupported by socket
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 21 Oct 2022 10:16:41 +0000 (11:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Oct 2022 14:43:03 +0000 (08:43 -0600)
commit0010a3d59bb319a277cd58de54f020b1ceac8700
treebc25e7e05dfb6da9bdb09a9b1b3481eb9de59b57
parentd24654e699df72a9b2bcc35568048aef7f1a2bbb
io_uring/net: fail zc sendmsg when unsupported by socket

The previous patch fails zerocopy send requests for protocols that don't
support it, do the same for zerocopy sendmsg.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0854e7bb4c3d810a48ec8b5853e2f61af36a0467.1666346426.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c