Skip to content

fix miss input validation

Min Hu (Connor) dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Fixed mixes in ethdev header file and ethdev .c file.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ethdev: fix miss input validation in module EEPROM dump APIdrivers/net/e1000/igb_ethdev.c drivers/net/i40e/i40e_ethdev.c drivers/net/ixgbe/ixgbe_ethdev.c +4 more+9 -130 replies
2/3ethdev: fix miss input validation when access reg infodrivers/net/hns3/hns3_regs.c lib/librte_ethdev/rte_ethdev.c lib/librte_ethdev/rte_ethdev.h+3 -50 replies
3/3ethdev: fix miss input validation when access EEPROM infolib/librte_ethdev/rte_ethdev.c lib/librte_ethdev/rte_ethdev.h+6 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFerruh Yigit
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/3] fix miss input validation

The validity verification of input parameters should be performed at API layer, not in the PMD.

This set of patches fix miss input validation.
---
v2:
* Fixed mixes in ethdev header file and ethdev .c file.

Chengchang Tang (3):
ethdev: fix miss input validation in module EEPROM dump API
ethdev: fix miss input validation when access reg info
ethdev: fix miss input validation when access EEPROM info

 drivers/net/e1000/igb_ethdev.c          |  3 ---
 drivers/net/hns3/hns3_regs.c            |  5 -----
 drivers/net/i40e/i40e_ethdev.c          |  3 ---
 drivers/net/ixgbe/ixgbe_ethdev.c        |  3 ---
 drivers/net/mlx5/linux/mlx5_ethdev_os.c |  4 ++--
 drivers/net/octeontx2/otx2_ethdev_ops.c |  3 +--
 lib/librte_ethdev/rte_ethdev.c          | 10 ++++++++++
 lib/librte_ethdev/rte_ethdev.h          |  5 +++++
 8 files changed, 18 insertions(+), 18 deletions(-)
Signature · 1 line
2.7.4