diff options
author | David Howells <[email protected]> | 2023-05-22 14:50:00 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-05-24 08:42:16 -0600 |
commit | 67178fd066d53d5a6cada1cdc6399d02b68b708e (patch) | |
tree | dc9b215e3ff2acaeeb02eef20726b4b0a80a4b14 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | b0072734ffaa3f5fec64058d0d3333765d789bc0 (diff) |
net: Make sock_splice_read() use copy_splice_read() by default
Make sock_splice_read() use copy_splice_read() by default as
file_splice_read() will return immediately with 0 as a socket has no
pagecache and is a zero-size file.
Signed-off-by: David Howells <[email protected]>
cc: "David S. Miller" <[email protected]>
cc: Eric Dumazet <[email protected]>
cc: Jakub Kicinski <[email protected]>
cc: Paolo Abeni <[email protected]>
cc: Christoph Hellwig <[email protected]>
cc: Al Viro <[email protected]>
cc: Jens Axboe <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions