]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/core/pktgen.c
[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6h
[net-next-2.6.git] / net / core / pktgen.c
index e0faff8eb652f0c5108315ec03f19705750740eb..ee82364c8f31ceb7d5792f6f1dfbde19d548a6ac 100644 (file)
@@ -2736,7 +2736,7 @@ static struct sk_buff *fill_packet_ipv6(struct net_device *odev,
        skb->protocol = protocol;
        skb->dev = odev;
        skb->pkt_type = PACKET_HOST;
-       skb->nh.ipv6h = iph;
+       skb->nh.raw = (unsigned char *)iph;
        skb->h.uh = udph;
 
        if (pkt_dev->nfrags <= 0)