diff options
author | Pavel Begunkov <[email protected]> | 2022-10-21 11:16:40 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-10-22 08:43:03 -0600 |
commit | edf81438799ccead7122948446d7e44b083e788d (patch) | |
tree | c4d5c3ce1ed31c57c03947566bccd2d33e18f55e /lib/test_fortify/write_overflow-strncpy-src.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: <[email protected]> # 6.0
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/2db3c7f16bb6efab4b04569cd16e6242b40c5cb3.1666346426.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions