cfg80211: use proper allocation flags
Instead of hardcoding GFP_ATOMIC everywhere, add a new function parameter that gets the flags from the caller. Obviously then I need to update all callers (all of them in mac80211), and it turns out that now it's ok to use GFP_KERNEL in almost all places. Signed-off-by:Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- include/net/cfg80211.h 14 additions, 7 deletionsinclude/net/cfg80211.h
- net/mac80211/event.c 3 additions, 2 deletionsnet/mac80211/event.c
- net/mac80211/ieee80211_i.h 2 additions, 1 deletionnet/mac80211/ieee80211_i.h
- net/mac80211/mlme.c 19 additions, 11 deletionsnet/mac80211/mlme.c
- net/mac80211/rx.c 2 additions, 1 deletionnet/mac80211/rx.c
- net/mac80211/wpa.c 2 additions, 1 deletionnet/mac80211/wpa.c
- net/wireless/mlme.c 15 additions, 15 deletionsnet/wireless/mlme.c
- net/wireless/nl80211.c 27 additions, 21 deletionsnet/wireless/nl80211.c
- net/wireless/nl80211.h 7 additions, 7 deletionsnet/wireless/nl80211.h
Loading
Please register or sign in to comment