[PATCH] net/ice: fix storing field offset arg

Bruce Richardson bruce.richardson at intel.com
Fri Sep 25 15:16:15 CEST 2026


On Fri, Sep 25, 2026 at 11:41:08AM +0200, Burakov, Anatoly wrote:
> On 9/14/2026 5:45 PM, Bruce Richardson wrote:
> > The field offset argument type inside ice driver is of "int" type, but
> > when parsing and storing the value from a devarg, a uint8_t type is
> > used, leading to 3 bytes being potentially uninitialized. Fix this by
> > storing to an int type instead.
> > 
> > Bugzilla ID: 2038
> > Fixes: df539aaf35cb ("net/ice: refactor flex descriptor protocol field extraction")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> > Note: this fix is superceded by the kvargs numeric args patchset [1].
> > However, that patchset relies on new kvargs features unlikely to be
> > backported, so this standalone fix is useful for backporting or if the
> > whole other set doesn't make the 26.11 release.
> > 
> > [1] https://patches.dpdk.org/project/dpdk/list/?series=39247
> > ---
> 
> 
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
Applied to dpdk-next-net-intel.

/Bruce


More information about the stable mailing list