Kalesh AP 39a03b401e net/bnxt: fix double free in port start failure
During port start when bnxt_start_nic() fails, it tries to free
"intr_handle->intr_vec" but the variable is not set to NULL after that.
If port start fails, driver invokes bnxt_dev_stop() which will lead
to a double free of "intr_handle->intr_vec".

Fix it by removing the call to free "intr_handle->intr_vec" in the
bnxt_start_nic() failure path as it is anyway doing in bnxt_dev_stop().

Fixes: 9d276b439aaf ("net/bnxt: fix error handling in device start")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2021-04-07 04:56:03 +02:00
..
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-03-01 01:26:10 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-03-12 07:13:28 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-03-19 20:29:56 +01:00
2021-03-19 20:29:56 +01:00
2021-03-12 16:24:53 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00
2021-03-12 07:00:20 +01:00
2021-01-29 18:16:10 +01:00
2021-01-29 18:16:10 +01:00