From: Bruce Richardson <bruce.richardson@intel.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Cc: <dev@dpdk.org>, <stable@dpdk.org>
Subject: Re: [PATCH] net/ice: fix overflow on storing device args
Date: Fri, 25 Sep 2026 14:13:40 +0100 [thread overview]
Message-ID: <arZzhGfoAyI8IBSA@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <eb5d85c9-ef87-457f-8966-8b5b7b742636@intel.com>
On Fri, Sep 25, 2026 at 11:36:51AM +0200, Burakov, Anatoly wrote:
> On 9/14/2026 5:30 PM, Bruce Richardson wrote:
> > Boolean device args to ice driver are sometimes stored as an int and
> > sometimes as a uint8_t. The parse bool function stores them as an int,
> > leading to overflow when storing a uint8_t value.
> >
> > Fix all these by standardizing on "bool" type, both for the arg values
> > in the structure and inside the parsing function.
> >
> > Bugzilla ID: 2037
> > Fixes: 603beeb970b5 ("net/ice: add safe mode devarg")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@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@intel.com>
>
Applied to dpdk-next-net-intel
/Bruce
prev parent reply other threads:[~2026-09-25 13:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-2037-3@https.bugs.dpdk.org>
2026-09-14 15:30 ` [PATCH] net/ice: fix overflow on storing device args Bruce Richardson
2026-09-25 9:36 ` Burakov, Anatoly
2026-09-25 13:13 ` Bruce Richardson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=arZzhGfoAyI8IBSA@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox