ntb: no sleep in ntb_async_tx_submit
authorAllen Hubbe <Allen.Hubbe@dell.com>
Fri, 9 Jun 2017 22:06:36 +0000 (18:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Aug 2017 08:21:55 +0000 (10:21 +0200)
commit7592db555524b5d0dfe92a1d3069f450f31291fe
treef11a4390e9de41710af46e3c2d6f9a76fe550674
parentbff04a462da3b1e4ae588bcbbe2e318d7fbada28
ntb: no sleep in ntb_async_tx_submit

commit 88931ec3dc11e7dbceb3b0df455693873b508fbe upstream.

Do not sleep in ntb_async_tx_submit, which could deadlock.
This reverts commit "8c874cc140d667f84ae4642bb5b5e0d6396d2ca4"

Fixes: 8c874cc140d6 ("NTB: Address out of DMA descriptor issue with NTB")
Reported-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: Allen Hubbe <Allen.Hubbe@dell.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/ntb_transport.c