ladybird/Kernel/Net
Idan Horowitz ead8ac8972 Kernel: Lock socket Mutex when servicing IPv4Socket ioctls
This prevents a kernel panic found in CI when m_receive_queue's size is
queried and found to be non-zero, then a different thread clears the
queue, and finally the first thread continues into the if block and
calls the queue's first() method, which then fails an assertion that
the queue's size is non-zero.
2022-02-18 02:22:12 +02:00
..
Intel Kernel/E1000: Bump RX/TX buffer count to 256/256 2022-02-11 12:45:38 +01:00
NE2000 Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
Realtek Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EthernetFrameHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
IPv4.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00
IPv4Socket.cpp Kernel: Lock socket Mutex when servicing IPv4Socket ioctls 2022-02-18 02:22:12 +02:00
IPv4Socket.h Kernel: Use u64 instead of size_t for File::can_write offset 2022-01-25 22:41:17 +02:00
IPv4SocketTuple.h Kernel: Convert IPv4SocketTuple::to_string() to KString 2022-01-12 16:09:09 +02:00
LocalSocket.cpp Kernel: Robustify and rename Inode bound socket API 2022-02-07 13:02:34 +01:00
LocalSocket.h Kernel: Use u64 instead of size_t for File::can_write offset 2022-01-25 22:41:17 +02:00
LoopbackAdapter.cpp Kernel: Convert network adapter names to Kernel::KString 2021-10-01 17:22:17 +00:00
LoopbackAdapter.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
NetworkAdapter.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
NetworkAdapter.h Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkingManagement.cpp Kernel: Protect network adapter list with spinlock instead of mutex 2022-02-03 16:11:26 +01:00
NetworkingManagement.h Kernel: Protect network adapter list with spinlock instead of mutex 2022-02-03 16:11:26 +01:00
NetworkTask.cpp Kernel: Fix bug in TCP state handling in SynSent 2022-02-07 13:18:13 +01:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Protect ARP table with spinlock instead of mutex 2022-02-03 16:11:26 +01:00
Routing.h Kernel: Protect ARP table with spinlock instead of mutex 2022-02-03 16:11:26 +01:00
Socket.cpp Kernel: Fix typo in Socket::getsockopt tracing 2022-01-18 08:47:22 +01:00
Socket.h Kernel: Stop using HashMap in Mutex 2022-01-29 16:45:39 +01:00
TCP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
TCPSocket.cpp Kernel/Net: Don't update TCP socket "last sent ACK" field too early 2022-02-11 12:45:38 +01:00
TCPSocket.h Kernel: Use u64 instead of size_t for File::can_write offset 2022-01-25 22:41:17 +02:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel: Remove unnecessary SocketHandle<T> class 2021-12-25 11:23:57 +01:00
UDPSocket.h Kernel: Remove unnecessary SocketHandle<T> class 2021-12-25 11:23:57 +01:00