From: "Zhang, Fan" <fanzhang.oss@gmail.com>
To: David Marchand <david.marchand@redhat.com>, dev@dpdk.org
Cc: stable@dpdk.org, Nithin Dabilpuram <ndabilpuram@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>,
Sunil Kumar Kori <skori@marvell.com>,
Satha Rao <skoteshwar@marvell.com>,
Vidya Sagar Velumuri <vvelumuri@marvell.com>
Subject: Re: [PATCH] net/cnxk: fix deadlock in security session creation
Date: Thu, 5 Jan 2023 14:04:44 +0000 [thread overview]
Message-ID: <0ba5e4a1-3168-ffab-2caa-9276aeac714e@gmail.com> (raw)
In-Reply-To: <20230105135718.4162914-1-david.marchand@redhat.com>
On 1/5/2023 1:57 PM, David Marchand wrote:
> Releasing the lock was missing in this branch.
>
> Fixes: 4440eb88ddfc ("net/cnxk: use full context IPsec structures")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> drivers/net/cnxk/cn9k_ethdev_sec.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/cnxk/cn9k_ethdev_sec.c b/drivers/net/cnxk/cn9k_ethdev_sec.c
> index 67966a4e49..327f221e38 100644
> --- a/drivers/net/cnxk/cn9k_ethdev_sec.c
> +++ b/drivers/net/cnxk/cn9k_ethdev_sec.c
> @@ -556,6 +556,7 @@ cn9k_eth_sec_session_create(void *device,
>
> if (!dev->outb.lf_base) {
> plt_err("Could not allocate security session private data");
> + rte_spinlock_unlock(lock);
> return -ENOMEM;
> }
>
Acked-by: Fan Zhang <fanzhang.oss@gmail.com>
next prev parent reply other threads:[~2023-01-05 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 13:57 David Marchand
2023-01-05 14:04 ` Zhang, Fan [this message]
2023-01-05 14:52 ` [EXT] " Nithin Kumar Dabilpuram
2023-01-11 10:44 ` Jerin Jacob
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=0ba5e4a1-3168-ffab-2caa-9276aeac714e@gmail.com \
--to=fanzhang.oss@gmail.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=skori@marvell.com \
--cc=skoteshwar@marvell.com \
--cc=stable@dpdk.org \
--cc=vvelumuri@marvell.com \
/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).