This flags were added because calling function like queue_foreach were not safe as the callbacks may remove or destroy the queue before returning but this has been fixed and it is now safe to do that.
b72dee0 shared/mgmt: Remove unnecessary code
src/shared/mgmt.c | 89 +++++++----------------------------------------------
1 file changed, 11 insertions(+), 78 deletions(-)
Upstream: git.kernel.org