numam-dpdk/drivers/compress/isal
Stephen Hemminger abdb798ae2 compress/isal: fix use after free
The release function was using qp->stream after already
releasing it and the null pointer checking was missing.

Also since rte_free(NULL) is a no-op, remove unnecessary
checks for NULL.

Coverity issure: 340860
Fixes: dc49e6aa48 ("compress/isal: add ISA-L compression functionality")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Lee Daly <lee.daly@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
2019-07-05 14:52:25 +02:00
..
isal_compress_pmd_ops.c compress/isal: fix use after free 2019-07-05 14:52:25 +02:00
isal_compress_pmd_private.h compress/isal: add ISA-L decomp functionality 2018-05-10 17:46:20 +01:00
isal_compress_pmd.c compress/isal: add appropriate flag on overflow 2019-04-02 16:50:24 +02:00
Makefile compress/isal: add device init and de-init 2018-05-10 17:46:20 +01:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_pmd_isal_version.map compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00