Re: [PATCH] mac80211 : fix a race with update_tkip_key

gregor kowski
2009-12-09T22:21:42Z

The patch doesn't seem to apply to new version of kernel.
I am submitting a new one.

On 12/7/09, gregor kowski <gregor.kowski@gmail.com> wrote:
> On 11/16/09, Johannes Berg <johannes@sipsolutions.net> wrote:
>> On Mon, 2009-11-16 at 22:53 +0100, gregor kowski wrote:
>>> The mac80211 tkip code won't call update_tkip_key, if rx packets
>>> are received without KEY_FLAG_UPLOADED_TO_HARDWARE. This can happen on
>>> first packet because the hardware key stuff is called asynchronously
>>> with
>>> todo workqueue.
>>
>>> - ctx->initialized = 1;
>>> + ctx->initialized = TKIP_STATE_PHASE1_DONE;
>>
>> Now you just need to rename the variable holding it to "state" too...
> Done
>
> Sorry for the delay
>
> Gregor
>