Home
last modified time | relevance | path

Searched hist:"85 c6201a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/crypto/
H A Dscatterwalk.c85c6201a Tue May 18 23:06:29 CDT 2010 David S. Miller <davem@davemloft.net> 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>
85c6201a Tue May 18 23:06:29 CDT 2010 David S. Miller <davem@davemloft.net> 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>