]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
crypto: virtio - Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
authorBibo Mao <maobibo@loongson.cn>
Tue, 13 Jan 2026 03:05:55 +0000 (11:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Feb 2026 09:19:44 +0000 (10:19 +0100)
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>
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c

index 1b3fb21a2a7de290f811e9051f687c8f1a11b8a7..11053d1786d4d2e4bb29c92b20173bc9d9541880 100644 (file)
@@ -541,8 +541,6 @@ int virtio_crypto_skcipher_crypt_req(
        if (ret < 0)
                return ret;
 
-       virtqueue_kick(data_vq->vq);
-
        return 0;
 }