[dpdk-dev] [PATCH] common/sfc_efx/base: fix the problem of using null pointer
Ferruh Yigit
ferruh.yigit at intel.com
Tue Apr 27 17:23:31 CEST 2021
On 4/25/2021 1:58 PM, Min Hu (Connor) wrote:
> From: HongBo Zheng <zhenghongbo3 at huawei.com>
>
> In function efx_pci_xilinx_cap_tbl_find, pointer entry_offsetp is used
> before null pointer check, which may cause access to null pointer.
>
> This patch fix this problem.
>
> Fixes: ba9568b8b4b7 ("common/sfc_efx/base: add Xilinx capabilities table lookup")
> Cc: stable at dpdk.org
>
> Signed-off-by: HongBo Zheng <zhenghongbo3 at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list