projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6h
[linux-block.git]
/
net
/
core
/
pktgen.c
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index e0faff8eb652f0c5108315ec03f19705750740eb..ee82364c8f31ceb7d5792f6f1dfbde19d548a6ac 100644
(file)
--- a/
net/core/pktgen.c
+++ b/
net/core/pktgen.c
@@
-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)