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)
commite902133162afd6437e372d74f2d305b0b4cc16d6
tree0b7a00bbecf538dbc258971fdc7067a12cd7c1b6
parent1985a88107b5330b2a911ad4d279e1bd7e4deb24
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