diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2015-05-12 00:19:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-13 05:09:52 +0200 |
commit | 9eea92226407e7a117ef1ceef45380ebd000a0e2 (patch) | |
tree | 03e230448302879dc3f7bd25601e1d22fa129c5f /drivers/net/hyperv | |
parent | Merge branch 'systemport-irq-coalesce' (diff) | |
download | linux-9eea92226407e7a117ef1ceef45380ebd000a0e2.tar.xz linux-9eea92226407e7a117ef1ceef45380ebd000a0e2.zip |
pktgen: fix packet generation
pkt_gen->last_ok was not set properly, so after the first burst
pktgen instead of allocating new packet, will reuse old one, advance
eth_type_trans further, which would mean the stack will be seeing very
short bogus packets.
Fixes: 62f64aed622b ("pktgen: introduce xmit_mode '<start_xmit|netif_receive>'")
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions