summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-05-19 14:06:29 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2010-05-19 14:06:29 +1000
commit85c6201a80ce4464a52c58a5f5ea8de15a557a6f (patch)
tree16a0ef528745a1d8404faadac2d7a5eeaf4b95a1 /crypto/lrw.c
parent3385329a0a0f1d31ca1d011c7887006a7e5a9902 (diff)
downloadop-kernel-dev-85c6201a80ce4464a52c58a5f5ea8de15a557a6f.zip
op-kernel-dev-85c6201a80ce4464a52c58a5f5ea8de15a557a6f.tar.gz
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/lrw.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud