]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: authenc - Add EINPROGRESS check
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Apr 2010 01:14:05 +0000 (09:14 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Apr 2010 01:14:05 +0000 (09:14 +0800)
commit5c0058d9e3eb92e70f603758bb5b0d6189520dcd
tree3972d6efc7c372e3c51b2f16eb181240fea127ea
parent77f7cd9e9db1d86494638f1126a2e51c4ef6db4c
crypto: authenc - Add EINPROGRESS check

When Steffen originally wrote the authenc async hash patch, he
correctly had EINPROGRESS checks in place so that we did not invoke
the original completion handler with it.

Unfortuantely I told him to remove it before the patch was applied.

As only MAY_BACKLOG request completion handlers are required to
handle EINPROGRESS completions, those checks are really needed.

This patch restores them.

Reported-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/authenc.c