[Make-wifi-fast] [PATCH 1/3] cfg80211: Expose TXQ stats and parameters to userspace
Toke Høiland-Jørgensen
toke at toke.dk
Tue May 8 06:23:55 EDT 2018
Johannes Berg <johannes at sipsolutions.net> writes:
> On Tue, 2018-05-08 at 12:18 +0200, Toke Høiland-Jørgensen wrote:
>> Johannes Berg <johannes at sipsolutions.net> writes:
>>
>> > net/mac80211/cfg.c:3762:12: warning: context imbalance in
>> > 'ieee80211_get_txq_stats' - different lock contexts for basic block
>>
>> Found and fixed all the other warnings, but I'm not seeing this one. And
>> I don't really see what is wrong with the locking in that function? What
>> am I missing?
>
> Oh and what's wrong is that you "return 1" from the function with a lock
> held in one place, IIRC.
Ohhh, right... I already fixed that in my local branch, which is why I
can't find it I guess :D
-Toke
More information about the Make-wifi-fast
mailing list