X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=net%2Fipv6%2Freassembly.c;h=e354743ed4267563c6959700c3ea99f70172b06d;hb=14bbd6a565e1bcdc240d44687edb93f721cfdf99;hp=bab2c270f29207c37ed7b107b6d25c6e12a6053d;hpb=f5237f278f30a92401539a54f87ee0c717b6f818;p=~andy%2Flinux diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index bab2c270f29..e354743ed42 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c @@ -404,7 +404,7 @@ static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, goto out_oversize; /* Head of list must not be cloned. */ - if (skb_cloned(head) && pskb_expand_head(head, 0, 0, GFP_ATOMIC)) + if (skb_unclone(head, GFP_ATOMIC)) goto out_oom; /* If the first fragment is fragmented itself, we split