]> 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)
commit334c1f22ba7c7dee0935788d97994ebc4bb5251b
treed0f0297c0282dccb7b5e8dbf1a78942939e9a130
parentd8991a9c8ced435ffc29970b78aaaf3d1b5dce83
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