Change `so_state' and `so_error' to unsigned int such that they can
authormpi <mpi@openbsd.org>
Tue, 9 Jan 2018 15:14:23 +0000 (15:14 +0000)
committermpi <mpi@openbsd.org>
Tue, 9 Jan 2018 15:14:23 +0000 (15:14 +0000)
commit69dc22ffae4c8d27b6c8f9bd485b31751844294b
tree9aec10677446501355f63318cb88b5c4ed31500b
parent522ac3065e624a35d57cc959bae3fc1ff68c8339
Change `so_state' and `so_error' to unsigned int such that they can
be atomically read from any context.

ok bluhm@, visa@
sys/kern/kern_pledge.c
sys/kern/uipc_socket.c
sys/kern/uipc_syscalls.c
sys/netinet/tcp_usrreq.c
sys/sys/pledge.h
sys/sys/socketvar.h