Search Linux Wireless

Re: [PATCH 2/3] cfg80211: fix processing world regdomain when non modular

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

 



On Thu, Apr 10, 2014 at 11:01 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Thu, 2014-04-10 at 09:13 +0300, Arik Nemtsov wrote:
>> On Wed, Apr 9, 2014 at 10:16 PM, Johannes Berg
>> <johannes@xxxxxxxxxxxxxxxx> wrote:
>> > +static void reg_free_last_request(struct regulatory_request *lr)
>> >
>> > Isn't it odd to pass the last request to a function called
>> > reg_free_last_request()?
>> >
>>
>> It makes sense to me. Non-last requests are freed using kfree. The
>> last request needs RCU.
>
> Yeah but there can only be one "last request", so why pass it?

oh. well that was weird before as well. :)
let's wait to see if it solves the bug? I can respin it without the arg later.

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