net/octeontx: fix access to indirect buffers
authorHarman Kalra <hkalra@marvell.com>
Mon, 20 Sep 2021 14:49:25 +0000 (20:19 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 21 Sep 2021 08:42:31 +0000 (10:42 +0200)
commit9eb5cb3b11cc97e8e0c61ee216bd586b4793335f
treed1712d85a8d9e74721b5b63fb21f8f2924e688c5
parentdd9525a7154e749a5620ccf0c4806011d2e696f3
net/octeontx: fix access to indirect buffers

Issue has been observed where fields of indirect buffers are
accessed after being set free by the diver. Also fixing freeing
of direct buffers to correct aura.

Fixes: 5cbe184802aa ("net/octeontx: support fast mbuf free")
Cc: stable@dpdk.org
Signed-off-by: David George <david.george@sophos.com>
Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx/octeontx_rxtx.h