[PATCH 1/1] STA_ASSOC: Mark Port authorization and State Completion based on authorized state in connect event

Jouni Malinen j at w1.fi
Sun Nov 27 04:22:48 PST 2022


On Thu, Jun 30, 2022 at 09:37:53AM +0530, Vinayak Yadawad wrote:
> In case of drivers supporting 4way handshake offload, mark port
> authorized and state completion only if driver advertizes authorized
> state in the connect event. Otherwise there are fair chances of driver
> port authorization api gets called while 4-way handshake is in progress
> at the lower layer.
> In order to avoid this possible race condition always update port
> authorization and supplicant state WPA_COMPLETED setting from
> EVENT_PORT_AUTHORIZED context when driver is done with 4way handshake.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list