From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com, Peng Zhang <peng.zhang@corigine.com>,
stable@dpdk.org
Subject: Re: [PATCH 01/23] net/nfp: fix dereference of null pointer
Date: Sun, 7 Jul 2024 19:56:23 +0100 [thread overview]
Message-ID: <7bf17d4e-0256-41fc-bb05-7b2c0061d781@amd.com> (raw)
In-Reply-To: <20240619095830.3479757-2-chaoyong.he@corigine.com>
On 6/19/2024 10:58 AM, Chaoyong He wrote:
> From: Peng Zhang <peng.zhang@corigine.com>
>
> The original logic can call the uninitialized parameter 'process_private'
> to get 'struct nfp_net_hw_priv', so the null pointer will cause a segment
> fault problem.
>
> This commit will add the "struct nfp_repr_init" as the parameter,
> it includes "struct nfp_net_hw_priv", it can fix this bug.
>
> Fixes: 149850c5b8ec ("net/nfp: support xstats for flower firmware")
> Cc: chaoyong.he@corigine.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Peng Zhang <peng.zhang@corigine.com>
>
Hi Chaoyong,
As maintainer of the driver, I expect your review on the patch, and
since whole series has it but not this one, I assume it is just missed,
I am adding and explicit review tag to the patch:
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
If this was not the intention or you are not agree with the patch,
please let me know and I can drop the patch from next-net.
Also fixes tag is wrong, it should be:
Fixes: 82a2c286f35a ("net/nfp: support xstats for flower firmware")
next prev parent reply other threads:[~2024-07-07 18:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240619095830.3479757-1-chaoyong.he@corigine.com>
2024-06-19 9:58 ` Chaoyong He
2024-07-07 18:56 ` Ferruh Yigit [this message]
2024-07-08 1:35 ` Chaoyong He
2024-06-19 9:58 ` [PATCH 02/23] net/nfp: disable ctrl VNIC queues Chaoyong He
2024-06-19 9:58 ` [PATCH 03/23] net/nfp: fix dereference of null pointer Chaoyong He
2024-06-19 9:58 ` [PATCH 04/23] net/nfp: fix repeat disable the port Chaoyong He
2024-06-19 9:58 ` [PATCH 05/23] net/nfp: fix repeat set the speed configure Chaoyong He
2024-06-19 9:58 ` [PATCH 18/23] net/nfp: add check for numbers of VF representor port Chaoyong He
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=7bf17d4e-0256-41fc-bb05-7b2c0061d781@amd.com \
--to=ferruh.yigit@amd.com \
--cc=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=oss-drivers@corigine.com \
--cc=peng.zhang@corigine.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;
as well as URLs for NNTP newsgroup(s).