Search Linux Wireless

Re: [PATCH] mac80211: don't use interface indizes

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

 



> > Leaving it to the driver to allocate the private space isn't too great either. 
> > Something like a char subif_priv[] at the end of ieee80211_sub_if_data and a 
> > way to specify the length of the private area will be more useful to drivers 
> > which wish to use the per-subif private space by avoiding extra allocation 
> > and allocation failure handling and also for drivers which don't, by 
> > eliminating the overhead of storing an unused pointer. It is also more 
> > consistent with the other apis that allocate ieee80211_hw and net_device.
> 
> Most drivers won't ever need private space, so leaving it to them to
> allocate is more efficient.

Uh, wait, thinko. New patch coming up.

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