View Issue Details

IDProjectCategoryView StatusLast Update
0000639AlmaLinux-10Generalpublic2026-06-30 12:55
Reporterv-sriramsur Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0000639: [AlmaLinux][Backport][MANA] net: mana: fix error-path issues in queue setup
DescriptionRequest backport of the following patch.

Problem Summary
Two error-path fixes in MANA queue setup, both surfaced during review of a recently upstreamed patch series.

Patch 1 initializes queue->id to INVALID_QUEUE_ID in mana_gd_create_mana_wq_cq() so that a CQ creation failure before the firmware id is assigned does not NULL gc->cq_table[0] and silently break whichever real CQ owns that slot. This mirrors the existing pattern in mana_gd_create_eq().

Patch 2 guards mana_destroy_txq()'s call to mana_destroy_wq_obj() with an INVALID_MANA_HANDLE check, mirroring mana_destroy_rxq(). Without it, TX setup failures lead to a firmware-rejected destroy of (u64)-1 and a spurious error in dmesg.


Upstream reference

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=5985474e1cb4
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=f8fd56977eee


TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-06-30 12:55 v-sriramsur New Issue