Search Linux Wireless

Re: [PATCH 03/19] cfg80211: check regulatory request alpha2 early

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

 



On Wed, Nov 6, 2013 at 2:17 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Tue, 2013-11-05 at 09:18 -0800, Luis R. Rodriguez wrote:
>> Currently nl80211 allows userspace to send the kernel
>> a bogus regulatory domain with at most 32 rules set
>> and it won't reject it until after its allocated
>> memory. Let's be smart about it and take advantage
>> that the last_request is now available under RCU
>                                                ^^^
>
> I think you mean RTNL?

I meant through RCU but yes it should also say under RTNL, the routine
already does have NL80211_FLAG_NEED_RTNL, as an internal flag set, so
this should be OK. Care to amend the commit log or want me to do it?

  Luis
--
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