crypto: picoxcell - fix possible invalid pointer dereference
authorJamie Iles <jamie@jamieiles.com>
Tue, 2 Aug 2011 10:29:06 +0000 (11:29 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Aug 2011 11:00:27 +0000 (19:00 +0800)
commitb64dc04beba30947dc80745dcb95ae3c04fd18cf
tree754ab3746c524f42d045491be7df01cde3c0f1fe
parent30343ef1de348cd21cd7d0cebde3c0175b730e0b
crypto: picoxcell - fix possible invalid pointer dereference

The completion callback will free the request so we must remove it from
the completion list before calling the callback.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c