diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 8487bf136e5c..f6e49e466a95 100644 --- a/net/socket.c +++ b/net/socket.c @@ -803,7 +803,7 @@ static ssize_t sock_splice_read(struct file *file, loff_t *ppos, if (unlikely(!sock->ops->splice_read)) return -EINVAL; - return sock->ops->splice_read(sock, ppos, pipe, len, flags); + return sock->ops->splice_read(file, ppos, pipe, len, flags); } static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to) |