Search Linux Wireless

Re: [PATCH 6/7] cfg80211: initialize last_request

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

 



On Wed, 2008-11-05 at 11:53 -0800, Luis R. Rodriguez wrote:
> On Wed, Nov 5, 2008 at 4:02 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> > On Tue, 2008-11-04 at 18:50 -0800, Luis R. Rodriguez wrote:
> >> last_request was not being initialized. By initializing it
> >> we don't fix a bug as we are not checking for it before prior
> >> to a regulatory hint however we may do so at a later time.
> >
> > It's a static variable, it always starts out as NULL, this isn't
> > necessary.
> 
> You're right but this is not true in userspace, why is this different BTW?

TBH, I'm not entirely sure. Must be something about the kernel
initialising memory all around, and userspace not doing that.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux