[PATCH 1/1] mac80211: ieee80211_rx_napi: remove warning

Johannes Berg johannes at sipsolutions.net
Wed Jun 7 14:57:22 PDT 2017

On Sun, 2017-06-04 at 15:11 +0200, Erik Stromdahl wrote:
> The softirq count is not always incremented during driver
> operation. This is the case for usb and sdio network
> drivers.

I'm pretty sure the warning is correct, and we do rely on having
local_bh_disable(), otherwise we may end up taking a soft-IRQ and I
believe there are some things that could get messed up in that case.

So - I think the warning is there for a reason, and drivers should just
local_bh_disable() before calling into that. What's wrong with that?


More information about the ath10k mailing list