> > 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