aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2015-05-11 22:19:48 +0000
committerDavid S. Miller <[email protected]>2015-05-13 03:09:52 +0000
commit9eea92226407e7a117ef1ceef45380ebd000a0e2 (patch)
tree03e230448302879dc3f7bd25601e1d22fa129c5f /net/switchdev/switchdev.c
parentMerge branch 'systemport-irq-coalesce' (diff)
downloadkernel-9eea92226407e7a117ef1ceef45380ebd000a0e2.tar.gz
kernel-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 <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions