aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2023-09-29 13:42:25 -0700
committerPaolo Abeni <[email protected]>2023-10-05 11:45:06 +0200
commitb2b000069a4c307b09548dc2243f31f3ca0eac9c (patch)
tree6a970dd16ef664bf807daf1232ae156745b9d0ea /lib/test_fortify/write_overflow-strncpy-src.c
parentd0f95894fda7d4f895b29c1097f92d7fee278cb2 (diff)
net: mana: Fix TX CQE error handling
For an unknown TX CQE error type (probably from a newer hardware), still free the SKB, update the queue tail, etc., otherwise the accounting will be wrong. Also, TX errors can be triggered by injecting corrupted packets, so replace the WARN_ONCE to ratelimited error logging. Cc: [email protected] Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)") Signed-off-by: Haiyang Zhang <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Shradha Gupta <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions