From: Dmitry Kasatkin Date: Wed, 29 Dec 2010 10:52:04 +0000 (+1100) Subject: crypto: omap-sham - backlog handling fix X-Git-Tag: v2.6.38-rc1~238^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c39d116ba308ccf9007773a090ca6d20eb68459;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed