Search Linux Wireless

Re: [PATCH] cfg80211: fix deadlock during reg chan check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>> >
>> >> > Also, the only reason this can happen anyway is when you call "can
>> >> > beacon" for a station interface - which seems nonsensical. Given that
>> >>
>> >> This is not true. This happens with current code for a p2p-go
>> >> interface during channel validity checks in reg.c.
>> >
>> > Not sure I see this? The only thing doing wdev locking is
>> > cfg80211_go_permissive_chan(), no? And that only for station interfaces.
>>
>> cfg80211_go_permissive_chan is called from cfg80211_reg_can_beacon,
>> currently only for GO interfaces, but for STA also in the future
>> (hopefully).
>> The latter is called during channel validity checks for GO.
>
> Ok.
>
> Should I just apply the patch as it is then?

It fixes a real existing deadlock, so I think so, yea.

Arik
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux