linux-stable/drivers/crypto/cavium/zip
Wei Yongjun 3683dd7074 crypto: cavium/zip - Add missing single_release()
commit c552ffb5c9 upstream.

When using single_open() for opening, single_release() should be
used instead of seq_release(), otherwise there is a memory leak.

Fixes: 09ae5d37e0 ("crypto: zip - Add Compression/Decompression statistics")
Cc: <stable@vger.kernel.org>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-11 18:20:53 +02:00
..
common.h crypto: cavium - Limit result reading attempts 2018-04-21 00:58:35 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zip_crypto.c crypto: cavium - Fix fallout from CONFIG_VMAP_STACK 2018-04-21 00:58:34 +08:00
zip_crypto.h
zip_deflate.c crypto: cavium - Limit result reading attempts 2018-04-21 00:58:35 +08:00
zip_deflate.h
zip_device.c crypto: cavium - Fix smp_processor_id() warnings 2018-04-21 00:58:36 +08:00
zip_device.h
zip_inflate.c crypto: cavium - Limit result reading attempts 2018-04-21 00:58:35 +08:00
zip_inflate.h
zip_main.c crypto: cavium/zip - Add missing single_release() 2019-10-11 18:20:53 +02:00
zip_main.h crypto: cavium - Fix statistics pending request value 2018-04-21 00:58:35 +08:00
zip_mem.c
zip_mem.h
zip_regs.h crypto: cavium - Remove unnecessary parentheses 2018-04-28 16:09:38 +08:00