]> err.no Git - linux-2.6/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)
commit32528d0fbda1093eeeaa7d0a2c498bbb5154099d
tree091f9df30f873c472ecccac0e9b103dc84a981dd
parente4630f9fd8cdc14eb1caa08dafe649eb5ae09985
[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