OpenBSD cvs log

created 2019-11-16T14:49:19Z
begin 2019-11-11T00:00:00Z
end 2019-11-12T00:00:00Z
path src/sys
commits 8

date 2019-11-11T03:37:41Z
author dlg
files src/sys/net/if_aggr.c log diff annotate
message you still need newlines when using log(9). add some errnos while here.

date 2019-11-11T05:20:54Z
author dlg
files src/sys/net/if.c log diff annotate
message add linkstate hooks at the head of the tailq.

when vxlans parent interface has a link state change event, vxlan
reconfigures the parent to cope with things not being as it expects
when the interface comes back. it does this by removing its config
and then adding it again. part of it's config removal is to take
the link state hook away, and part of putting the config on is is
adding the link state hook.

if we're running an interfaces link state hooks from head to tail,
and the vxlan hook adds itself back to the tail, we end up running
the vxlan hook forever cos it always ends up at the tail.

bluhm@ hit this infinite loop while running regress tests. if turns
out we need to run link state hooks in the same order they were
added, i have a way to avoid this situation, but this is simple.

date 2019-11-11T13:35:55Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c log diff annotate
message drm/amdgpu: fix potential VM faults

From Christian Koenig
1df8da335d40e3037d7207c47102b4edff0f3446 in linux 4.19.y/4.19.83
3122051edc7c27cc08534be730f4c7c180919b8a in mainline linux

date 2019-11-11T16:45:46Z
author anton
files src/sys/kern/sys_pipe.c log diff annotate
message Extended the scope of the pipelock() in pipe_write() making the locking
pattern more similar to pipe_read(). This also eliminates two races
caused by relocking.

ok visa@

date 2019-11-11T17:42:28Z
author bluhm
files src/sys/netinet6/in6.c log diff annotate
message Kernel is missing propper input validation when configuring IPv6
addresses. Implement in6_sa2sin6() to validate inet6 address family
and address length. The SIOCGIFDSTADDR_IN6, SIOCGIFNETMASK_IN6,
SIOCGIFAFLAG_IN6, SIOCGIFALIFETIME_IN6, and SIOCDIFADDR_IN6 ioctl(2)
are safe now.
OK visa@

date 2019-11-11T17:42:29Z
author bluhm
files src/sys/netinet6/in6.h log diff annotate
message Kernel is missing propper input validation when configuring IPv6
addresses. Implement in6_sa2sin6() to validate inet6 address family
and address length. The SIOCGIFDSTADDR_IN6, SIOCGIFNETMASK_IN6,
SIOCGIFAFLAG_IN6, SIOCGIFALIFETIME_IN6, and SIOCDIFADDR_IN6 ioctl(2)
are safe now.
OK visa@

date 2019-11-11T18:07:21Z
author stsp
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
message Prevent a NULL deref in ieee80211_node2req() which could be triggered
by an ioctl if the driver had not yet initialized the channel map.
Crash reported by nayden@
ok sthen@

date 2019-11-11T21:17:21Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
message Prevent underflows in tp->snd_wnd if the remote side ACKs more than
tp->snd_wnd. This can happen, for example, when the remote side
responds to a window probe by ACKing the one byte it contains.
from FreeBSD; via markus@; OK sashan@ tobhe@