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