Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice: fix null function pointer call
[ upstream commit a8880ad ] 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. Fixes: edec6dd ("net/ice: remove redundant functions") Signed-off-by: Tomasz Jonak <tomasz@graphiant.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information