OpenBSD cvs log

created 2019-06-15T13:22:04Z
begin 2019-06-13T00:00:00Z
end 2019-06-14T00:00:00Z
path src/sys
commits 10

date 2019-06-13T00:37:04Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message the rx drops field is 8 bits (and a 24 bit flow tag), not 32 bits.

sympathy from jmatthew@

date 2019-06-13T06:57:17Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): Pass through CPUID function/leaf 0x16 for processor speed.

ok deraadt, pd, phessler

date 2019-06-13T08:12:10Z
author claudio
files src/sys/net/route.c log diff annotate
message Copy the user provided sockaddr into a normalized sockaddr in rtrequest()
before adding it to the routing table. The rtable code is doing memcmp()
of those rt_dest sockaddrs so it is important that they are stored in a
canonical form. To do this struct domain is extended to include the
sockaddr size for this address family.
OK bluhm@ anton@

Reported-by: syzbot+10fe9cd8d0211c562ead@syzkaller.appspotmail.com

date 2019-06-13T08:12:11Z
author claudio
files src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet6/in6_proto.c log diff annotate
src/sys/netmpls/mpls_proto.c log diff annotate
src/sys/sys/domain.h log diff annotate
message Copy the user provided sockaddr into a normalized sockaddr in rtrequest()
before adding it to the routing table. The rtable code is doing memcmp()
of those rt_dest sockaddrs so it is important that they are stored in a
canonical form. To do this struct domain is extended to include the
sockaddr size for this address family.
OK bluhm@ anton@

Reported-by: syzbot+10fe9cd8d0211c562ead@syzkaller.appspotmail.com

date 2019-06-13T08:15:26Z
author claudio
files src/sys/netinet/if_ether.c log diff annotate
src/sys/netinet6/nd6.c log diff annotate
message In arp_rtrequest and nd6_rtrequest return early if the RTF_MPLS flag is
set. These mpls routes use the rt_llinfo structure to store the MPLS label
and would confuse the arp and nd6 code.
OK bluhm@ anton@

Reported-by: syzbot+927e93a362f3ae33dd9c@syzkaller.appspotmail.com

date 2019-06-13T20:52:36Z
author bluhm
files src/sys/kern/kern_sysctl.c log diff annotate
message When tcp_close() is running in parallel with fill_file(), the kernel
could crash due to missing inp_ppcb. This happend when fstat(1)
was called often and TCP was aborted with reset. Protect the sysctl
path with the net lock.
OK mpi@

date 2019-06-13T21:03:48Z
author mpi
files src/sys/dev/usb/xhci.c log diff annotate
message Do not consider the pipe as halted if the device is gone.

Analysed by and ok claudio@

date 2019-06-13T21:12:52Z
author mpi
files src/sys/net/if_pflog.c log diff annotate
message free(9) sizes.

ok kn@

date 2019-06-13T21:14:53Z
author mpi
files src/sys/net/bpf.c log diff annotate
message free(9) sizes for buffers.

ok anton@, sashan@

date 2019-06-13T21:19:28Z
author mpi
files src/sys/kern/kern_exit.c log diff annotate
message Use PWAIT instead of PUSER in exit1().

When the main thread of a MT process dies, it doesn't matter at which
priority it gets awaken to do the lasts cleanups. Not using PUSER makes
it easier to understand the existing scheduler logic.

ok visa@