Subject: Re: 4.12-RC2 BUG: scheduling while atomic: irq/47-iwlwifi

From: Johannes Berg <[email-masked]>
Date: Mon, 22 May 2017 12:57:08 +0200

On Mon, 2017-05-22 at 12:36 +0200, Sander Eikelenboom wrote:
> Hi,
> 
> I encountered this splat with 4.12-RC2.

Ugh, yeah, I should've seen that in the review.

Arend, please take a look at this. cfg80211_sched_scan_results() cannot
sleep, so you can't rtnl_lock() in there. Looks like you can just rely
on RCU though?

johannes