net: Add and use skb_mark_not_on_list().
[linux-2.6-block.git] / net / ipv6 / reassembly.c
index 5c5b4f79296e3d18b66f074b415331893b13f367..f1b1ff30fe5bc36cc415358c0c92354a68e4268c 100644 (file)
@@ -388,7 +388,7 @@ static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev,
        }
        sub_frag_mem_limit(fq->q.net, sum_truesize);
 
-       head->next = NULL;
+       skb_mark_not_on_list(head);
        head->dev = dev;
        head->tstamp = fq->q.stamp;
        ipv6_hdr(head)->payload_len = htons(payload_len);