On Mon, 19 Apr 2021 21:34:47 +0800
"Min Hu (Connor)" <[email protected]> wrote:

> From: HongBo Zheng <[email protected]>
> 
> In virtio_crypto_pkt_tx_burst, we check the return values of
> virtqueue_crypto_enqueue_xmit, which may returns -ENOSPC/-EMSGSIZE,
> but we only check ENOSPC/EMSGSIZE, and cause the result of checks
> is always false.
> 
> This patch fix this problem.
> 
> Fixes: 82adb12a1fce ("crypto/virtio: support burst enqueue/dequeue")
> Cc: [email protected]
> 
> Signed-off-by: HongBo Zheng <[email protected]>
> Signed-off-by: Min Hu (Connor) <[email protected]>

This patch looks correct.

Acked-by: Stephen Hemminger <[email protected]>

Reply via email to