git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa81d3b
)
net/mlx5: fix rollback when starting device
author
Yongseok Koh
<yskoh@mellanox.com>
Wed, 10 May 2017 17:30:16 +0000
(10:30 -0700)
committer
Thomas 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>
drivers/net/mlx5/mlx5_trigger.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_trigger.c
b/drivers/net/mlx5/mlx5_trigger.c
index
229b05e
..
8c5aa69
100644
(file)
--- a/
drivers/net/mlx5/mlx5_trigger.c
+++ b/
drivers/net/mlx5/mlx5_trigger.c
@@
-109,6
+109,7
@@
error:
priv_mac_addrs_disable(priv);
priv_destroy_hash_rxqs(priv);
priv_flow_stop(priv);
+ priv_unlock(priv);
return -err;
}