projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Truncate recvfrom and sendto length to INT_MAX.
[cascardo/linux.git]
/
fs
/
pipe.c
diff --git
a/fs/pipe.c
b/fs/pipe.c
index
279eef9
..
37eb1eb
100644
(file)
--- a/
fs/pipe.c
+++ b/
fs/pipe.c
@@
-382,7
+382,7
@@
pipe_read(struct kiocb *iocb, const struct iovec *_iov,
error = ops->confirm(pipe, buf);
if (error) {
if (!ret)
-
error = ret
;
+
ret = error
;
break;
}