Re: [PATCH 01/16] mac80211: fix TX device statistics for monitorinterfaces

From: Johannes Berg
Date: Mon Oct 28 2013 - 09:47:52 EST


On Sat, 2013-10-26 at 22:34 +0200, Pali RohÃr wrote:

> + dev->stats.tx_packets++;
> + dev->stats.tx_bytes += skb->len;

We can still easily drop the packet after this - we can't guarantee
it'll go out but maybe we shouldn't do it here?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/