net/iavf: fix Rx queue IRQ resource leak
authorQiming Chen <chenqiming_huawei@163.com>
Fri, 10 Sep 2021 06:54:57 +0000 (14:54 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 28 Sep 2021 03:33:44 +0000 (05:33 +0200)
commitad5629de9a7ba367886c6619a1eeb56c36fd2748
tree7c650b7d0910ac1f7f8f1806291bc2277ae3257f
parent953e74e6b73a876d6f149fd759bd0423e5438247
net/iavf: fix Rx queue IRQ resource leak

In the iavf_config_rx_queues_irqs function, the memory pointed to by the
intr_handle->intr_vec and qv_map addresses is not released in the
subsequent hook branch, resulting in resource leakage.

Fixes: f593944fc988 ("net/iavf: enable IRQ mapping configuration for large VF")
Cc: stable@dpdk.org
Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c