[PATCH 0/2] net/bnxt/tf_core: fix ignored return of EM delete
Denis Sergeev
denserg.edu at gmail.com
Tue May 19 06:43:42 CEST 2026
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(+)
--
2.50.1
More information about the dev
mailing list