diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-19 14:06:29 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-05-19 14:06:29 +1000 |
commit | c783f7482f404d34498be354f4c0c859e14ce68c (patch) | |
tree | aa12d1ee59c0c6ab9e34fe4e69b0e14268de2ea6 /crypto/internal.h | |
parent | bc0c4af91c778afb314a90bdc057dab5157dcd84 (diff) | |
download | linux-crypto-c783f7482f404d34498be354f4c0c859e14ce68c.tar.gz linux-crypto-c783f7482f404d34498be354f4c0c859e14ce68c.zip |
crypto: scatterwalk - Fix scatterwalk_done() test
We are done with the scattergather entry when the walk offset goes
past sg->offset + sg->length, not when it crosses a page boundary.
There is a similarly queer test in the second half of
scatterwalk_pagedone() that probably needs some scrutiny.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions