[PATCH] net/enic: avoid extra unlock when setting MTU in enic

Ferruh Yigit ferruh.yigit at amd.com
Wed Nov 1 20:55:50 CET 2023


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 at dpdk.org
> 
> Signed-off-by: Weiguo Li <liweiguo at xencore.cn>
>

<...>

>
> diff --git a/.mailmap b/.mailmap
> index 3f5bab26a8..b4f0ae26b8 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -1500,7 +1500,7 @@ Waterman Cao <waterman.cao at intel.com>
>  Weichun Chen <weichunx.chen at intel.com>
>  Wei Dai <wei.dai at intel.com>
>  Weifeng Li <liweifeng96 at 126.com>
> -Weiguo Li <liwg06 at foxmail.com>
> +Weiguo Li <liwg06 at foxmail.com> <liweiguo at 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 at amd.com>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list