X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/32dec7075aae5cc6ef1e4394dc94fed1767b848e..3db8db156fae2d659f1843e096f133dd673dc023:/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 79aac9236..f9ecdf927 100644 --- a/target/linux/generic/files/crypto/ocf/cryptosoft.c +++ b/target/linux/generic/files/crypto/ocf/cryptosoft.c @@ -777,7 +777,7 @@ static void swcr_process_req(struct swcr_req *req) if (len + sg_len > crd->crd_len) len = crd->crd_len - sg_len; sg_set_page(&req->sg[sg_num], - skb_shinfo(skb)->frags[i].page, + skb_frag_page(&skb_shinfo(skb)->frags[i]), len, skb_shinfo(skb)->frags[i].page_offset + skip); sg_len += len;