Essentially, this provides a traversal of the tailq that is safe
from element removal, while being simple to drop in to those sections
of the code that need updating, as evidenced in the patch below.
The queue macros always guaranteed that traversal was safe in the
presence of deletions. Julian's change is erroneous and should be
reverted for compatibility with the other implementations of queue(3).
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message