summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2010-12-29 21:52:04 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2010-12-29 21:52:04 +1100
commit6c39d116ba308ccf9007773a090ca6d20eb68459 (patch)
tree4928ffd2efc23fe19431f32dfa6f188248e1d643 /crypto
parent8ad225e8e4f530f500c12ec77fd5a51caf6a2f66 (diff)
downloadlinux-6c39d116ba308ccf9007773a090ca6d20eb68459.tar.gz
linux-6c39d116ba308ccf9007773a090ca6d20eb68459.tar.bz2
linux-6c39d116ba308ccf9007773a090ca6d20eb68459.zip
crypto: omap-sham - backlog handling fix
Previous commit "removed redundant locking" introduced a bug in handling backlog. In certain cases, when async request complete callback will call complete() on -EINPROGRESS code, it will cause uncompleted requests. It does not happen in implementation similar to crypto test manager, but it will happen in implementation similar to dm-crypt. Backlog needs to be checked before dequeuing next request. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions