[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1382968061.17956.10.camel@jlt4.sipsolutions.net>
Date: Mon, 28 Oct 2013 14:47:41 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Pali Rohár <pali.rohar@...il.com>
Cc: Luciano Coelho <luca@...lho.fi>,
"John W. Linville" <linville@...driver.com>,
"David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, freemangordon@....bg,
aaro.koskinen@....fi, pavel@....cz, sre@...g0.de,
joni.lapilainen@...il.com, David Gnedt <david.gnedt@...izone.at>
Subject: Re: [PATCH 01/16] mac80211: fix TX device statistics for monitor
interfaces
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists