OpenBSD cvs log

created 2021-12-04T21:36:50Z
begin 2021-12-01T00:00:00Z
end 2021-12-02T00:00:00Z
path src/sys
commits 7

date 2021-12-01T10:47:39Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Set plane update flags for all planes in reset

From Nicholas Kazlauskas
3187623096091d8c60231de5ca0e020bfa5e6ee9 in linux 5.10.y/5.10.83
21431f70f6014f81b0d118ff4fcee12b00b9dd70 in mainline linux

date 2021-12-01T10:50:23Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c log diff annotate
message drm/amdgpu/gfx9: switch to golden tsc registers for renoir+

From Alex Deucher
45b42cd05391197d5426a9097043d5e77bdbefc9 in linux 5.10.y/5.10.83
53af98c091bc42fd9ec64cfabc40da4e5f3aae93 in mainline linux

date 2021-12-01T12:51:09Z
author bluhm
files src/sys/net/if_bridge.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet/ip_spd.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/ip6_forward.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message Let ipsp_spd_lookup() return an error instead of a TDB. The TDB
is not always needed, but the error value is necessary for the
caller. As TDB should be refcounted, it makes not sense to always
return it. Pass an output pointer for the TDB which can be NULL.
OK mvs@ tobhe@

date 2021-12-01T17:04:26Z
author deraadt
files src/sys/kern/tty_subr.c log diff annotate
message late allocation of clist in putc() and b_to_q() hasn't been required in
a decade, because all tty drivers preallocate.
ok kettenis

date 2021-12-01T17:25:35Z
author kettenis
files src/sys/arch/sparc64/stand/ofwboot/ofdev.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/vers.c log diff annotate
src/sys/lib/libsa/fchmod.c log diff annotate
src/sys/lib/libsa/stand.h log diff annotate
message Fix booting from an IDE block device on the Sun Blade 100. Apparently
writing to disk using the Open Firmware interfaces is buggy and causes
corruption of the disk. While it isn't entirely clear what versions
of Open Firmware are affected, but it seems to only affect IDE drives.
So if we detect an IDE drive, disable writing to it. This results in
a small lose of bootloader functionality (bsd.upgrade loop prevention
and flagging /etc/random.seed re-use) but that is better than losing
the ability to run OpenBSD at all.

Based on a diff by Ted Bullock (who did all the hard work of debugging
this and coming up with a viable fix).

ok deraadt@

date 2021-12-01T21:48:00Z
author deraadt
files src/sys/net/if_enc.h log diff annotate
message mention that the "flags" field in the enchdr is uses m_flags values
(see mbuf.h)

date 2021-12-01T22:34:31Z
author bluhm
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
message Reintroduce the TDBF_DELETED flag. Checking next pointer to figure
out whether the TDB is linked to the hash bucket does not work.
This fixes removal of SAs that could not be flushed with ipsecctl -F.
OK tobhe@