OpenBSD cvs log

created 2022-09-04T07:40:19Z
begin 2022-08-28T00:00:00Z
end 2022-08-29T00:00:00Z
path src/sys
commits 9

date 2022-08-28T02:54:43Z
author jsg
files src/sys/dev/pci/drm/i915/gt/agp_intel_gtt.c log diff annotate
src/sys/dev/pci/drm/include/linux/atomic.h log diff annotate
src/sys/dev/pci/drm/include/linux/compiler.h log diff annotate
src/sys/dev/pci/drm/include/linux/rcupdate.h log diff annotate
message directly use ansi volatile keyword in local drm files

date 2022-08-28T11:11:25Z
author jsg
files src/sys/crypto/blf.c log diff annotate
src/sys/lib/libsa/blowfish.c log diff annotate
message remove unused blowfish inline defines
inline use was removed in 1998

date 2022-08-28T18:43:12Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
message Don't check `so_pcb' with PR_WANTRCVD flag. tcp(4) sockets are the only
sockets which could have NULL `so_pcb' and we handle this case within
tcp_rcvd() handler.

ok bluhm@

date 2022-08-28T18:44:16Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_divert.h log diff annotate
src/sys/netinet/ip_gre.c log diff annotate
src/sys/netinet/ip_var.h log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet/udp_var.h log diff annotate
message Move PRU_ABORT request to (*pru_abort)().

We abort only the sockets which are linked to `so_q' or `so_q0' queues of
listening socket. Such sockets have no corresponding file descriptor and
are not accessed from userland, so PRU_ABORT used to destroy them on
listening socket destruction.

Currently all our sockets support PRU_ABORT request, but actually it
required only for tcp(4) and unix(4) sockets, so i should be optional.
However, they will be removed with separate diff, and this time PRU_ABORT
requests were converted as is.

Also, the socket should be destroyed on PRU_ABORT request, but route and
key management sockets leave it alive. This was also converted as is,
because this wrong code never called.

ok bluhm@

date 2022-08-28T18:44:17Z
author mvs
files src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_divert.h log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Move PRU_ABORT request to (*pru_abort)().

We abort only the sockets which are linked to `so_q' or `so_q0' queues of
listening socket. Such sockets have no corresponding file descriptor and
are not accessed from userland, so PRU_ABORT used to destroy them on
listening socket destruction.

Currently all our sockets support PRU_ABORT request, but actually it
required only for tcp(4) and unix(4) sockets, so i should be optional.
However, they will be removed with separate diff, and this time PRU_ABORT
requests were converted as is.

Also, the socket should be destroyed on PRU_ABORT request, but route and
key management sockets leave it alive. This was also converted as is,
because this wrong code never called.

ok bluhm@

date 2022-08-28T20:32:01Z
author bluhm
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
message Since we have no raw_usrreq anymore, remove pr_output indirection.
pfkeyv2 and route can call their output functions directly.
OK mvs@

date 2022-08-28T20:32:02Z
author bluhm
files src/sys/sys/protosw.h log diff annotate
message Since we have no raw_usrreq anymore, remove pr_output indirection.
pfkeyv2 and route can call their output functions directly.
OK mvs@

date 2022-08-28T21:35:11Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
message Move PRU_SENSE request to (*pru_sense)().

ok bluhm@

date 2022-08-28T21:35:12Z
author mvs
files src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Move PRU_SENSE request to (*pru_sense)().

ok bluhm@