linux-stable/drivers/crypto/cavium
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
..
cpt crypto: cavium - make structure algs static 2018-06-22 23:03:07 +08:00
nitrox crypto: cavium/nitrox - fix a DMA pool free failure 2019-01-09 17:38:44 +01:00
zip crypto: cavium/zip - Add missing single_release() 2019-10-11 18:20:53 +02:00
Makefile crypto: zip - Add ThunderX ZIP driver core 2017-03-09 18:34:25 +08:00