commit | 73e800ecb67bf24c0508c63350c1dc509f00b1ce | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Feb 16 14:56:36 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri May 29 16:11:28 2020 -0400 |
tree | 7f5d2b239ddd0884a20990caafb3b9a80da2c247 | |
parent | 2a89b674fd6834dacf2a6edfbdf5607c163dd36e [diff] |
x86_64: csum_..._copy_..._user(): switch to unsafe_..._user() We already have stac/clac pair around the calls of csum_partial_copy_generic(). Stretch that area back, so that it covers the preceding loop (and convert the loop body from __{get,put}_user() to unsafe_{get,put}_user()). That brings the beginning of the areas to the earlier access_ok(), which allows to convert them into user_access_{begin,end}() ones. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>