Messages in this thread | | | Date | Wed, 17 Sep 2008 13:11:33 -0700 (PDT) | Subject | Re: [GIT]: Networking (WEXT events and 64/32 compat) | From | David Miller <> |
| |
From: Jouni Malinen <j@w1.fi> Date: Wed, 17 Sep 2008 12:11:28 -0700
> Would it be acceptable to ever enable use of IWEVASSOCREQIE / > IWEVSSOCRESPIE in kernel if the workaround were available in new > wpa_supplicant versions? Or should we try to add a new WEXT event > type that uses fixed size for the length field and then replace the old > IWEVCUSTOM with the new type since IWEVCUSTOM does not work with > 64/32-bit case (wpa_supplicant just knows how to avoid processing that > bogus event data)?
Moving to a new event with a strictly sized datastructure, instead of one that has variable sized members like pointers and crap which are impossible to compat layer'ify, is indeed my preference.
But in that case, we might as well make nl80211 usable instead.
We'll always have those existing wpa_supplicant binaries out there, we can't break them. And the size checks wpa_supplicant makes is a BOGUS and REDICULIOUS way to get these malformed objects "supported" and "usable".
| |