summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb_low.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2016-08-26 16:45:13 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-08 05:15:02 +0200
commit8540571e01f973d321b0821f4f32ed6e9ae8263c (patch)
tree21d05b8003d5c0e1f893b5dfc613d7347540f5a9 /arch/powerpc/mm/slb_low.S
parentpowerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE (diff)
downloadlinux-8540571e01f973d321b0821f4f32ed6e9ae8263c.tar.xz
linux-8540571e01f973d321b0821f4f32ed6e9ae8263c.zip
powerpc/32: Fix again csum_partial_copy_generic()
Commit 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()") introduced a bug when destination address is odd and len is lower than cacheline size. In that case the resulting csum value doesn't have to be rotated one byte because the cache-aligned copy part is skipped so no alignment is performed. Fixes: 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()") Cc: stable@vger.kernel.org # v4.6+ Reported-by: Alessio Igor Bogani <alessio.bogani@elettra.eu> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Tested-by: Alessio Igor Bogani <alessio.bogani@elettra.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/slb_low.S')
0 files changed, 0 insertions, 0 deletions