git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c720816
)
vfs: fix vmplice_to_user()
author
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 27 May 2014 14:41:16 +0000
(16:41 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 28 May 2014 05:54:52 +0000
(
01:54
-0400)
Commit
6130f5315ee8
"switch vmsplice_to_user() to copy_page_to_iter()" in
v3.15-rc1 broke vmsplice(2).
This patch fixes two bugs:
- count is not initialized to a proper value, which resulted in no data
being copied
- if rw_copy_check_uvector() returns negative then the iov might be leaked.
Tested OK.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/splice.c
patch
|
blob
|
history
diff --cc
fs/splice.c
Simple merge