[PATCH] wpa_auth: Fix race in rejecting 4way handshake for entropy

Jouni Malinen j at w1.fi
Sun Jan 29 11:14:33 EST 2012


On Wed, Jan 25, 2012 at 06:21:53PM +0100, Nicolas Cavallari wrote:
> When there is not enough entropy and they are two station associating
> at the same time, then one of the station will be rejected, but during
> that rejection, it will clear the "reject_4way_hs_for_entropy" flag, so
> the second one will not be rejected, so it may complete a 4 Way
> Handshake with a GTK that will be cleared as soon as more entropy are
> available and another station connects.
> 
> This rework the logic to ban all 4way handshake until enough entropy
> is available.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list