mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
Kernel: Protect ARP table with spinlock instead of mutex
This commit is contained in:
parent
248832f438
commit
6fbb924bbf
3 changed files with 9 additions and 9 deletions
|
@ -75,7 +75,7 @@ private:
|
|||
virtual ErrorOr<void> try_generate(KBufferBuilder& builder) override
|
||||
{
|
||||
JsonArraySerializer array { builder };
|
||||
arp_table().for_each_shared([&](const auto& it) {
|
||||
arp_table().for_each([&](const auto& it) {
|
||||
auto obj = array.add_object();
|
||||
obj.add("mac_address", it.value.to_string());
|
||||
obj.add("ip_address", it.key.to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue