On Tue, Sep 27, 2022 at 9:00 AM Kalesh A P wrote: > > From: Kalesh AP > > Driver allocates "bp->rep_info" inside bnxt_init_rep_info() which is > invoked from bnxt_rep_port_probe(). But the memory is freed inside > bnxt_uninit_resources(), which is wrong. As a result, after error > recovery bp->rep_info will be NULL. The memory should have freed inside > bnxt_drv_uninit() to maintain symmetry of calls. > > Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") > Cc: stable@dpdk.org > > Signed-off-by: Kalesh AP > Reviewed-by: Ajit Khaparde > Reviewed-by: Somnath Kotur Patch applied to dpdk-next-net-brcm, Thanks