Searched hist:"7392 ed17" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | iov_iter.c | 7392ed17 Sat Jun 11 15:44:21 CDT 2022 Al Viro <viro@zeniv.linux.org.uk> iov_iter_get_pages{,_alloc}(): cap the maxsize with MAX_RW_COUNT
All callers can and should handle iov_iter_get_pages() returning fewer pages than requested. All in-kernel ones do. And it makes the arithmetical overflow analysis much simpler...
Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|