]> git.baikalelectronics.ru Git - kernel.git/commit
x86: switch both 32bit and 64bit to providing csum_and_copy_from_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 21:50:00 +0000 (16:50 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 May 2020 20:11:48 +0000 (16:11 -0400)
commit93dadc0cd54d4c3a2adc749b41d664f7f1eb4973
tree1a4dac4be2cf16690a41bf9e80cb34d812df7c80
parente1f0df94edb2d4929a138833bb82d1e075dac040
x86: switch both 32bit and 64bit to providing csum_and_copy_from_user()

... rather than messing with the wrapper.  As a side effect,
32bit variant gets access_ok() into it and can be switched to
user_access_begin()/user_access_end()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/checksum.h
arch/x86/include/asm/checksum_32.h
arch/x86/include/asm/checksum_64.h
arch/x86/lib/csum-wrappers_64.c