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:
9df03dd
)
mlx4: fix missing unlock in case of error
author
Adrien Mazarguil
<adrien.mazarguil@6wind.com>
Fri, 30 Oct 2015 19:00:09 +0000
(20:00 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Fri, 30 Oct 2015 23:21:58 +0000
(
00:21
+0100)
Fixes:
7fae69eeff13
("mlx4: new poll mode driver")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx4/mlx4.c
b/drivers/net/mlx4/mlx4.c
index
8c78037
..
8a8a8a7
100644
(file)
--- a/
drivers/net/mlx4/mlx4.c
+++ b/
drivers/net/mlx4/mlx4.c
@@
-3645,6
+3645,7
@@
mlx4_dev_start(struct rte_eth_dev *dev)
}
}
priv->started = 0;
+ priv_unlock(priv);
return -ret;
} while ((--r) && ((rxq = (*priv->rxqs)[++i]), i));
priv_unlock(priv);