Home
last modified time | relevance | path

Searched hist:95506588 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/
H A Dsocket.c95506588 Fri Nov 16 03:27:53 CST 2018 Slavomir Kaslev <kaslevs@vmware.com> 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>
95506588 Fri Nov 16 03:27:53 CST 2018 Slavomir Kaslev <kaslevs@vmware.com> 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>