Re: [PATCH v3 0/4] Add a new backend for cryptodev

2022-11-02 Thread Michael S. Tsirkin
On Wed, Nov 02, 2022 at 04:02:09PM +0800, Lei He wrote: > v2 --> v3: > - Avoid using g_autoptr to free memory that not allocated in current > function. > - Fix memory-leak when 'virtio_crypto_handle_request' returns non-zero > value. > - When error occurred, always pass negative status to functio

[PATCH v3 0/4] Add a new backend for cryptodev

2022-11-02 Thread Lei He
v2 --> v3: - Avoid using g_autoptr to free memory that not allocated in current function. - Fix memory-leak when 'virtio_crypto_handle_request' returns non-zero value. - When error occurred, always pass negative status to function 'virtio_crypto_req_complete'. v1 --> v2: - Fix compile errors w