Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2016 20:12:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 207497] [net80211]: 'uma_zalloc_arg: zone "32" with non-sleepable locks held' when 'sysctl net.wlan.devices' is executed
Message-ID:  <bug-207497-21060-QQcGaGI1rg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207497-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207497-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207497

--- Comment #1 from Andriy Voskoboinyk <avos@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207497-21060-QQcGaGI1rg>