[what happened here with all the gmane addresses??] > > Since iw_range is not packed, there are a few locations where there > is some padding. You could quite easily shoehorn an 8 bit bitmask into > the existing structure without impacting backward compatibility > (unless userspace is using the padding for something). For example: Ouch. But possible since we cannot do this. > Hmm; this could work as long as that part of the structure is guaranteed > to be 0 if it wasn't touched by the driver. If it could be filled with > garbage bits at any point, then it's not going to work. Interesting > thought. That depends how the driver allocates it. Some drivers leak stack data in these fields which is bad per se, and it's something we need to fix fix in the kernel anyway. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part