Simon Goldschmidt 39a9c5a3c5 netif: fix removing ext-callback while callback is called
When a registered netif ext-callback unregisters itself when being
called (e.g. because some state is reached by this event), the invoke
iteration might access uninitialized memory or at least stop the
iteration (because next is set to null).

Fix his by caching the next pointer during iteration before calling
callbacks.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2021-10-01 19:44:07 +02:00
..
2019-03-28 08:18:19 +01:00
2020-02-15 21:45:41 +01:00
2017-09-17 20:38:38 +02:00
2020-02-15 21:45:53 +01:00
2018-02-13 14:04:01 -06:00
2018-10-22 20:53:58 +02:00
2018-10-22 20:53:58 +02:00
2018-10-22 20:53:58 +02:00