HomeFreeBSD

MFC r360104: Use LIST_FOREACH_SAFE instead of LIST_FOREACH as we are

Description

MFC r360104: Use LIST_FOREACH_SAFE instead of LIST_FOREACH as we are
removing elements in the middle.

This fixes a panic when detaching USB mouse.

PR: 245732
Reviewed by: wulf

Details

Provenance
delphijAuthored on
Parents
rS360183: kqueue(2): de-vandalize the random sentence in the middle
Branches
Unknown
Tags
Unknown