[PATCH 1/5] crypto: Fully restore ahash request before completing

Herbert Xu herbert at gondor.apana.org.au
Sun Jan 5 18:29:27 EST 2014


On Sun, Jan 05, 2014 at 04:33:21PM +0100, Marek Vasut wrote:
> On Sunday, January 05, 2014 at 02:05:29 PM, Herbert Xu wrote:
> > On Tue, Dec 10, 2013 at 08:26:19PM +0100, Marek Vasut wrote:
> > > When finishing the ahash request, the ahash_op_unaligned_done() will
> > > call complete() on the request. Yet, this will not call the correct
> > > complete callback. The correct complete callback was previously stored
> > > in the requests' private data, as seen in ahash_op_unaligned(). This
> > > patch restores the correct complete callback and .data field of the
> > > request before calling complete() on it.
> > > 
> > > Signed-off-by: Marek Vasut <marex at denx.de>
> > > Cc: Herbert Xu <herbert at gondor.apana.org.au>
> > > Cc: David S. Miller <davem at davemloft.net>
> > > Cc: Fabio Estevam <fabio.estevam at freescale.com>
> > > Cc: Shawn Guo <shawn.guo at linaro.org>
> > > Cc: linux-crypto at vger.kernel.org
> > 
> > All patches applied.  Thanks!
> 
> Uh, I think this was not intended to happen! We still discuss this patch will 
> need rework, do we not?

Please send your new fixes as incremental patches on top of this.

Thanks,
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list