|SUCCESS| [2/2] net/xsc: fix leak and missing NULL check

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Fri Nov 13 05:29:59 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172862

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-13

Patch 2/2 (net/xsc: fix leak and missing NULL check)

Info (pre-existing, not introduced by this patch):

The Tx queue structure is allocated without zeroing, and the guidelines prefer zeroed, NUMA-local allocation for Rx/Tx queue structures:

    txq = rte_malloc_socket(NULL, sizeof(*txq) + desc_n * sizeof(struct rte_mbuf *),

Any `txq` field (or element of the trailing mbuf pointer array) that is not explicitly set later in setup holds stale heap contents. Consider switching to `rte_zmalloc_socket()` in a separate patch.

Review-Result: CLEAN


More information about the test-report mailing list