summaryrefslogtreecommitdiff
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorDavid Arinzon <darinzon@amazon.com>2023-12-11 09:27:58 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-13 03:07:31 +0300
commit41db6f99b5489a0d2ef26afe816ef0c6118d1d47 (patch)
treeb3590e7df0a3a5a4350e38d49f8d2690f82f57ae /drivers/hwtracing
parentf99cd56230f56c8b6b33713c5be4da5d6766be1f (diff)
downloadlinux-41db6f99b5489a0d2ef26afe816ef0c6118d1d47.tar.xz
net: ena: Destroy correct number of xdp queues upon failure
The ena_setup_and_create_all_xdp_queues() function freed all the resources upon failure, after creating only xdp_num_queues queues, instead of freeing just the created ones. In this patch, the only resources that are freed, are the ones allocated right before the failure occurs. Fixes: 548c4940b9f1 ("net: ena: Implement XDP_TX action") Signed-off-by: Shahar Itzko <itzko@amazon.com> Signed-off-by: David Arinzon <darinzon@amazon.com> Link: https://lore.kernel.org/r/20231211062801.27891-2-darinzon@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions