]> err.no Git - linux-2.6/commit
[CRYPTO] api: Use the right value when advancing scatterwalk_copychunks
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Mar 2007 02:16:20 +0000 (12:16 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Mar 2007 02:16:20 +0000 (12:16 +1000)
commit4ee531a3e661207d4b2174486b0f86017a3adb82
tree44d6a1cc5809d6263364367ac22a935cc294e270
parentce20269d1e97030afa476e12b99d2437e748d225
[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>
crypto/scatterwalk.c