projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2abb1
)
PKTGEN: Fix oops when used with balance-tlb bonding
author
Chen-Li Tien
<cltien@gmail.com>
Tue, 5 Sep 2006 20:15:08 +0000
(22:15 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 8 Sep 2006 21:51:39 +0000
(14:51 -0700)
Signed-off-by: Chen-Li Tien <cltien@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/core/pktgen.c
patch
|
blob
|
history
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 7db70d0ad7222726718bf8a8a5398eaf123accff..b916b7fe2997df031c282604dcb06d346b01f73f 100644
(file)
--- a/
net/core/pktgen.c
+++ b/
net/core/pktgen.c
@@
-2149,6
+2149,8
@@
static struct sk_buff *fill_packet_ipv4(struct net_device *odev,
skb->mac.raw = ((u8 *) iph) - 14 - pkt_dev->nr_labels*sizeof(u32);
skb->dev = odev;
skb->pkt_type = PACKET_HOST;
+ skb->nh.iph = iph;
+ skb->h.uh = udph;
if (pkt_dev->nfrags <= 0)
pgh = (struct pktgen_hdr *)skb_put(skb, datalen);