On Thu, Apr 17, 2014 at 05:20:34PM +0800, Fan Du wrote: > > The signal checking is only to bail out from the infinite loop, it shouldn't > override original err code -EAGAIN with -EINTR. > > With -EAGAIN, user space app can try again, what do you think? EAGAIN makes no sense when we bail out due to a signal. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html