net: airoha: Fix NULL pointer derefrences in airoha_qdma_cleanup()
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am 20260420-airoha_qdma_init_rx_queue-fix-v2-0-d99347e5c18d@kernel.org change-id 20260417-airoha_qdma_init_rx_queue-fix-b9bfada51671Versions newest first
- v2 Latest2 patches 2 repliesApplied 2/2
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Move page_pool allocation after desc list allocation in
airoha_qdma_init_rx_queue()
- Move netif_napi_add_tx() after irq desc queue allocation in
airoha_qdma_tx_irq_init()
- Link to v1: https://lore.kernel.org/r/20260417-airoha_qdma_init_rx_queue-fix-v1-0-db9fa5e468e5@kernel.org
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()drivers/ | +7 | 1 reply | Applied |
| 2/2 | net: airoha: Add size check for TX NAPIs in airoha_qdma_cleanup()drivers/ | +8 | 1 reply | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net v2 0/2] net: airoha: Fix NULL pointer derefrences in airoha_qdma_cleanup()
Fix two possible NULL pointer derefrences in airoha_qdma_cleanup routine if airoha_qdma_init() fails.
---
Changes in v2:
- Move page_pool allocation after desc list allocation in
airoha_qdma_init_rx_queue()
- Move netif_napi_add_tx() after irq desc queue allocation in
airoha_qdma_tx_irq_init()
- Link to v1: https://lore.kernel.org/r/20260417-airoha_qdma_init_rx_queue-fix-v1-0-db9fa5e468e5@kernel.org
---
Lorenzo Bianconi (2):
net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
net: airoha: Add size check for TX NAPIs in airoha_qdma_cleanup()
drivers/net/ethernet/airoha/airoha_eth.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
---
base-commit: 0cf004ffb61cd32d140531c3a84afe975f9fc7ea
change-id: 20260417-airoha_qdma_init_rx_queue-fix-b9bfada51671
Best regards,
Signature · 1 line
Lorenzo Bianconi <[email protected]>