Skip to content
Commit 95506588 authored by Slavomir Kaslev's avatar Slavomir Kaslev Committed by David S. Miller
Browse files

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: default avatarSlavomir Kaslev <kaslevs@vmware.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent df5a8ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment