Re: [dpdk-dev] [PATCH] net/mlx5: release spinlock before return from function

2017-09-28 Thread Nélio Laranjeiro
Hi Pavlo, On Fri, Sep 29, 2017 at 03:03:56AM +0300, Pavlo Shcherbyna wrote: > If priv_ethtool_get_stats_n fails to retrieve statistics, lock > is not released. Next call of function, which uses the same > spinlock, will stuck trying to obtain it. > > This patch addresses the issue. > > Fixes: 4b

[dpdk-dev] [PATCH] net/mlx5: release spinlock before return from function

2017-09-28 Thread Pavlo Shcherbyna
If priv_ethtool_get_stats_n fails to retrieve statistics, lock is not released. Next call of function, which uses the same spinlock, will stuck trying to obtain it. This patch addresses the issue. Fixes: 4b2e6df26168 ("net/mlx5: fix extended statistics counters identification") Cc: shah...@mella