crypto: authenc - Add EINPROGRESS check
commit2b5a5d1697b2d4a96428ac6439b1d81660de379c
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Apr 2010 01:14:05 +0000 (26 09:14 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 May 2010 21:32:12 +0000 (26 14:32 -0700)
treefb4a8fe3417ea0b700fffa070d53c11ca5ea5f80
parent0afe7e4c1136dda6486587be78c5d277f7aac999
crypto: authenc - Add EINPROGRESS check

commit 180ce7e81030e1ef763d58f97f9ab840ff57d848 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
crypto/authenc.c