Skip to content

xtensa: fix access check in csum_and_copy_from_user

Al Viro linux-arch lkml netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest20 patches 12 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20xtensa: fix access check in csum_and_copy_from_userarch/xtensa/include/asm/checksum.h+1 -10 replies
2/20skb_copy_and_csum_bits(): don't bother with the last argumentdrivers/net/ethernet/sun/sunvnet_common.c include/linux/skbuff.h net/core/skbuff.c +5 more+15 -140 replies
3/20icmp_push_reply(): reorder adding the checksum upnet/ipv4/icmp.c+4 -40 replies
4/20unify generic instances of csum_partial_copy_nocheck()arch/alpha/include/asm/checksum.h arch/arm/include/asm/checksum.h arch/c6x/include/asm/checksum.h +19 more+24 -1196 replies
5/20csum_partial_copy_nocheck(): drop the last argumentarch/alpha/include/asm/checksum.h arch/alpha/lib/csum_partial_copy.c arch/arm/include/asm/checksum.h +22 more+47 -440 replies
6/20csum_and_copy_..._user(): pass 0xffffffff instead of 0 as initial sumlib/iov_iter.c+3 -30 replies
7/20saner calling conventions for csum_and_copy_..._user()arch/alpha/include/asm/checksum.h arch/alpha/lib/csum_partial_copy.c arch/arm/include/asm/checksum.h +16 more+183 -2870 replies
8/20alpha: propagate the calling convention changes down to csum_partial_copy.c helpersarch/alpha/lib/csum_partial_copy.c+69 -880 replies
9/20arm: propagate the calling convention changes down to csum_partial_copy_from_user()arch/arm/include/asm/checksum.h arch/arm/lib/csumpartialcopy.S arch/arm/lib/csumpartialcopygeneric.S +1 more+9 -260 replies
10/20m68k: get rid of zeroing destination on error in csum_and_copy_from_user()arch/m68k/lib/checksum.c+15 -640 replies
11/20sh: propage the calling conventions change down to csum_partial_copy_generic()arch/sh/include/asm/checksum_32.h arch/sh/lib/checksum.S+39 -1000 replies
12/20i386: propagate the calling conventions change down to csum_partial_copy_generic()arch/x86/include/asm/checksum_32.h arch/x86/lib/checksum_32.S+47 -880 replies
13/20sparc32: propagate the calling conventions change down to __csum_partial_copy_sparc_generic()arch/sparc/include/asm/checksum_32.h arch/sparc/lib/checksum_32.S arch/sparc/mm/fault_32.c+44 -2130 replies
14/20mips: csum_and_copy_{to,from}_user() are never called under KERNEL_DSarch/mips/include/asm/checksum.h+7 -250 replies
15/20mips: __csum_partial_copy_kernel() has no users leftarch/mips/include/asm/checksum.h arch/mips/lib/csum_partial.S+0 -60 replies
16/20mips: propagate the calling convention change down into __csum_partial_copy_..._user()arch/mips/include/asm/checksum.h arch/mips/lib/csum_partial.S+89 -1950 replies
17/20xtensa: propagate the calling conventions change down into csum_partial_copy_generic()arch/xtensa/include/asm/checksum.h arch/xtensa/lib/checksum.S+19 -680 replies
18/20sparc64: propagate the calling convention changes down to __csum_partial_copy_...()arch/sparc/include/asm/checksum.h arch/sparc/include/asm/checksum_32.h arch/sparc/include/asm/checksum_64.h +3 more+11 -460 replies
19/20amd64: switch csum_partial_copy_generic() to new calling conventionsarch/x86/include/asm/checksum_64.h arch/x86/lib/csum-copy_64.S arch/x86/lib/csum-wrappers_64.c+94 -1230 replies
20/20ppc: propagate the calling conventions change down to csum_partial_copy_generic()arch/powerpc/include/asm/checksum.h arch/powerpc/lib/checksum_32.S arch/powerpc/lib/checksum_64.S +1 more+46 -1038 replies

Reviews trailers per patch

2 of 20 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerMax Filippov
1/20
2/20
3/20
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20A-b
14/20
15/20
16/20
17/20R-b T-b
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread