Searched hist:"9 eea92226407e7a117ef1ceef45380ebd000a0e2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | pktgen.c | diff 9eea92226407e7a117ef1ceef45380ebd000a0e2 Mon May 11 17:19:48 CDT 2015 Alexei Starovoitov <ast@plumgrid.com> 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>
|