Skip to content
Commit 002ba346 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: scomp - Fix off-by-one bug when calculating last page



Fix off-by-one bug in the last page calculation for src and dst.

Reported-by: default avatarNhat Pham <nphamcs@gmail.com>
Fixes: 2d3553ec ("crypto: scomp - Remove support for some non-trivial SG lists")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent aece1cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment