|SUCCESS| [v1,2/2] net/zxdh: avoid leaking flow entry on validation
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Sat Nov 28 05:39:44 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173300
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-28
**Patch 1/2: net/zxdh: bound resource table reply length before copying**
Info: inconsistent error code family.
```c
return -EINVAL;
```
The new length check returns a negative errno, while every other failure in `zxdh_get_res_info()` returns a `ZXDH_BAR_MSG_ERR_*` code. That includes the `ZXDH_BAR_MSG_ERR_REPLY` this same patch adds for the status check.
Both callers only compare against `ZXDH_BAR_MSG_OK`, so this is harmless today. Consider returning a `ZXDH_BAR_MSG_ERR_*` value (for example a length/reply error code) to keep one error domain per function.
Review-Result: CLEAN
More information about the test-report
mailing list