* [DPDK/ethdev Bug 2044] mempool/cnxk: halo_ena stored one byte, caller supplies four
@ 2026-09-13 17:52 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2026-09-13 17:52 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=2044
Bug ID: 2044
Summary: mempool/cnxk: halo_ena stored one byte, caller
supplies four
Product: DPDK
Version: 26.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
drivers/mempool/cnxk/cnxk_mempool.c
parse_halo_ena_handler() stores a uint8_t:
*(uint8_t *)extra_args = val;
while the caller declares:
uint32_t halo_ena = 0;
Only correct because the local is pre-zeroed and the host is little
endian. The mildest of the set -- no overrun, just an incomplete store.
Fixes: 45abbfc836b1 ("mempool/cnxk: support HALO in mempool")
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-13 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 17:52 [DPDK/ethdev Bug 2044] mempool/cnxk: halo_ena stored one byte, caller supplies four bugzilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.