net/mlx5: fix rollback when starting device
authorYongseok Koh <yskoh@mellanox.com>
Wed, 10 May 2017 17:30:16 +0000 (10:30 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 10 May 2017 19:41:25 +0000 (21:41 +0200)
In mlx5_dev_start(), the spinlock isn't released when returning error.

Fixes: c8d4ee50cc85 ("net/mlx5: fix startup when flow cannot be applied")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

No differences found