Re: [PATCH net-next] pktgen: fix packet generation

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Mon, 11 May 2015 15:19:48 -0700 > 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. >

Re: [PATCH net-next] pktgen: fix packet generation

2015-05-12 Thread Alexei Starovoitov
On 5/12/15 1:19 AM, Jesper Dangaard Brouer wrote: On Mon, 11 May 2015 15:19:48 -0700 Alexei Starovoitov wrote: 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