]> 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)
commite23231a4cde9db81b34251d55a5699d188fbfb2a
tree35b284517c269572ab2c7b7ab2317e6f777d0da3
parent035b66050be75834614c0e95c83dc0dbbeab0262
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