diff options
author | Sara Sharon | 2018-02-19 13:48:37 +0100 |
---|---|---|
committer | Johannes Berg | 2018-02-19 14:53:10 +0100 |
commit | 95f3ce6a77893ac828ba841df44421620de4314b (patch) | |
tree | 373fcc32556931c2f432ae9b877111485a0f9fd6 /net/wireless | |
parent | mac80211: fix a possible leak of station stats (diff) | |
download | kernel-qcow2-linux-95f3ce6a77893ac828ba841df44421620de4314b.tar.gz kernel-qcow2-linux-95f3ce6a77893ac828ba841df44421620de4314b.tar.xz kernel-qcow2-linux-95f3ce6a77893ac828ba841df44421620de4314b.zip |
mac80211: fix calling sleeping function in atomic context
sta_info_alloc can be called from atomic paths (such as RX path)
so we need to call pcpu_alloc with the correct gfp.
Fixes: c9c5962b56c1 ("mac80211: enable collecting station statistics per-CPU")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions