aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 6596b4feeddc..49d0d2b8900c 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2999,6 +2999,7 @@ int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp,
2999 const unsigned head_data_len = skb_headlen(skb) > header_len ? 2999 const unsigned head_data_len = skb_headlen(skb) > header_len ?
3000 skb_headlen(skb) - header_len : 0; 3000 skb_headlen(skb) - header_len : 0;
3001 const struct skb_shared_info *shi = skb_shinfo(skb); 3001 const struct skb_shared_info *shi = skb_shinfo(skb);
3002 struct sk_buff *frag_iter;
3002 3003
3003 sg_init_table(&sg, 1); 3004 sg_init_table(&sg, 1);
3004 3005
@@ -3013,6 +3014,10 @@ int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *hp,
3013 return 1; 3014 return 1;
3014 } 3015 }
3015 3016
3017 skb_walk_frags(skb, frag_iter)
3018 if (tcp_md5_hash_skb_data(hp, frag_iter, 0))
3019 return 1;
3020
3016 return 0; 3021 return 0;
3017} 3022}
3018 3023