pmksa_cache not thread-safe ?

Jouni Malinen j at w1.fi
Sat Oct 4 16:23:41 EDT 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
seeing:
http://w1.fi/cgit/hostap/commit/?id=9c829900bb01d6fb22e78ba78195c78de39f64b9
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list