We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060ebb3 commit b548c04Copy full SHA for b548c04
net/core/skbuff.c
@@ -4032,6 +4032,11 @@ struct sk_buff *skb_segment_list(struct sk_buff *skb,
4032
4033
skb_push(skb, -skb_network_offset(skb) + offset);
4034
4035
+ /* Ensure the head is writeable before touching the shared info */
4036
+ err = skb_unclone(skb, GFP_ATOMIC);
4037
+ if (err)
4038
+ goto err_linearize;
4039
+
4040
skb_shinfo(skb)->frag_list = NULL;
4041
4042
while (list_skb) {
0 commit comments