395d41fbb1
In the iavf_init_arq function, if an exception occurs in the iavf_config_arq_regs function, and the previously applied ARQ (Admin Receive Queue) bufs resource is released. This patch maintains the same modification as the iavf_init_asq function to roll back resources. Fixes: 87aca6d8d8a4 ("net/iavf/base: fix command buffer memory leak") Cc: stable@dpdk.org Signed-off-by: Qiming Chen <chenqiming_huawei@163.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2019-2021 Intel Corporation */ Intel® IAVF driver ================= This directory contains source code of FreeBSD IAVF driver of version cid-avf.2021.08.16.tar.gz released by the team which develops basic drivers for any IAVF NIC. The directory of base/ contains the original source package. Updating the driver =================== NOTE: The source code in this directory should not be modified apart from the following file(s): iavf_osdep.h iavf_impl.c