crypto: virtio - Wait for tasklet to complete on device remove
authorwangyangxin <wangyangxin1@huawei.com>
Mon, 11 Dec 2023 11:42:15 +0000 (19:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:17 +0000 (15:35 -0800)
commit63cdfacb0a7078d8d059ec0ff81574c8b1acecd1
tree1c3f8fd8989e73637d52e05bf0719f9cc5eba922
parent528a422b94b3a9116c53b90af9ffc17a8a6d9e80
crypto: virtio - Wait for tasklet to complete on device remove

[ Upstream commit 67cc511e8d436456cc98033e6d4ba83ebfc8e672 ]

The scheduled tasklet needs to be executed on device remove.

Fixes: fed93fb62e05 ("crypto: virtio - Handle dataq logic with tasklet")
Signed-off-by: wangyangxin <wangyangxin1@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/virtio/virtio_crypto_core.c