Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202577
b: refs/heads/master
c: d7fd1b5
h: refs/heads/master
i:
  202575: a5fc299
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 31, 2010
1 parent f5decb1 commit ca2d6a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15e83ed78864d0625e87a85f09b297c0919a4797
refs/heads/master: d7fd1b5747fff3bde92777bcaf705d98ae6f8b6f
5 changes: 5 additions & 0 deletions trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2999,6 +2999,7 @@ int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp,
const unsigned head_data_len = skb_headlen(skb) > header_len ?
skb_headlen(skb) - header_len : 0;
const struct skb_shared_info *shi = skb_shinfo(skb);
struct sk_buff *frag_iter;

sg_init_table(&sg, 1);

Expand All @@ -3013,6 +3014,10 @@ int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp,
return 1;
}

skb_walk_frags(skb, frag_iter)
if (tcp_md5_hash_skb_data(hp, frag_iter, 0))
return 1;

return 0;
}

Expand Down

0 comments on commit ca2d6a0

Please sign in to comment.