Skip to content
Commit 73e800ec authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2a89b674
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment