mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
Kernel: Protect the list of unused network packets with a Spinlock
This commit is contained in:
parent
766bf5c89e
commit
9e7faff181
2 changed files with 17 additions and 17 deletions
|
@ -109,7 +109,7 @@ private:
|
|||
|
||||
PacketList m_packet_queue;
|
||||
size_t m_packet_queue_size { 0 };
|
||||
PacketList m_unused_packets;
|
||||
SpinlockProtected<PacketList> m_unused_packets;
|
||||
NonnullOwnPtr<KString> m_name;
|
||||
u32 m_packets_in { 0 };
|
||||
u32 m_bytes_in { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue