Herbert Xu
801b100b13
crypto: scatterwalk - Fix test in scatterwalk_done
...
commit 5f070e81bee35f1b7bd1477bb223a873ff657803 upstream.
When there is more data to be processed, the current test in
scatterwalk_done may prevent us from calling pagedone even when
we should.
In particular, if we're on an SG entry spanning multiple pages
where the last page is not a full page, we will incorrectly skip
calling pagedone on the second last page.
This patch fixes this by adding a separate test for whether we've
reached the end of a page.
Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Willy Tarreau <w@1wt.eu >
2016-08-27 11:40:19 +02:00
..
2013-12-04 10:57:33 -08:00
2015-01-29 17:40:57 -08:00
2015-11-09 10:12:59 -08:00
2015-01-29 17:40:57 -08:00
2016-03-16 08:41:37 -07:00
2016-06-07 10:42:53 +02:00
2015-11-09 10:12:59 -08:00
2013-06-25 19:15:17 +08:00
2016-02-19 14:22:41 -08:00
2014-11-14 08:48:00 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-11-09 10:12:59 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-02-11 14:48:18 +08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2016-02-19 14:22:41 -08:00
2014-06-07 13:25:35 -07:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2016-08-27 11:40:19 +02:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2013-06-25 19:15:17 +08:00
2013-06-05 16:33:23 +08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2016-08-27 11:40:19 +02:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2013-05-02 14:53:12 -07:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00
2015-01-29 17:40:57 -08:00