Re: [dpdk-dev] [PATCH] net/bnxt: fix double free in port start failure

2021-04-07 Thread Ajit Khaparde
On Wed, Mar 31, 2021 at 7:31 PM Kalesh A P < kalesh-anakkur.pura...@broadcom.com> wrote: > From: Kalesh AP > > 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_s

[dpdk-dev] [PATCH] net/bnxt: fix double free in port start failure

2021-03-31 Thread Kalesh A P
From: Kalesh AP 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