Date: Thu, 19 Mar 2020 09:20:42 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r359123 - stable/10/sys/ofed/drivers/infiniband/ulp/ipoib Message-ID: <202003190920.02J9KgoJ055894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Mar 19 09:20:41 2020 New Revision: 359123 URL: https://svnweb.freebsd.org/changeset/base/359123 Log: 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 Modified: stable/10/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c ============================================================================== --- stable/10/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Thu Mar 19 09:20:04 2020 (r359122) +++ stable/10/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Thu Mar 19 09:20:41 2020 (r359123) @@ -657,7 +657,6 @@ ipoib_unicast_send(struct mbuf *mb, struct ipoib_dev_p 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003190920.02J9KgoJ055894>