X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=crypto%2Falgif_skcipher.c;h=af31a0ee4057370593536cb9f8cc0a4343ab91b8;hb=d7f9777de884daf5721211bddfd21e7c8c156b17;hp=945075292bc9584e57f4612bb1b7549a8e9e9b22;hpb=64e22b86854227b4d13a57fa02f26472bc426812;p=firefly-linux-kernel-4.4.55.git diff --git a/crypto/algif_skcipher.c b/crypto/algif_skcipher.c index 945075292bc9..af31a0ee4057 100644 --- a/crypto/algif_skcipher.c +++ b/crypto/algif_skcipher.c @@ -145,7 +145,7 @@ static int skcipher_alloc_sgl(struct sock *sk) sgl->cur = 0; if (sg) - scatterwalk_sg_chain(sg, MAX_SGL_ENTS + 1, sgl->sg); + sg_chain(sg, MAX_SGL_ENTS + 1, sgl->sg); list_add_tail(&sgl->list, &ctx->tsgl); }