]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: don't use WQ_MEM_RECLAIM
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Jan 2018 07:40:51 +0000 (08:40 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Feb 2018 12:13:10 +0000 (13:13 +0100)
commite43cf9ec4be0272462ebdce99a4a16b112b71705
tree081a4e4678f97fd999a8a227d4a492c5dd09c672
parente2e1af29d98801050450be46d928e755d944aea6
mac80211_hwsim: don't use WQ_MEM_RECLAIM

We're obviously not part of a memory reclaim path, so don't set the flag.

This also causes a warning in check_flush_dependency() since we end up
in a code path that flushes a non-reclaim workqueue, and we shouldn't do
that if we were really part of reclaim.

Reported-by: syzbot+41cdaf4232c50e658934@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c