aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/crypto/ocf/cryptosoft.c
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-07-11 23:38:14 +0000
committerLuka Perkov <luka@openwrt.org>2012-07-11 23:38:14 +0000
commit283021ac15faec84a1764d7883cfb47db7847d0c (patch)
tree650deb33e8131cc58fffb4f50ee3a1727ca4dfc3 /target/linux/generic/files/crypto/ocf/cryptosoft.c
parent5e4100bcf905e6d7888a30f65444ea9f326fea47 (diff)
downloadupstream-283021ac15faec84a1764d7883cfb47db7847d0c.tar.gz
upstream-283021ac15faec84a1764d7883cfb47db7847d0c.tar.bz2
upstream-283021ac15faec84a1764d7883cfb47db7847d0c.zip
ocf: update to version 20120127
SVN-Revision: 32672
Diffstat (limited to 'target/linux/generic/files/crypto/ocf/cryptosoft.c')
-rw-r--r--target/linux/generic/files/crypto/ocf/cryptosoft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/crypto/ocf/cryptosoft.c b/target/linux/generic/files/crypto/ocf/cryptosoft.c
index f9ecdf927d..aa2383d1f0 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) {