projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1502d
)
[PKTGEN]: Fix oops when used with balance-tlb bonding
author
Chen-Li Tien
<cltien@gmail.com>
Tue, 8 Aug 2006 03:49:07 +0000
(20:49 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 8 Aug 2006 03:49:07 +0000
(20:49 -0700)
Signed-off-by: Chen-Li Tien <cltien@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 67ed14ddabd2b83a32bef68b002c67298bcc2f42..b1743375eb6d1dfc18b5de1d2cd7424b61892e94 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);