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
rS360184: MFC r360104: Use LIST_FOREACH_SAFE instead of LIST_FOREACH as we are
Branches
Unknown
Tags
Unknown