From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: LABBE Corentin <clabbe.montjoie@gmail.com>,
davem@davemloft.net, wens@csie.org, linux-crypto@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
stable@vger.kernel.org
Subject: Re: [PATCH] crypto: sun4i-ss: add missing statesize
Date: Sun, 8 Nov 2015 09:50:03 -0800 [thread overview]
Message-ID: <20151108175003.GT6114@lukather> (raw)
In-Reply-To: <20151106045639.GA14722@gondor.apana.org.au>
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
On Fri, Nov 06, 2015 at 12:56:39PM +0800, Herbert Xu wrote:
> On Thu, Nov 05, 2015 at 08:07:19AM -0800, Maxime Ripard wrote:
> >
> > On Thu, Nov 05, 2015 at 08:48:57AM +0100, LABBE Corentin wrote:
> > > sun4i-ss implementaton of md5/sha1 is via ahash algorithms.
> > > A recent change make impossible to load them without giving statesize.
> >
> > Which one?
>
> We recently disabled ahash drivers that do not declare statesize
> because it can lead to a crash when the driver is used through
> algif.
"Recently" is relative and really doesn't help.
Having the commit ID that made this change is an absolute reference,
and really helps to identify when that behaviour changed.
> Not declaring statesize is a bug anyway but the fact that it
> is exported through algif makes it much worse.
>
> > > This patch specifiy statesize for sha1 and md5.
> > >
> > > Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
> > > Cc: stable@vger.kernel.org
> >
> > Please also add a Fixes tag (and the stable version it applies to).
>
> I don't see the point for a fixes tag as it would simply refer
> to the original patch-set that added the driver.
What's the problem with that?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-11-08 17:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 7:48 [PATCH] crypto: sun4i-ss: add missing statesize LABBE Corentin
2015-11-05 10:34 ` Chen-Yu Tsai
2015-11-05 16:07 ` Maxime Ripard
2015-11-06 4:56 ` Herbert Xu
2015-11-08 17:50 ` Maxime Ripard [this message]
2015-11-08 18:22 ` Christoph Biedl
2015-11-09 3:58 ` Herbert Xu
2015-11-11 22:22 ` Maxime Ripard
-- strict thread matches above, loose matches on Subject: below --
2015-11-13 13:10 LABBE Corentin
2015-11-17 14:09 ` Herbert Xu
2015-11-17 14:26 ` LABBE Corentin
2015-11-17 14:27 ` Herbert Xu
2015-11-17 21:51 ` Greg KH
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=20151108175003.GT6114@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=clabbe.montjoie@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=stable@vger.kernel.org \
--cc=wens@csie.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).