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)
commit5e0fbcf9fb31f456c54dcc548e5de747a28c5053
treecce92ba09e2c86dc4cd73f1f5595ea75c1952da6
parentfa81d3b9702a07408061f13f8f0e21a023158a77
net/mlx5: fix rollback when starting device

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>
drivers/net/mlx5/mlx5_trigger.c