Re: [PATCH] socket: do a generic_file_splice_read when proto_ops has no splice_read

2018-11-17 Thread David Miller
From: kasl...@vmware.com Date: Fri, 16 Nov 2018 11:27:53 +0200 > From: Slavomir Kaslev > > 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. > > Si

[PATCH] socket: do a generic_file_splice_read when proto_ops has no splice_read

2018-11-16 Thread kaslevs
From: Slavomir Kaslev 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 --- net/socket.c | 2 +- 1 file changed, 1 inserti