[dpdk-dev] [PATCH v2 0/3] fix miss input validation
Min Hu (Connor)
humin29 at huawei.com
Fri Apr 2 04:58:47 CEST 2021
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(-)
--
2.7.4
More information about the dev
mailing list