RE: [PATCH] net/ice: avoid out-of-bound access

2022-09-14 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Tuesday, September 6, 2022 10:29 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Zhang, Qi Z > Subject: [PATCH] net/ice: avoid out-of-bound access > > Add judgment on &#

RE: [PATCH] net/ice: avoid out-of-bound access

2022-09-05 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Tuesday, September 6, 2022 10:29 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Zeng, ZhichaoX ; > Zhang, Qi Z > Subject: [PATCH] net/ice: avoid out-of-bound access > > Add judgment on &#

[PATCH] net/ice: avoid out-of-bound access

2022-09-05 Thread Zhichao Zeng
Add judgment on 'ethdev_port_id' to avoid out-of-bound accessing the 'rte_eth_devices'. Fixes: 6f8fba7e437e ("net/ice: support represented port flow action") Signed-off-by: Zhichao Zeng --- drivers/net/ice/ice_switch_filter.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/i