diff options
author | Andreas Kling <kling@serenityos.org> | 2021-12-28 15:16:57 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-28 18:52:38 +0100 |
commit | a1be1358918505eedbcdb2d5600194c96b8260c7 (patch) | |
tree | c3e8fe4c0ff9dc8d12b54aeafbc21062b28350ab /AK/MemoryStream.h | |
parent | 4e1898df99d7a858c34bb088fe882a2071f83d20 (diff) | |
download | serenity-a1be1358918505eedbcdb2d5600194c96b8260c7.zip |
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.
Diffstat (limited to 'AK/MemoryStream.h')
0 files changed, 0 insertions, 0 deletions