Search Linux Wireless

Re: [RFC 1/5] cfg80211: pass the wdev on the country IE regulatory hint

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

 



On Thu, Nov 14, 2013 at 04:05:23PM +0100, Johannes Berg wrote:
> On Thu, 2013-11-14 at 07:12 -0800, Luis R. Rodriguez wrote:
> 
> > > But that's kinda unsafe. Might also be worth just making it a
> > > void* to avoid people trying to use it.
> > 
> > OK. I can see the cookie in theory race against the allocator
> > releasing and creating a new wdev and it magically being
> > the same pointer, but chances are really low of that.
> 
> Hmm, good point, maybe it'd be better to clean it up on netdev
> unregistration.

Ah, the block notifier?

  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