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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D24500
Use LIST_FOREACH_SAFE instead of LIST_FOREACH as we are removing Tags None Referenced Files None Subscribers None
Description
Details
|