[PATCH] examples/vmdq_dcb: initialize all configuration structures
Bruce Richardson
bruce.richardson at intel.com
Thu Feb 19 09:59:37 CET 2026
On Wed, Feb 18, 2026 at 04:33:54PM -0800, Stephen Hemminger wrote:
> Replace field-by-field assignment of local configuration structures
> with designated initializers. This ensures all fields, including
> enable_loop_back and any padding, are zero-initialized.
>
> The Coverity warning was always latent; the earlier use of
> rte_memcpy() was hiding it from the analyzer.
>
> Coverity issue: 501603
> Fixes: 8cc72f2814dd ("examples/vmdq_dcb: support X710")
> Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> examples/vmdq_dcb/main.c | 31 +++++++++++++++----------------
> 1 file changed, 15 insertions(+), 16 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the stable
mailing list