[Bug 207497] [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 25 20:12:57 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207497

--- Comment #1 from Andriy Voskoboinyk <avos at freebsd.org> ---
(Probably, an inelegant) way to fix this issue:
1) lock the mutex;
2) count needed size by iterating over ic_head list;
3) allocate required memory;
4) copy all names to it (yet another iteration);
5) unlock the mutex;
6) pass the data to SYSCTL_OUT()
7) free the memory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-wireless mailing list