Messages in this thread | | | Subject | Re: [PATCH 01/16] mac80211: fix TX device statistics for monitor interfaces | From | Johannes Berg <> | Date | Mon, 28 Oct 2013 14:47:41 +0100 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |