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: a46bbb57605b ("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
..
2022-02-12 12:07:48 +01:00
2021-01-29 18:16:10 +01:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2022-01-12 03:07:26 +01:00
2021-04-24 21:23:09 +02:00
2021-01-29 18:16:10 +01:00
2021-10-22 18:15:38 +02:00
2021-01-29 18:16:10 +01:00
2021-08-17 08:37:52 +02:00