OpenBSD cvs log

created 2018-11-29T23:25:20Z
begin 2018-07-11T00:00:00Z
end 2018-07-12T00:00:00Z
path src/sys
commits 22

date 2018-07-11T06:39:57Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message don't bother checking the rx index matches what we expect, it works

date 2018-07-11T06:43:30Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message move declarations of hwrm message functions up to the top and make them

date 2018-07-11T06:48:58Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message implement media type detection and forcing of link speed, lightly tested
with a variety of 10g optics.

date 2018-07-11T09:05:51Z
author henning
files src/sys/net/pf_if.c log diff annotate
src/sys/net/pfvar.h log diff annotate
message provide pfi_group_addmember(), which makes the new member interface inherit
set flags from the group. ok phessler benno

date 2018-07-11T09:07:59Z
author mpi
files src/sys/netinet/ip_ah.c log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
message Convert AH & IPcomp to ipsec_input_cb() and count drops on input.

ok markus@

date 2018-07-11T09:08:21Z
author henning
files src/sys/net/if.c log diff annotate
message in if_addgroup(), call the new pfi_group_addmember() instead of
pf_group_change() - the latter is called by _addmemeber now to update dynaddr.
before this, "set skip on lo", ifconfig lo1 create -> no skip on lo1 until
pf rueset got reloaded. Now lo1 gets the skip flag as intended. This has
caused much confusion with i. e. gif interfaces in the past.
ok benno, very excited ok phessler

date 2018-07-11T11:39:31Z
author henning
files src/sys/net/pf.c log diff annotate
message the STATE_LOOKUP macro made sense ages ago. It stopped making sense
when we moved most of the functionality into a function. g/c the macro
and just call the function. ok mpi jca

date 2018-07-11T12:45:01Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): small cleanup in vm_rwregs.

Clarify error values and change a panic into a debug printf (which will
in turn just kill the VM).

date 2018-07-11T12:55:01Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): respect argument size when reading from undefined ports.

date 2018-07-11T13:06:16Z
author claudio
files src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message rtm_send() the cloned routes because of ICMP mtu changes. Until now
these changes to the routing table have not been visible whereas the
RTM_DELETE of those routes have been. Remove this inconsistency.
Input and OK mpi@
OK henning@

date 2018-07-11T13:08:00Z
author claudio
files src/sys/netinet/in_pcb.c log diff annotate
message Retire RTM_LOSING, it no longer makes sense and on busy servers the
route socket is flooded with those messages. Instead maek sure that the
removal of the dynamic route that can happen is actually also sent to
the routing socket.
OK mpi@ henning@

date 2018-07-11T13:19:42Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm(4): return proper cache topology for cpuid(0x4)

Make the cache neighbor fields match the number of VCPUs present
(currently 1)

ok reyk

date 2018-07-11T14:20:18Z
author sf
files src/sys/net/if_vlan.c log diff annotate
message Fix comment about VLAN encapsulation and checksum offload

Document that some chips actually could do hardware checksum offload for
encapsulated packets, though that would need special handling in those

discussions and ok naddy@

date 2018-07-11T14:48:40Z
author mlarkin
files src/sys/arch/amd64/stand/boot/conf.c log diff annotate
src/sys/arch/amd64/stand/cdboot/conf.c log diff annotate
src/sys/arch/amd64/stand/libsa/machdep.c log diff annotate
src/sys/arch/amd64/stand/pxeboot/conf.c log diff annotate
message Detect vmm(4) in the bootloader and automatically switch to the serial
console at 115200 baud.

tested by phessler and myself, ok deraadt

date 2018-07-11T17:44:57Z
author kn
files src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
message Prevent updating async option on softdep mount

`mount -uo async,nosoftdep /mnt' would set "async" but keep "softdep"
untouched on a read/write mount.

OK deraadt krw beck bluhm

date 2018-07-11T18:04:18Z
author nayden
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/i386/i386/vmm.c log diff annotate
message adding __func__ identifier to panic() calls in vmm.c for amd64 and i386
ok mlarkin@

date 2018-07-11T18:08:05Z
author mlarkin
files src/sys/arch/i386/stand/boot/conf.c log diff annotate
src/sys/arch/i386/stand/cdboot/conf.c log diff annotate
src/sys/arch/i386/stand/libsa/machdep.c log diff annotate
src/sys/arch/i386/stand/pxeboot/conf.c log diff annotate
message Detect vmm(4) in the bootloader and automatically switch to the serial
console at 115200 baud.

ok deraadt

date 2018-07-11T19:28:16Z
author bluhm
files src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/signalvar.h log diff annotate
message If no thread can immediately handle a signal, which has been sent
to the process, it is made pending at the main thread. There it
could hang forever. So also check the main thread for signal
delivery. This workaround fixes hung tests in posixtestsuite. The
proper solution would be to split pending signals for process and
input visa@; OK guenther@

date 2018-07-11T19:52:19Z
author henning
files src/sys/net/route.c log diff annotate
message superfluous newline

date 2018-07-11T20:07:55Z
author guenther
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
message Declare cpu_meltdown in

date 2018-07-11T20:18:09Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_ioctl.h log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_node.h log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message Introduce 'auto-join' to the wifi 802.11 stack.

This allows a system to remember which ESSIDs it wants to connect to, any
relevant security configuration, and switch to it when the network we are
currently connected to is no longer available.

Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions.

example hostname.if:
join home wpakey password
join work wpakey mekmitasdigoat
join open-lounge
join cafe wpakey cafe2018
join "wepnetwork" nwkey "12345"
inet6 autoconf

OK stsp@ reyk@
and enthusiasm from every hackroom I've been in for the last 3 years

date 2018-07-11T21:18:23Z
author nayden
files src/sys/net/if_pppx.c log diff annotate
src/sys/net/pf_if.c log diff annotate
src/sys/net80211/ieee80211.c log diff annotate
src/sys/net80211/ieee80211_mira.c log diff annotate
src/sys/netinet/in.c log diff annotate
src/sys/netinet6/nd6.c log diff annotate
message Disambiguate the source of panics in sys/net* by adding __func__
magic constant to panic() calls.
ok benno@ henning@ tb@