OpenBSD cvs log

created 2021-05-02T19:23:05Z
begin 2021-04-25T00:00:00Z
end 2021-04-25T00:00:35Z
path src/sys
commits 2

date 2021-04-25T00:00:34Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
message Implement per-socket `so_lock' rwlock(9) and use it to protect routing
(PF_ROUTE) sockets. This can be done because we have no cases where one
thread should lock two sockets simultaneously.

Also this time `so_lock 'used for routing sockets only but in the future
it will be used to other socket types too.

ok bluhm@

date 2021-04-25T00:00:35Z
author mvs
files src/sys/net/rtsock.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Implement per-socket `so_lock' rwlock(9) and use it to protect routing
(PF_ROUTE) sockets. This can be done because we have no cases where one
thread should lock two sockets simultaneously.

Also this time `so_lock 'used for routing sockets only but in the future
it will be used to other socket types too.

ok bluhm@