serenity/Kernel/Net
Andreas Kling a1be135891 Kernel: Lock socket mutex across {get,set}sockopt() and SO_ERROR updates
Since a socket can be accessed by multiple threads concurrently, we need
to protect shared data behind the socket mutex.

There's very likely more places where we need to fix this, the purpose
of this patch is to fix a VERIFY() failure in getsockopt() seen on CI.
2021-12-28 18:52:38 +01:00
..
Intel Kernel: Run clang-format on E1000NetworkAdapter.cpp 2021-12-28 00:56:47 -08:00
NE2000 Kernel/Net: Move NE2000 network adapter code to a separate directory 2021-12-28 00:56:47 -08:00
Realtek Kernel/Net: Move Realtek network adapters code to a separate directory 2021-12-28 00:56:47 -08:00
ARP.h
EthernetFrameHeader.h
EtherType.h
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 across {get,set}sockopt() and SO_ERROR updates 2021-12-28 18:52:38 +01:00
IPv4Socket.h Kernel: Return the correct result for FIONREAD on datagram sockets 2021-12-16 22:21:35 +03:30
IPv4SocketTuple.h Kernel: Make IPv4SocketTuple operator== by reference 2021-09-16 17:17:13 +02:00
LocalSocket.cpp Kernel: Lock socket mutex across {get,set}sockopt() and SO_ERROR updates 2021-12-28 18:52:38 +01:00
LocalSocket.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
LoopbackAdapter.cpp Kernel: Convert network adapter names to Kernel::KString 2021-10-01 17:22:17 +00:00
LoopbackAdapter.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00
NetworkAdapter.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02: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: Remove the KString::try_create(String::formatted(...)) pattern 2021-12-28 01:55:22 -08:00
NetworkingManagement.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
NetworkTask.cpp Kernel: Mark kernel smart-pointer classes as [[nodiscard]] 2021-12-05 15:31:03 +01:00
NetworkTask.h
Routing.cpp Kernel: Add support for the MSG_DONTROUTE sys$sendmsg flag 2021-12-05 12:53:29 +01:00
Routing.h Kernel: Add support for the MSG_DONTROUTE sys$sendmsg flag 2021-12-05 12:53:29 +01:00
Socket.cpp Kernel: Lock socket mutex across {get,set}sockopt() and SO_ERROR updates 2021-12-28 18:52:38 +01:00
Socket.h Kernel: Lock socket mutex across {get,set}sockopt() and SO_ERROR updates 2021-12-28 18:52:38 +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: Return the correct result for FIONREAD on datagram sockets 2021-12-16 22:21:35 +03:30
TCPSocket.h Kernel: Return the correct result for FIONREAD on datagram sockets 2021-12-16 22:21:35 +03:30
UDP.h
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