[PATCH] CRYPTO api: Use the right value when advancing scatterwalk_copychunks
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Mar 2007 02:14:37 +0000 (12:14 +1000)
committerChris Wright <chrisw@sous-sol.org>
Fri, 6 Apr 2007 20:02:34 +0000 (13:02 -0700)
commit05e624110bd9d839ad9ac1ffe2d0e01d11b2b604
tree42cd6bf5113eb145b6aad019c986780a188ea54a
parent470cf5d01d702afb4fa0900c6085b39fb03aa899
[PATCH] CRYPTO api: Use the right value when advancing scatterwalk_copychunks

In the scatterwalk_copychunks loop, We should be advancing by
len_this_page and not nbytes.  The latter is the total length.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
crypto/scatterwalk.c