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
..
2011-02-17 15:44:00 -08:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2011-01-20 16:59:34 -08:00
2010-10-25 14:18:27 -07:00
2010-11-28 18:24:14 -08:00
2010-07-12 12:57:55 -07:00
2010-11-24 11:16:43 -08:00
2010-10-25 14:18:27 -07:00
2010-09-23 14:33:39 -07:00