network stack: Add missing ASSERT_LOCKED_RECURSIVE.
This commit is contained in:
@@ -1209,6 +1209,8 @@ find_interface(const char* name)
|
|||||||
static Interface*
|
static Interface*
|
||||||
find_interface(uint32 index)
|
find_interface(uint32 index)
|
||||||
{
|
{
|
||||||
|
ASSERT_LOCKED_RECURSIVE(&sLock);
|
||||||
|
|
||||||
InterfaceList::Iterator iterator = sInterfaces.GetIterator();
|
InterfaceList::Iterator iterator = sInterfaces.GetIterator();
|
||||||
while (Interface* interface = iterator.Next()) {
|
while (Interface* interface = iterator.Next()) {
|
||||||
if (interface->index == index)
|
if (interface->index == index)
|
||||||
|
|||||||
Reference in New Issue
Block a user