DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] net/txgbe: fix coverity issues
@ 2026-07-06 10:47 Zaiyu Wang
  2026-07-06 10:47 ` [PATCH 1/2] net/txgbe: fix null pointer check order Zaiyu Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zaiyu Wang @ 2026-07-06 10:47 UTC (permalink / raw)
  To: dev; +Cc: Zaiyu Wang

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-10 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 10:47 [PATCH 0/2] net/txgbe: fix coverity issues Zaiyu Wang
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox