]> git.baikalelectronics.ru Git - kernel.git/commit
ntb: stop tasklet from spinning forever during shutdown.
authorDave Jiang <dave.jiang@intel.com>
Tue, 23 Feb 2016 16:11:36 +0000 (09:11 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 18 Mar 2016 00:38:40 +0000 (20:38 -0400)
commit5e60156354ca34a69a6d79d086b29197c4164555
tree0b7a00bbecf538dbc258971fdc7067a12cd7c1b6
parentfa4718fd7e6725b293c508f19cb5ab89878b4fc7
ntb: stop tasklet from spinning forever during shutdown.

We can leave tasklet spinning forever if we disable the tasklet during
qp shutdown and the tasklets are still being kicked off. This hopefully
should avoid that race condition.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reported-by: Alex Depoutovitch <alex@pernixdata.com>
Tested-by: Alex Depoutovitch <alex@pernixdata.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c