]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] blkcipher: Fix inverted test in blkcipher_get_spot
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Sep 2007 07:51:11 +0000 (15:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Sep 2007 07:51:11 +0000 (15:51 +0800)
commita305fc10c7c15b38cc306550962b811b9a53e712
tree091f9df30f873c472ecccac0e9b103dc84a981dd
parent66fe04641aecd7116156b14bb793fdcc2422d72e
[CRYPTO] blkcipher: Fix inverted test in blkcipher_get_spot

The previous patch had the conditional inverted.  This patch fixes it
so that we return the original position if it does not straddle a page.

Thanks to Bob Gilligan for spotting this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/blkcipher.c