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

--- Comment #1 from Andriy Voskoboinyk <a...@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.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to