Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1478994
| From | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: powerpc/32: fix again csum_partial_copy_generic() |
| Date | 2016-09-08 11:50 +0200 |
| Message-ID | <sf482-44o-33@gated-at.bofh.it> (permalink) |
| References | <saqCd-8pO-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2016-26-08 at 14:45:13 UTC, Christophe Leroy wrote:
> 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
> 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>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/8540571e01f973d321b0821f4f
cheers
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] powerpc/32: fix again csum_partial_copy_generic() Christophe Leroy <christophe.leroy@c-s.fr> - 2016-08-26 16:50 +0200 Re: powerpc/32: fix again csum_partial_copy_generic() Michael Ellerman <patch-notifications@ellerman.id.au> - 2016-09-08 11:50 +0200
csiph-web