diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-10-21 11:16:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-22 08:43:03 -0600 |
commit | edf81438799ccead7122948446d7e44b083e788d (patch) | |
tree | c4d5c3ce1ed31c57c03947566bccd2d33e18f55e /lib/mpi/mpi-inv.c | |
parent | e993ffe3da4bcddea0536b03be1031bf35cd8d85 (diff) |
io_uring/net: fail zc send when unsupported by socket
If a protocol doesn't support zerocopy it will silently fall back to
copying. This type of behaviour has always been a source of troubles
so it's better to fail such requests instead.
Cc: <stable@vger.kernel.org> # 6.0
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/2db3c7f16bb6efab4b04569cd16e6242b40c5cb3.1666346426.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions