DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Sergeev <denserg.edu@gmail.com>
To: dev@dpdk.org
Cc: kishore.padmanabha@broadcom.com, ajit.khaparde@broadcom.com,
	Denis Sergeev <denserg.edu@gmail.com>
Subject: [PATCH 0/2] net/bnxt/tf_core: fix ignored return of EM delete
Date: Tue, 19 May 2026 07:43:42 +0300	[thread overview]
Message-ID: <20260519044344.9544-1-denserg.edu@gmail.com> (raw)

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


             reply	other threads:[~2026-05-19  4:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19  4:43 Denis Sergeev [this message]
2026-05-19  4:43 ` [PATCH 1/2] net/bnxt/tf_core: fix ignored return of EM delete Denis Sergeev
2026-05-19 21:02   ` Kishore Padmanabha
2026-05-19  4:43 ` [PATCH 2/2] mailmap: add Denis Sergeev Denis Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260519044344.9544-1-denserg.edu@gmail.com \
    --to=denserg.edu@gmail.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.org \
    --cc=kishore.padmanabha@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox