net/bnxt: fix freeing mbuf
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 3 Dec 2020 20:47:31 +0000 (12:47 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:05 +0000 (16:03 +0100)
commit553347153d84c827b78c9700996906447d73e1fe
treed0765d58778b82bd46d290afd4210b774df2794b
parentd35a08b87f2a501c1d0210ffb0df4672320c646e
net/bnxt: fix freeing mbuf

mbufs are being allocated using rte_mbuf_raw_alloc().
Use corresponding rte_mbuf_raw_free() to free mbuf.

Fixes: 84799b868da9 ("net/bnxt: fix freeing mbuf")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_reps.c