On 04/11/2015 02:18 PM, Al Viro wrote:
> @@ -766,8 +765,7 @@ int sock_recvmsg(struct socket *sock, struct msghdr *msg,
>  
>       init_sync_kiocb(&iocb, NULL);
>       ret = __sock_recvmsg(&iocb, sock, msg, size, flags);
> -     if (-EIOCBQUEUED == ret)
> -             ret = wait_on_sync_kiocb(&iocb);
> +     BUG_ON(ret == -EIOCBQUEUED);

NACK - PF_ALG type sockets support async operations and return -EIOCBQUEUED
See skcipher_recvmsg_async() in crypto/algif_skcipher.c in net-next

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to