diff options
author | Vishnu Suresh <Vishnu@freescale.com> | 2008-10-20 21:06:18 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 11:01:17 +1100 |
commit | 4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6 (patch) | |
tree | d45d4e98934da0226c5f88474deaa36910ace25e /block/compat_ioctl.c | |
parent | 32bd78e0a5d34cd8e34046502bddcf31aeb38e64 (diff) |
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 <Vishnu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions