From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Christophe Leroy <christophe.leroy@c-s.fr>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>, Scott Wood <oss@buserror.net>
Cc: Antoine Blangy <antoine.blangy@c-s.fr>,
Alessio Igor Bogani <alessio.bogani@elettra.eu>,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: powerpc/32: fix again csum_partial_copy_generic()
Date: Thu, 8 Sep 2016 19:47:51 +1000 (AEST) [thread overview]
Message-ID: <3sVFr73rMsz9s3v@ozlabs.org> (raw)
In-Reply-To: <20160826144513.A71561A245B@localhost.localdomain>
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
prev parent reply other threads:[~2016-09-08 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 14:45 [PATCH] powerpc/32: fix again csum_partial_copy_generic() Christophe Leroy
2016-09-08 9:47 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3sVFr73rMsz9s3v@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=alessio.bogani@elettra.eu \
--cc=antoine.blangy@c-s.fr \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@c-s.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=oss@buserror.net \
--cc=paulus@samba.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).