Message ID | 1442841229-8122-5-git-send-email-sergey.senozhatsky@gmail.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Herbert Xu |
Headers | show |
diff --git a/crypto/lz4hc.c b/crypto/lz4hc.c index a1d3b5b..34ef3de 100644 --- a/crypto/lz4hc.c +++ b/crypto/lz4hc.c @@ -78,7 +78,8 @@ static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, static struct crypto_alg alg_lz4hc = { .cra_name = "lz4hc", - .cra_flags = CRYPTO_ALG_TYPE_COMPRESS, + .cra_flags = CRYPTO_ALG_TYPE_COMPRESS | + CRYPTO_ALG_TFM_MAY_SHARE, .cra_ctxsize = sizeof(struct lz4hc_ctx), .cra_module = THIS_MODULE, .cra_list = LIST_HEAD_INIT(alg_lz4hc.cra_list),
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> --- crypto/lz4hc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)