list_for_each_safe(9) on Linux
The text 2f995718cf87, as Debian 5.0 (Lenny) shipped it.
iterate over a list safe against removal of list entry
The text 2f995718cf87, as Debian 5.0 (Lenny) shipped it.
iterate over a list safe against removal of list entry