From: Bruce Richardson <bruce.richardson@intel.com>
To: Oleg Kotkov <Oleg.Kotkov@kaspersky.com>
Cc: <jingjing.wu@intel.com>, <praveen.shetty@intel.com>,
<dev@dpdk.org>, <stable@dpdk.org>
Subject: Re: [PATCH] net/idpf: fix Rx queue dereference before null check
Date: Mon, 30 Nov 2026 16:07:38 +0000 [thread overview]
Message-ID: <aw2fSvkvgSmQnQL-@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20261124103816.427756-1-Oleg.Kotkov@kaspersky.com>
On Tue, Nov 24, 2026 at 01:38:16PM +0300, Oleg Kotkov wrote:
> The scalar Rx burst functions read queue fields before checking
> whether the queue pointer is null.
>
> Move the queue-dependent initializations after existing blocks.
>
> The issue was found by static analysis with Svace.
>
> Fixes: 268d82e5f3e5 ("net/idpf: support timestamp offload")
> Fixes: 13145ac41fe1 ("net/idpf: support single queue scatter Rx")
> Fixes: f02f6afea14f ("net/idpf: support scattered Rx for split Rx queues")
> Cc: stable@dpdk.org
>
> Signed-off-by: Oleg Kotkov <Oleg.Kotkov@kaspersky.com>
> ---
> .mailmap | 1 +
> drivers/net/intel/idpf/idpf_common_rxtx.c | 40 ++++++++++++++---------
> 2 files changed, 26 insertions(+), 15 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied to dpdk-next-net-intel.
/Bruce
prev parent reply other threads:[~2026-11-30 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 10:38 [PATCH] net/idpf: fix Rx queue dereference before null check Oleg Kotkov
2026-11-30 16:07 ` 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=aw2fSvkvgSmQnQL-@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=Oleg.Kotkov@kaspersky.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
--cc=praveen.shetty@intel.com \
--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