[PATCH 09/10] net/ixgbe/base: add missing buffer copy
Bruce Richardson
bruce.richardson at intel.com
Mon Jan 20 16:18:18 CET 2025
On Tue, Jan 14, 2025 at 06:10:19PM +0800, Yuan Wang wrote:
> From: Dan Nowlin <dan.nowlin at intel.com>
>
> Add missing buffer copy in ixgbe_aci_send_cmd_sc().
>
> In ixgbe_aci_send_cmd_sc() there is code to retry aq commands for
> certain commands. To achieve this the function makes a copy of the
> original ixgbe_aci_desc structure and allocates memory to store an
> original copy of the command buffer. This allows the original structure
> and buffer to be restored before attempting the command again. However,
> the function didn't perform the actual copy of the original command
> buffer into the copy buffer.
>
> Signed-off-by: Dan Nowlin <dan.nowlin at intel.com>
> Signed-off-by: Yuan Wang <yuanx.wang at intel.com>
> ---
> drivers/net/ixgbe/base/ixgbe_e610.c | 1 +
> 1 file changed, 1 insertion(+)
>
Fixes: 25b48e569f2f ("net/ixgbe/base: add E610 Admin Command Interface")
Cc: stable at dpdk.org
More information about the dev
mailing list