summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-07-04 12:58:32 +0000
committermpi <mpi@openbsd.org>2017-07-04 12:58:32 +0000
commitd20db565a1acd0c80aa52e672d95524cc0fe6a0c (patch)
tree8f15694905c05a1f1bcf5bfb3447fb06510456ca /lib/libc
parentAssert that the socket lock is held when `so_state' is modified. (diff)
downloadwireguard-openbsd-d20db565a1acd0c80aa52e672d95524cc0fe6a0c.tar.xz
wireguard-openbsd-d20db565a1acd0c80aa52e672d95524cc0fe6a0c.zip
Always hold the socket lock when calling sblock().
Implicitely protects `so_state' with the socket lock in sosend(). ok visa@, bluhm@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions