linux/drivers/crypto/virtio
zhenwei pi 86f467d358 virtio-crypto: handle config changed by work queue
commit fa2e6947aa upstream.

MST pointed out: config change callback is also handled incorrectly
in this driver, it takes a mutex from interrupt context.

Handle config changed by work queue instead.

Cc: stable@vger.kernel.org
Cc: Gonglei (Arei) <arei.gonglei@huawei.com>
Cc: Halil Pasic <pasic@linux.ibm.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20231007064309.844889-1-pizhenwei@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2023-11-02 09:35:23 +01:00
..
Kconfig virtio-crypto: implement RSA algorithm 2022-03-28 16:52:58 -04:00
Makefile virtio-crypto: rename skcipher algs 2022-03-28 16:52:58 -04:00
virtio_crypto_akcipher_algs.c virtio-crypto: fix memory-leak 2022-09-27 18:30:48 -04:00
virtio_crypto_common.h virtio-crypto: handle config changed by work queue 2023-11-02 09:35:23 +01:00
virtio_crypto_core.c virtio-crypto: handle config changed by work queue 2023-11-02 09:35:23 +01:00
virtio_crypto_mgr.c virtio-crypto: rename skcipher algs 2022-03-28 16:52:58 -04:00
virtio_crypto_skcipher_algs.c virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() 2023-01-12 12:02:08 +01:00