From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Weiguo Li <liwg06@foxmail.com>, johndale@cisco.com
Cc: dev@dpdk.org, stable@dpdk.org, Weiguo Li <liweiguo@xencore.cn>
Subject: Re: [PATCH] net/enic: avoid extra unlock when setting MTU in enic
Date: Wed, 1 Nov 2023 19:55:50 +0000 [thread overview]
Message-ID: <b4e7b4b0-1c19-4d81-9bf6-60df1f735a9a@amd.com> (raw)
In-Reply-To: <tencent_349DCE470CE9C87F1F8D508878C438F2DC0A@qq.com>
On 11/1/2023 7:28 AM, Weiguo Li wrote:
> The 'set_mtu_done' goto statement is being executed in a context
> where the 'mtu_lock' has not been previously locked.
>
> To avoid the extra unlocking operation, replace the goto statement
> with a return statement.
>
> Fixes: c3e09182bcd6 ("net/enic: support scatter Rx in MTU update")
> Cc: stable@dpdk.org
>
> Signed-off-by: Weiguo Li <liweiguo@xencore.cn>
>
<...>
>
> diff --git a/.mailmap b/.mailmap
> index 3f5bab26a8..b4f0ae26b8 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -1500,7 +1500,7 @@ Waterman Cao <waterman.cao@intel.com>
> Weichun Chen <weichunx.chen@intel.com>
> Wei Dai <wei.dai@intel.com>
> Weifeng Li <liweifeng96@126.com>
> -Weiguo Li <liwg06@foxmail.com>
> +Weiguo Li <liwg06@foxmail.com> <liweiguo@xencore.cn>
>
As this patch signed-off with new email address, I assume intention is
to make it default address, so I will update accordingly while merging.
Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>
Applied to dpdk-next-net/main, thanks.
next prev parent reply other threads:[~2023-11-01 19:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-01 7:28 Weiguo Li
2023-11-01 19:55 ` Ferruh Yigit [this message]
2023-11-02 1:25 ` John Daley (johndale)
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=b4e7b4b0-1c19-4d81-9bf6-60df1f735a9a@amd.com \
--to=ferruh.yigit@amd.com \
--cc=dev@dpdk.org \
--cc=johndale@cisco.com \
--cc=liweiguo@xencore.cn \
--cc=liwg06@foxmail.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).