From: David S. Miller Date: Wed, 19 May 2010 04:06:29 +0000 (+1000) Subject: crypto: scatterwalk - Fix scatterwalk_done() test X-Git-Tag: v2.6.35-rc1~446^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c6201a80ce4464a52c58a5f5ea8de15a557a6f;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed