Re: [PATCH 2.6.18] crypto/api: optional cleanup functionalitiy

From: Herbert Xu
Date: Tue Oct 31 2006 - 03:21:55 EST


Era Scarecrow <rtcvb32@xxxxxxxxx> wrote:
> From: Ryan Cecil <rtcvb32@xxxxxxxxxx>
>
> Adds the function call cleanup to all crypto/cipher/digest calls. Certain
> select ciphers require a larger dynamic memory allocation, which isn't cleaned
> when closed. The cleanup code will be called to clean those up before being
> released.
>
> Signed-off-by: Ryan Cecil <rtcvb32@xxxxxxxxxx>

We have the cra_exit hook which already does this.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/