]> git.feebdaed.xyz Git - 0xmirror/dpdk.git/commit
pdump: fix integer type for bursts
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 12 Nov 2025 20:05:09 +0000 (12:05 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Nov 2025 03:27:53 +0000 (04:27 +0100)
commit22fc97ba1d67f18d10e29ace2f19f8c0d52534e3
tree2088a8e0d769892a251b89c2f92666a9727f6d0e
parent2c82b4f6b947867eab940b39d00c4b18f2f1c761
pdump: fix integer type for bursts

There are warnings from Coverity and other tools that handling
of intermediate bursts may wraparound. Shouldn't be possible but
use unsigned int to avoid any issues, and just as fast.

Coverity issue: 499471
Fixes: 0dea03ef2e8c ("pdump: remove use of VLA")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/pdump/rte_pdump.c