Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33304
b: refs/heads/master
c: aaf5806
h: refs/heads/master
v: v3
  • Loading branch information
Chen-Li Tien authored and David S. Miller committed Aug 8, 2006
1 parent cd0a224 commit 31aaade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8d1502de27c46b365b5c86e17d173083d3d6c9ac
refs/heads/master: aaf580601ff244df82324fff380ed6740f27ef03
2 changes: 2 additions & 0 deletions trunk/net/core/pktgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 31aaade

Please sign in to comment.