Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into master

Pull xtensa csum regression fix from Al Viro:
"Max Filippov caught a breakage introduced in xtensa this cycle
by the csum_and_copy_..._user() series.

Cut'n'paste from the wrong source - the check that belongs
in csum_and_copy_to_user() ended up both there and in
csum_and_copy_from_user()"

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
xtensa: fix access check in csum_and_copy_from_user

+1 -1
+1 -1
arch/xtensa/include/asm/checksum.h
··· 57 57 __wsum csum_and_copy_from_user(const void __user *src, void *dst, 58 58 int len, __wsum sum, int *err_ptr) 59 59 { 60 - if (access_ok(dst, len)) 60 + if (access_ok(src, len)) 61 61 return csum_partial_copy_generic((__force const void *)src, dst, 62 62 len, sum, err_ptr, NULL); 63 63 if (len)