Search Linux Wireless

Re: [PATCH] wext: optimise, comment and fix event sending

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

 



On Fri, 2009-06-19 at 10:59 -0700, Luis R. Rodriguez wrote:

> >        /* Get the description of the Event */
> >        if (cmd <= SIOCIWLAST) {
> > @@ -1430,25 +1395,60 @@ void wireless_send_event(struct net_devi
> >        hdr_len = event_type_size[descr->header_type];
> >        event_len = hdr_len + extra_len;
> >
> > -       /* Create temporary buffer to hold the event */
> > -       event = kmalloc(event_len, GFP_ATOMIC);
> 
> Hm, for stable purposes can this be fixed with a kzalloc here? If so
> can this patch be split it up in 2 for that purpose?

Yes, but since this bug has been around _forever_, and we've also known
about it for a long time too, I don't think it's necessary to fix in
stable.

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