On Tue, 2016-11-29 at 10:05 -0800, greearb@xxxxxxxxxxxxxxx wrote: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > This fixes OOM when using pktgen to drive a wifi station at more than > the station can transmit. pktgen uses ndo_start_xmit instead of > going > through the queue layer, so it will not back off when the queues are > stopped, and would thus cause packets to be added to the txqi->queue > until the system goes OOM and crashes. > > Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> > --- > > This is against 4.7.10+, not sure if it is actually needed in latest > kernel. One would hope that fq_tin_enqueue() does something like that, but anyway the patch doesn't apply so I'm dropping it. johannes