1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Allocation from linpools and slabs requires the appropriate lock to be taken

This commit is contained in:
Maria Matejka
2023-04-28 23:48:03 +02:00
parent 010c26c296
commit 9f25dd79b8
4 changed files with 10 additions and 7 deletions

View File

@@ -189,13 +189,6 @@ pool_lookup(resource *P, unsigned long a)
return q;
}
static pool *
resource_parent(resource *r)
{
return SKIP_BACK(pool, inside, resource_enlisted(r));
}
/**
* rmove - move a resource
* @res: resource