]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove key TX/RX counter
authorJohannes Berg <johannes.berg@intel.com>
Fri, 12 Jun 2015 12:40:45 +0000 (14:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:01 +0000 (15:38 +0200)
commitdff0f7642cae0e27c83823477b4e89c2518d84da
treed0f0297c0282dccb7b5e8dbf1a78942939e9a130
parent32bba8b6fb9c5c77763d99f9ff7c2255a75de79b
mac80211: remove key TX/RX counter

This counter is inherently racy (since it can be incremented by RX
as well as by concurrent TX) and only available in debugfs. Instead
of fixing it to be per-CPU or similar, remove it for now. If needed
it should be added without races and with proper nl80211, perhaps
even addressing the threshold reporting TODO item that's been there
since the code was originally added.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_key.c
net/mac80211/key.h
net/mac80211/rx.c
net/mac80211/tx.c