On Fri, Apr 12, 2019 at 09:25:31PM -0700, Eric Biggers wrote:
> From: Eric Biggers <[email protected]>
> 
> The cavium crypto driver adds 'sizeof(struct ablkcipher_request)' to its
> request size because "the cryptd daemon uses this memory for request_ctx
> information".  This is incorrect and unnecessary; cryptd doesn't require
> wrapped algorithms to reserve extra request space.  So remove this.
> 
> Also remove the unneeded memset() of the tfm context to 0.
> It's already zeroed on allocation.
> 
> Signed-off-by: Eric Biggers <[email protected]>
> ---
>  drivers/crypto/cavium/cpt/cptvf_algs.c | 12 +-----------
>  1 file changed, 1 insertion(+), 11 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to