net/bnxt/tf_core: fix ignored return of EM delete
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/bnxt/tf_core: fix ignored return of EM deletedrivers/ | +5 | 2 replies | |
| 2/2 | mailmap: add Denis Sergeev.mailmap | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] net/bnxt/tf_core: fix ignored return of EM delete
This series fixes a missing error check in the bnxt TF core EM delete path that can lead to HW/SW state inconsistency.
The return value of tfc_em_delete_raw() in tfc_em_delete() was silently discarded, so if the HW EM entry removal fails, the function continues to free the corresponding SW pool entry, creating stale flow matches or incorrect pool slot reuse.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Patches:
- net/bnxt/tf_core: fix ignored return of EM delete
- mailmap: add Denis Sergeev
Denis Sergeev (2):
net/bnxt/tf_core: fix ignored return of EM delete
mailmap: add Denis Sergeev
.mailmap | 1 + drivers/net/bnxt/tf_core/v3/tfc_em.c | 5 +++++ 2 files changed, 6 insertions(+)
Signature · 1 line
2.50.1