From: Vishnu Suresh Date: Mon, 20 Oct 2008 13:06:18 +0000 (+0800) Subject: crypto: talitos - Preempt overflow interrupts off-by-one fix X-Git-Tag: v2.6.29-rc1~589^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6;p=pandora-kernel.git crypto: talitos - Preempt overflow interrupts off-by-one fix In commit ec6644d6325b5a38525f1d5b20fd4bf7db05cf2a "crypto: talitos - Preempt overflow interrupts", the test in atomic_inc_not_zero was interpreted by the author to be applied after the increment operation (not before). This off-by-one fix prevents overflow error interrupts from occurring when requests are frequent and large enough to do so. Signed-off-by: Vishnu Suresh Signed-off-by: Kim Phillips Signed-off-by: Herbert Xu --- Reading git-diff-tree failed