Am 15.01.2018 um 13:08 schrieb Johannes Berg: > On Wed, 2018-01-10 at 17:42 +0100, Benjamin Beichler wrote: >> Change the dump iteration to be independent from >> increasing radio indices on radio list. > You can't do that, data structures can be deleted while the dump is > ongoing. That's what I try to address with this patch. In the past there were corner cases, which might have failed while deletion. Nonetheless, the radio count is in the current version strictly monotonic, maybe the description is misleading. :-) So in the inner loop there is no deletion possible because of the spinlock, and multiple calls of nl_dump check the generation count and cancel if it have changed. > > johannes > -- M.Sc. Benjamin Beichler Universität Rostock, Fakultät für Informatik und Elektrotechnik Institut für Angewandte Mikroelektronik und Datentechnik University of Rostock, Department of CS and EE Institute of Applied Microelectronics and CE Richard-Wagner-Straße 31 18119 Rostock Deutschland/Germany phone: +49 (0) 381 498 - 7278 email: Benjamin.Beichler@xxxxxxxxxxxxxx www: http://www.imd.uni-rostock.de/