From: Jakub Kicinski Date: Sat, 13 Jun 2026 00:26:16 +0000 (-0700) Subject: Merge branch 'net-mana-fix-error-path-issues-in-queue-setup' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56a0b00c5a04cb270f66e20d365526c9ac34a1fe;p=thirdparty%2Fkernel%2Flinux.git 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 --- 56a0b00c5a04cb270f66e20d365526c9ac34a1fe