mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +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
|
@ -33,6 +33,6 @@ enum class AllowUsingGateway {
|
|||
|
||||
RoutingDecision route_to(IPv4Address const& target, IPv4Address const& source, RefPtr<NetworkAdapter> const through = nullptr, AllowUsingGateway = AllowUsingGateway::Yes);
|
||||
|
||||
MutexProtected<HashMap<IPv4Address, MACAddress>>& arp_table();
|
||||
SpinlockProtected<HashMap<IPv4Address, MACAddress>>& arp_table();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue