diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-12 17:26:16 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-12 17:26:17 -0700 |
| commit | 56a0b00c5a04cb270f66e20d365526c9ac34a1fe (patch) | |
| tree | 9233729f46d57e227cfa27e68dcc2d771e079e86 /include/linux/timerqueue_types.h | |
| parent | 592b792026eaab89efb84bed71b05994645fa790 (diff) | |
| parent | f8fd56977eeea3d6939b1a9cd8bd36f1779b3ad0 (diff) | |
Merge branch 'net-mana-fix-error-path-issues-in-queue-setup'
Aditya Garg says:
====================
net: mana: fix error-path issues in queue setup
Two error-path fixes in MANA queue setup, both surfaced during Sashiko
AI 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.
====================
Link: https://patch.msgid.link/20260608101345.2267320-1-gargaditya@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
