commit | 5fff09bc141570cd15c118b097b17dec832b517f | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Tue Jul 21 15:00:35 2020 -0700 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 21 19:08:25 2020 -0400 |
tree | 6a6d9d2ad48710aae48695e2b48a1beae5d5b817 | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 [diff] |
xtensa: fix access check in csum_and_copy_from_user Commit d341659f470b ("xtensa: switch to providing csum_and_copy_from_user()") introduced access check, but incorrectly tested dst instead of src. Fix access_ok argument in csum_and_copy_from_user. Cc: Al Viro <viro@zeniv.linux.org.uk> Fixes: d341659f470b ("xtensa: switch to providing csum_and_copy_from_user()") Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>