[dpdk-dev] [PATCH 1/3] ethdev: fix miss input validation in module EEPROM dump API

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 1 17:15:39 CEST 2021


On 3/27/2021 7:38 AM, Min Hu (Connor) wrote:
> From: Chengchang Tang <tangchengchang at huawei.com>
> 
> The validity verification of input parameters should be performed at
> API layer, not in the PMD.
> 
> Fixes: 3a18c44b45df ("ethdev: add access to EEPROM")
> Fixes: 40ff8b305ab8 ("net/e1000: add module EEPROM callbacks for e1000")
> Fixes: f2088e785cca ("net/i40e: fix dereference before check when getting EEPROM")
> Fixes: b74d0cd43e37 ("net/ixgbe: add module EEPROM callbacks for ixgbe")
> Fixes: 8a6a09f853a0 ("net/mlx5: support reading module EEPROM data")
> Fixes: 58f6f93c34c1 ("net/octeontx2: add module EEPROM dump")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengchang Tang <tangchengchang at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>



More information about the dev mailing list