Loading net/xfrm/xfrm_algo.c +3 −2 Original line number Diff line number Diff line Loading @@ -553,7 +553,7 @@ int skb_icv_walk(const struct sk_buff *skb, struct hash_desc *desc, if (copy > len) copy = len; sg_set_buf(&sg, skb->data + offset, copy); sg_init_one(&sg, skb->data + offset, copy); err = icv_update(desc, &sg, copy); if (unlikely(err)) Loading @@ -576,6 +576,7 @@ int skb_icv_walk(const struct sk_buff *skb, struct hash_desc *desc, if (copy > len) copy = len; sg_init_table(&sg, 1); sg_set_page(&sg, frag->page, copy, frag->page_offset + offset-start); Loading Loading
net/xfrm/xfrm_algo.c +3 −2 Original line number Diff line number Diff line Loading @@ -553,7 +553,7 @@ int skb_icv_walk(const struct sk_buff *skb, struct hash_desc *desc, if (copy > len) copy = len; sg_set_buf(&sg, skb->data + offset, copy); sg_init_one(&sg, skb->data + offset, copy); err = icv_update(desc, &sg, copy); if (unlikely(err)) Loading @@ -576,6 +576,7 @@ int skb_icv_walk(const struct sk_buff *skb, struct hash_desc *desc, if (copy > len) copy = len; sg_init_table(&sg, 1); sg_set_page(&sg, frag->page, copy, frag->page_offset + offset-start); Loading