]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Flush cache workqueue before destroying it
authorMoshe Lazer <moshel@mellanox.com>
Wed, 11 Sep 2013 13:35:23 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:23:55 +0000 (09:23 -0700)
commit032ec8c86338927d53ebd6cb1fbcf0679bbe5767
tree35b284517c269572ab2c7b7ab2317e6f777d0da3
parentf2ec507433a6f70ba5c20b45e825f77b7744bc1f
IB/mlx5: Flush cache workqueue before destroying it

Destroying the workqueue without flushing it first can lead to a case
in which the kernel tries to push a delayed work to the workqueue
which does not exist anymore.

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/mr.c