From 94a17b96c4b537258b3d338ac00c0757c4936c01 Mon Sep 17 00:00:00 2001 From: luka Date: Wed, 11 Jul 2012 23:38:14 +0000 Subject: ocf: update to version 20120127 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32672 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/files/crypto/ocf/cryptosoft.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/generic/files/crypto/ocf/cryptosoft.c') diff --git a/target/linux/generic/files/crypto/ocf/cryptosoft.c b/target/linux/generic/files/crypto/ocf/cryptosoft.c index f9ecdf927..aa2383d1f 100644 --- a/target/linux/generic/files/crypto/ocf/cryptosoft.c +++ b/target/linux/generic/files/crypto/ocf/cryptosoft.c @@ -814,6 +814,8 @@ static void swcr_process_req(struct swcr_req *req) sg_len, offset_in_page(crp->crp_buf + skip)); sg_num = 1; } + if (sg_num > 0) + sg_mark_end(&req->sg[sg_num-1]); switch (sw->sw_type & SW_TYPE_ALG_AMASK) { -- cgit v1.2.3