lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC][PATCH 2/9] crypto/lzo: set CRYPTO_ALG_TFM_MAY_SHARE
    Date
    Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
    ---
    crypto/lzo.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/crypto/lzo.c b/crypto/lzo.c
    index 4b3e925..994667e 100644
    --- a/crypto/lzo.c
    +++ b/crypto/lzo.c
    @@ -82,7 +82,8 @@ static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src,

    static struct crypto_alg alg = {
    .cra_name = "lzo",
    - .cra_flags = CRYPTO_ALG_TYPE_COMPRESS,
    + .cra_flags = CRYPTO_ALG_TYPE_COMPRESS |
    + CRYPTO_ALG_TFM_MAY_SHARE,
    .cra_ctxsize = sizeof(struct lzo_ctx),
    .cra_module = THIS_MODULE,
    .cra_init = lzo_init,
    --
    2.6.0.rc2.10.gf4d9753


    \
     
     \ /
      Last update: 2015-09-21 15:41    [W:3.509 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site