aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-03-19 09:20:41 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-03-19 09:20:41 +0000
commit4819b05a8ba973e557acf6af63774e9852adb4e4 (patch)
tree7d60908fd4e5e6260858f644d8d9a3882f96c3b8
parentefd6d26f789c5da58b8053cf3311877200be19b9 (diff)
downloadsrc-4819b05a8ba973e557acf6af63774e9852adb4e4.tar.gz
src-4819b05a8ba973e557acf6af63774e9852adb4e4.zip
MFC r359014:
Fix for double unlock in ipoib. The ipoib_unicast_send() function is not supposed to unlock the priv lock. Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/stable/10/; revision=359123
-rw-r--r--sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 4a25201180b0..21130e128edb 100644
--- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -657,7 +657,6 @@ ipoib_unicast_send(struct mbuf *mb, struct ipoib_dev_priv *priv, struct ipoib_he
if (path) {
_IF_ENQUEUE(&path->queue, mb);
if (!path->query && path_rec_start(priv, path)) {
- spin_unlock_irqrestore(&priv->lock, flags);
if (new_path)
ipoib_path_free(priv, path);
return;