diff options
| author | Pavel Begunkov <[email protected]> | 2022-10-21 10:16:40 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-10-22 14:43:03 +0000 |
| commit | edf81438799ccead7122948446d7e44b083e788d (patch) | |
| tree | c4d5c3ce1ed31c57c03947566bccd2d33e18f55e /drivers/platform/x86/intel/pmt/class.c | |
| parent | net: flag sockets supporting msghdr originated zerocopy (diff) | |
| download | kernel-edf81438799ccead7122948446d7e44b083e788d.tar.gz kernel-edf81438799ccead7122948446d7e44b083e788d.zip | |
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 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
