Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72604
b: refs/heads/master
c: 0e0940d
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Oct 26, 2007
1 parent e0f1a4e commit f3772a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed0e7e0ca370519d6f79d1093ee2890d4cdee744
refs/heads/master: 0e0940d4bb9b19c0a45c844a83e1d25686aaf433
5 changes: 3 additions & 2 deletions trunk/net/xfrm/xfrm_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -576,8 +576,9 @@ 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);
frag->page_offset + offset-start);

err = icv_update(desc, &sg, copy);
if (unlikely(err))
Expand Down

0 comments on commit f3772a5

Please sign in to comment.