diff options
author | Slavomir Kaslev <kaslevs@vmware.com> | 2018-11-16 11:27:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-17 21:34:11 -0800 |
commit | 95506588d2c1d72ca29adef8ae9bf771bcfb4ced (patch) | |
tree | fc99cbe4f4da3a1eee2583d4b63b10010e87e6fa /lib/argv_split.c | |
parent | df5a8ec64eed7fe45b556cfff503acd6429ab817 (diff) | |
download | linux-95506588d2c1d72ca29adef8ae9bf771bcfb4ced.tar.bz2 |
socket: do a generic_file_splice_read when proto_ops has no splice_read
splice(2) fails with -EINVAL when called reading on a socket with no splice_read
set in its proto_ops (such as vsock sockets). Switch this to fallbacks to a
generic_file_splice_read instead.
Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions