diff options
author | adrian <adrian@FreeBSD.org> | 2013-06-07 09:03:56 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-06-07 09:03:56 +0000 |
commit | c7b7fe134deed560685984129b31c899459c6356 (patch) | |
tree | be5f4490c44cb2ed89403fe08d767ed41db49970 /lib/libc/string/wcslcat.c | |
parent | d4f88869bd5342309ce0763576a1e4fa222708db (diff) | |
download | FreeBSD-src-c7b7fe134deed560685984129b31c899459c6356.zip FreeBSD-src-c7b7fe134deed560685984129b31c899459c6356.tar.gz |
Don't hold the node lock over the iterator.
The "find node" function call will increase the node reference anyway;
so there's no reason to hold the node table lock during the MLME change.
The only reason I could think of is to stop overlapping mlme ioctls
from causing issues, but this should be fixed a different way.
This fixes a whole class of LORs that creep up when nodes are being
timed out or removed by hostapd.
Tested:
* AR5416, hostap, with nodes coming and going. No LORs or stability
issues were observed.
Diffstat (limited to 'lib/libc/string/wcslcat.c')
0 files changed, 0 insertions, 0 deletions