[PATCH] net/ice: null field checks in ice_{r,t}x_queue_release
Zhang, Qi Z
qi.z.zhang at intel.com
Thu Oct 13 05:39:22 CEST 2022
> -----Original Message-----
> From: Markus Theil <markus.theil at tu-ilmenau.de>
> Sent: Wednesday, October 12, 2022 8:28 PM
> To: dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Tomasz Jonak <tomasz at graphiant.com>
> Subject: [PATCH] net/ice: null field checks in ice_{r,t}x_queue_release
>
> From: Tomasz Jonak <tomasz at graphiant.com>
>
> In case rte_eth_dma_zone_reserve fails in ice_tx_queue_setup
> ice_tx_queue_release is called on 0 allocated but not initialized txq struct.
> This may happen on ENOMEM condition, size exhaustion of
> memconfig->memzones array as well as some others.
>
Added:
Fixes: edec6dd83824 ("net/ice: remove redundant functions")
Cc: stable at dpdk.org
> Signed-off-by: Tomasz Jonak <tomasz at graphiant.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list