mac80211_hwsim: use GFP_ATOMIC under spin lock
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 22 Apr 2020 02:01:54 +0000 (02:01 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Apr 2020 08:08:09 +0000 (10:08 +0200)
commit0379861217dc2dd46e3bc517010060065b0dd6fc
treeecb2e5883825323435d5f118e82d31c5bef35b51
parent7c74b0bec918c1e0ca0b4208038c156eacf8f13f
mac80211_hwsim: use GFP_ATOMIC under spin lock

A spin lock is taken here so we should use GFP_ATOMIC.

Fixes: 5d44fe7c9808 ("mac80211_hwsim: add frame transmission support over virtio")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200422020154.112088-1-weiyongjun1@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c