On Tue, Sep 27, 2022 at 9:00 AM Kalesh A P <[email protected]> wrote: > > From: Kalesh AP <[email protected]> > > 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: [email protected] > > Signed-off-by: Kalesh AP <[email protected]> > Reviewed-by: Ajit Khaparde <[email protected]> > Reviewed-by: Somnath Kotur <[email protected]> Patch applied to dpdk-next-net-brcm, Thanks
smime.p7s
Description: S/MIME Cryptographic Signature

