On Mon, 2009-02-16 at 00:13 -0800, Luis R. Rodriguez wrote: > >> + if (!cfg80211_regdomain) > >> + return -EINPROGRESS; > >> + > > > > But that variable access here is racy too. > > Right. > > > It might be ok anyway because > > the variable can never be NULL again after the first assignment > > That's what I was going for. > > > but in > > that case the assignment needs to take care to assign something fully > > created ... > > Can you elaborate on what you mean? It'd have to be done in a RCU-like fashion, unless we only ever use it as a bool here? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part