Re: [GIT]: Networking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jouni Malinen
Date: Monday, September 8, 2008 - 9:05 pm

On Mon, Sep 08, 2008 at 08:43:23PM -0700, David Miller wrote:


OK. Interesting point here is that the old code was using IWEVCUSTOM
which is defined as having header_type IW_HEADER_TYPE_POINT and so are
the new IWEVASSOCREQIE and IWEVASSOCRESPIE. The only difference is in
max_tokens specifying different maximum length for the data. Maybe the
old code was also broken, but wpa_supplicant handled the bogus data
without causing problems (text parsing failing instead of some
parameters being set based on bogus binary data).


I haven't looked how IW_HEADER_TYPE_POINT headers get encoded with
wireless_send_event(), but it sounds likely something there gets
different field size. It sounds like there is not really a good
solution for this with the current iw event types and should we want to
get the original issue fixed, something new would need to be
specified.. Would people be fine with extending wireless_send_event()
with new event types that use fixed sized fields or is someone going to
be interesting in providing a better replacement for this functionality?

-- 
Jouni Malinen                                            PGP id EFC895FA
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT]: Networking, David Miller, (Wed Aug 27, 4:46 pm)
Re: [GIT]: Networking, Alex Williamson, (Fri Sep 5, 8:08 am)
Re: [GIT]: Networking, Linus Torvalds, (Fri Sep 5, 10:45 am)
Re: [GIT]: Networking, John W. Linville, (Fri Sep 5, 11:17 am)
Re: [GIT]: Networking, Jouni Malinen, (Mon Sep 8, 7:44 pm)
Re: [GIT]: Networking, David Miller, (Mon Sep 8, 7:46 pm)
Re: [GIT]: Networking, Jouni Malinen, (Mon Sep 8, 7:55 pm)
Re: [GIT]: Networking, Jouni Malinen, (Mon Sep 8, 8:06 pm)
Re: [GIT]: Networking, Alex Williamson, (Mon Sep 8, 8:08 pm)
Re: [GIT]: Networking, David Miller, (Mon Sep 8, 8:43 pm)
Re: [GIT]: Networking, Jouni Malinen, (Mon Sep 8, 9:05 pm)
Re: [GIT]: Networking, David Miller, (Mon Sep 8, 9:15 pm)
Re: [GIT]: Networking, Jouni Malinen, (Mon Sep 8, 10:34 pm)
Re: [GIT]: Networking (WEXT events and 64/32 compat), Jouni Malinen, (Wed Sep 17, 12:11 pm)