> Crypto callbacks are invoked on checking from head node
> which is always valid pointer.
>
> This patch checks next node from the head node if callbacks
> registered before invoking callbacks.
>
> Fixes: 1c3ffb95595e ("cryptodev: add enqueue and dequeue callbacks")
>
> Signed-off-by: Ganapati Kundapura <[email protected]>
> ---
Acked-by: Akhil Goyal <[email protected]>Cc: [email protected]

