network stack: Add missing ASSERT_LOCKED_RECURSIVE.

This commit is contained in:
Augustin Cavalier 2022-03-10 14:22:46 -05:00
parent b6bfd9b749
commit 2828ed2fa1

View File

@ -1209,6 +1209,8 @@ find_interface(const char* name)
static Interface*
find_interface(uint32 index)
{
ASSERT_LOCKED_RECURSIVE(&sLock);
InterfaceList::Iterator iterator = sInterfaces.GetIterator();
while (Interface* interface = iterator.Next()) {
if (interface->index == index)