Re: [stable] Linux 2.6.20.5
* Chris Wright ([EMAIL PROTECTED]) wrote: > diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c > index 35172d3..a664231 100644 > --- a/crypto/scatterwalk.c > +++ b/crypto/scatterwalk.c > @@ -91,6 +91,8 @@ void scatterwalk_copychunks(void *buf, struct scatter_walk > *walk, > memcpy_dir(buf, vaddr, len_this_page, out); > scatterwalk_unmap(vaddr, out); > > + scatterwalk_advance(walk, nbytes); > + > if (nbytes == len_this_page) > break; > > @@ -99,7 +101,5 @@ void scatterwalk_copychunks(void *buf, struct scatter_walk > *walk, > > scatterwalk_pagedone(walk, out, 1); > } > - > - scatterwalk_advance(walk, nbytes); > } > EXPORT_SYMBOL_GPL(scatterwalk_copychunks); Argh, looks like 2.6.20.5 is brown paper bag material - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [stable] Linux 2.6.20.5
* Chris Wright ([EMAIL PROTECTED]) wrote: diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c index 35172d3..a664231 100644 --- a/crypto/scatterwalk.c +++ b/crypto/scatterwalk.c @@ -91,6 +91,8 @@ void scatterwalk_copychunks(void *buf, struct scatter_walk *walk, memcpy_dir(buf, vaddr, len_this_page, out); scatterwalk_unmap(vaddr, out); + scatterwalk_advance(walk, nbytes); + if (nbytes == len_this_page) break; @@ -99,7 +101,5 @@ void scatterwalk_copychunks(void *buf, struct scatter_walk *walk, scatterwalk_pagedone(walk, out, 1); } - - scatterwalk_advance(walk, nbytes); } EXPORT_SYMBOL_GPL(scatterwalk_copychunks); Argh, looks like 2.6.20.5 is brown paper bag material - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/