Daniel Turull 05aebe2e5d pktgen: bug fix in transmission headers with frags=0
(bug introduced by commit 26ad787962ef84677a48c560
(pktgen: speedup fragmented skbs)

The headers of pktgen were incorrectly added in a pktgen packet
without frags (frags=0). There was an offset in the pktgen headers.

The cause was in reusing the pgh variable as a return variable in skb_put
when adding the payload to the skb.

Signed-off-by: Daniel Turull <daniel.turull@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
2011-03-14 13:47:40 -07:00
..
2010-10-25 13:09:44 -07:00
2011-03-04 12:25:05 -08:00
2011-01-27 14:15:54 -08:00
2011-01-12 19:00:40 -08:00
2010-10-21 15:44:13 +02:00
2011-03-01 22:51:52 -08:00
2010-04-20 16:37:13 -07:00
2011-02-09 22:36:13 -08:00
2010-10-15 15:53:27 +02:00
2011-02-23 14:11:30 -08:00