pmksa_cache not thread-safe ?

Jouni Malinen j
Sat Oct 4 13:23:41 PDT 2014

On Sat, Oct 04, 2014 at 11:32:22AM +0400, Sergey Korolew wrote:
> I have several access points with OpenWrt and hostapd-2014-06-03. After enabling pmksa_caching in config
> access points entered 100% CPU utilisation after some time (and several clients). CPU consumed by
> hostapd process.

I went through the pmksa_cache_auth.c file in detail and found couple of
issues. Do you happen to have OKC enabled (okc=1 in hostapd runtime
configuration)? If so, this commit will likely fix the issue you are
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list