在 2021/4/25 10:05, Li, Xiaoyun 写道:
Hi
-Original Message-
From: Min Hu (Connor)
Sent: Thursday, April 22, 2021 15:04
To: dev@dpdk.org
Cc: Yigit, Ferruh ; Li, Xiaoyun
Subject: [PATCH 1/2] app/testpmd: fix integer overflow during get DCB conf
From: Chengchang Tang
In C, constant is
Hi
> -Original Message-
> From: Min Hu (Connor)
> Sent: Thursday, April 22, 2021 15:04
> To: dev@dpdk.org
> Cc: Yigit, Ferruh ; Li, Xiaoyun
> Subject: [PATCH 1/2] app/testpmd: fix integer overflow during get DCB conf
>
> From: Chengchang Tang
>
> In C, constant is treated as integer.
From: Chengchang Tang
In C, constant is treated as integer. Therefore, if nb_queque_pools is
ETH_32_POOLS, the shift here may cause integer overflow.
Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-b
3 matches
Mail list logo