[dpdk-stable] [PATCH v1] net/enic: fix completion pointer calculation
Ferruh Yigit
ferruh.yigit at intel.com
Tue Apr 13 12:36:15 CEST 2021
On 4/12/2021 9:50 PM, John Daley wrote:
> The completion queue index could be implicitly extended past its
> uint16_t size when multiplied by the size of the descriptor. While
> this should not be a problem, coverity flags it. Do the extension
> explicitly by casting the index to uintptr_t.
>
> Coverity issue: 161317
> Fixes: 8b428cb5a92e ("net/enic: use 64B completion queue entries if available")
> Cc: stable at dpdk.org
>
> Signed-off-by: John Daley <johndale at cisco.com>
> Reviewed-by: Hyong Youb Kim <hyonkim at cisco.com>
Applied to dpdk-next-net/main, thanks.
More information about the stable
mailing list