diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-01-13 11:05:55 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-16 10:18:44 +0100 |
| commit | 687e1d4af79c3588c34785ddd426ac86f982ab75 (patch) | |
| tree | 8df13730548a18007ae5ff61ecd9394e0542c4e0 /drivers/crypto | |
| parent | c0a0ded3bb7fd45f720faa48449a930153257d3a (diff) | |
| download | linux-687e1d4af79c3588c34785ddd426ac86f982ab75.tar.gz linux-687e1d4af79c3588c34785ddd426ac86f982ab75.tar.bz2 linux-687e1d4af79c3588c34785ddd426ac86f982ab75.zip | |
crypto: virtio - Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
commit 14f86a1155cca1176abf55987b2fce7f7fcb2455 upstream.
With function virtio_crypto_skcipher_crypt_req(), there is already
virtqueue_kick() call with spinlock held in function
__virtio_crypto_skcipher_do_req(). Remove duplicated virtqueue_kick()
function call here.
Fixes: d79b5d0bbf2e ("crypto: virtio - support crypto engine framework")
Cc: stable@vger.kernel.org
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto')
| -rw-r--r-- | drivers/crypto/virtio/virtio_crypto_skcipher_algs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/virtio/virtio_crypto_skcipher_algs.c b/drivers/crypto/virtio/virtio_crypto_skcipher_algs.c index 23c41d87d835..487f60e35df1 100644 --- a/drivers/crypto/virtio/virtio_crypto_skcipher_algs.c +++ b/drivers/crypto/virtio/virtio_crypto_skcipher_algs.c @@ -550,8 +550,6 @@ int virtio_crypto_skcipher_crypt_req( if (ret < 0) return ret; - virtqueue_kick(data_vq->vq); - return 0; } |
