Files
linux/arch/powerpc/lib
Christophe Leroy 8540571e01 powerpc/32: Fix again csum_partial_copy_generic()
Commit 7aef413656 ("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: 7aef413656 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()")
Cc: [email protected] # v4.6+
Reported-by: Alessio Igor Bogani <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Tested-by: Alessio Igor Bogani <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
2016-09-08 13:15:02 +10:00
..
…
2014-07-22 15:56:04 +10:00
2016-06-14 13:58:26 +10:00