numam-dpdk/drivers/net/bnxt
Weiguo Li a2dfcd1ff6 net/bnxt: fix null dereference in session cleanup
In tf_session_create(), there is a case that with 'tfp->session' still
be NULL and run 'goto cleanup', which will leads to a null dereference
by 'tfp_free(tfp->session->core_data)' in the cleanup.

Fixes: a46bbb5760 ("net/bnxt: update multi device design")
Cc: stable@dpdk.org

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2022-03-07 06:13:05 +01:00
..
hcapi/cfa net/bnxt: cleanup ULP parser and mapper 2021-07-08 02:02:14 +02:00
tf_core net/bnxt: fix null dereference in session cleanup 2022-03-07 06:13:05 +01:00
tf_ulp net/bnxt: make DMAC field optional for F2 match 2022-02-09 06:18:25 +01:00
bnxt_cpr.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
bnxt_cpr.h net/bnxt: refactor datapath stop for reuse 2022-01-12 02:59:05 +01:00
bnxt_ethdev.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
bnxt_filter.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_filter.h net/bnxt: enhance RSS action support 2021-10-12 22:36:10 +02:00
bnxt_flow.c net/bnxt: fix flow create when RSS is disabled 2022-01-12 02:57:55 +01:00
bnxt_hwrm.c net/bnxt: fix VF resource allocation strategy 2022-01-25 05:45:28 +01:00
bnxt_hwrm.h net/bnxt: fix VF resource allocation strategy 2022-01-25 05:45:28 +01:00
bnxt_irq.c drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bnxt_irq.h net/bnxt: rename a member to avoid conflict 2021-03-12 07:13:49 +01:00
bnxt_nvm_defs.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_reps.c net/bnxt: fix ring calculation for representors 2022-02-09 18:37:22 +01:00
bnxt_reps.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_ring.c net/bnxt: set HW coalescing parameters 2022-02-09 06:49:01 +01:00
bnxt_ring.h net/bnxt: fix ring and context memory allocation 2021-07-08 05:55:52 +02:00
bnxt_rxq.c net/bnxt: fix crash by validating pointer 2022-01-12 03:00:12 +01:00
bnxt_rxq.h net/bnxt: create aggregation rings when needed 2021-10-12 22:35:13 +02:00
bnxt_rxr.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
bnxt_rxr.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
bnxt_rxtx_vec_avx2.c net/bnxt: remove software prefetches from AVX2 Rx 2021-11-16 23:57:27 +01:00
bnxt_rxtx_vec_common.h ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxtx_vec_neon.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxtx_vec_sse.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_stats.c net/bnxt: fix xstats query 2022-01-12 03:07:26 +01:00
bnxt_stats.h net/bnxt: drop unused attribute 2021-04-24 21:23:09 +02:00
bnxt_txq.c ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_txq.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_txr.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
bnxt_txr.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
bnxt_util.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_util.h net/bnxt: add action SRAM translation 2021-07-08 01:56:51 +02:00
bnxt_vnic.c net/bnxt: fix memzone allocation per VNIC 2022-01-25 05:45:28 +01:00
bnxt_vnic.h net/bnxt: fix memzone allocation per VNIC 2022-01-25 05:45:28 +01:00
bnxt.h ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
hsi_struct_def_dpdk.h remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
meson.build net/bnxt: remove stale compilation option 2021-10-28 19:58:54 +02:00
rte_pmd_bnxt.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
rte_pmd_bnxt.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00