From: Zaiyu Wang <zaiyuwang@trustnetic.com>
To: dev@dpdk.org
Cc: Zaiyu Wang <zaiyuwang@trustnetic.com>
Subject: [PATCH 0/2] net/txgbe: fix coverity issues
Date: Mon, 6 Jul 2026 18:47:17 +0800 [thread overview]
Message-ID: <20260706104723.25968-1-zaiyuwang@trustnetic.com> (raw)
This series fixes several Coverity issues reported against the txgbe
driver in the 26.07-rc2 release.
Patch 1 fixes a REVERSE_INULL issue (CID 504601) in
txgbe_dev_setup_link_alarm_handler_aml() by moving the null pointer
check before the pointer dereference.
Patch 2 fixes INTEGER_OVERFLOW (CID 504602) and BAD_SHIFT issues
(CIDs 504598, 504613) in the e56 backplane code by validating
lane_num at the source in txgbe_e56_cl72_training() before any
GENMASK operations are performed.
Zaiyu Wang (2):
net/txgbe: fix null pointer check order
net/txgbe: validate lane_num before GENMASK operations
drivers/net/txgbe/base/txgbe_e56_bp.c | 6 +++++-
drivers/net/txgbe/txgbe_ethdev.c | 7 ++++---
2 files changed, 9 insertions(+), 4 deletions(-)
--
2.21.0.windows.1
next reply other threads:[~2026-07-06 10:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 10:47 Zaiyu Wang [this message]
2026-07-06 10:47 ` [PATCH 1/2] net/txgbe: fix null pointer check order Zaiyu Wang
2026-07-06 10:47 ` [PATCH 2/2] net/txgbe: validate lane_num before GENMASK operations Zaiyu Wang
2026-07-10 11:09 ` [PATCH 0/2] net/txgbe: fix coverity issues Thomas Monjalon
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=20260706104723.25968-1-zaiyuwang@trustnetic.com \
--to=zaiyuwang@trustnetic.com \
--cc=dev@dpdk.org \
/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