Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The expression flow_age->aging_poll_freq * NPC_AGE_WAIT_TIMEOUT_US is evaluated using 32 bit arithmetic. An integer overflow may occur when the value is too large to fit in 32 bits. This patch resolves this by casting flow_age->aging_poll_freq to 64 bit. Coverity issue: 428156 Fixes: a487829 ("common/cnxk: fix flow aging on application exit") Cc: stable@dpdk.org Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
- Loading branch information