Matan Azrad b5743da31e net/mlx5: fix locking in xstats functions
The corrupted code didn't unlock the spinlock in xstats
get and reset functions error flow.

Hence, if these errors happened, the device spinlock was
left locked and many mlx5 device functionalities were blocked.

The fix unlocks the spinlock in the missed places.

Fixes: e62bc9e70608 ("net/mlx5: fix extended statistics")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-10-06 02:49:47 +02:00
..
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00
2017-10-06 02:49:47 +02:00