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

2017-06-08 Thread Erik Stromdahl
On 2017-06-07 23:57, Johannes Berg wrote: 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

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

2017-06-07 Thread Johannes Berg
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

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

2017-06-04 Thread Erik Stromdahl
The softirq count is not always incremented during driver operation. This is the case for usb and sdio network drivers. The below warning occurs on the first RX frame pushed to mac80211 (for usb and sdio): [ 27.414995] [ cut here ] [ 27.416444] WARNING: CPU: 0 PID: 16