|SUCCESS| [1/1] net/af_packet: fix accidental fanout group ID reuse
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 10 23:13:52 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172809
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-10
Info
1. Stale errno logged on the length-mismatch branch.
```c
if (rc == -1 || fanout_arg_len != sizeof(fanout_arg)) {
PMD_LOG_ERRNO(ERR,
```
When `getsockopt()` succeeds but returns an unexpected `fanout_arg_len`, `errno` is not set by the call. `PMD_LOG_ERRNO` will then print whatever stale `errno` value was left over, which can mislead debugging.
Consider splitting the two conditions:
- use `PMD_LOG_ERRNO` only for `rc == -1`;
- use a plain `PMD_LOG(ERR, ...)` that reports the returned length for the size mismatch.
Review-Result: CLEAN
More information about the test-report
mailing list