net/hns3: fix interrupt vector freeing
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 13 Oct 2021 08:09:08 +0000 (16:09 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Oct 2021 11:59:13 +0000 (13:59 +0200)
commitf93819cf5abc047905c464fe4abf84fa823239dd
tree3241a80a773159b95a631641322c1021edb4fabc
parentbf38764acc5888502e8df863bc4638b4a047b0d4
net/hns3: fix interrupt vector freeing

The intr_handle->intr_vec is allocated by rte_zmalloc(), but freed by
free(), this patch fixes it.

Fixes: 02a7b55657b2 ("net/hns3: support Rx interrupt")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/hns3/hns3_ethdev_vf.c