OpenBSD cvs log

created 2019-02-07T02:36:45Z
begin 2018-10-18T00:00:00Z
end 2018-10-25T00:00:00Z
path src/sys
commits 25

date 2018-10-18T01:36:26Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message Process incoming gre(4) keepalives early to avoid bpf seeing them.

The packet processing done after the protocol detection effectively
gets thrown away by the keepalive handling, so this saves some time,
and avoids confusing tcpdump on the interface. Keepalives the driver
transmits aren't made available for bpf, so taking it away from the
receive side is consistent.

discussed with and tested by markus@

date 2018-10-18T01:43:50Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message move the timeout_add in gre_keepalive_send up.

gre_keepalive_send() should re-schedule immediately, otherwise we
stop sending keepalive on temporary mbuf shortage or if the
configuration is incomplete.

from markus@

date 2018-10-18T01:46:21Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message make sure the tunnel is configured in gre_keepalive_send

check sc_tunnel.t_af for AF_UNSPEC, otherwise we panic in gre_encap()

from markus@

date 2018-10-18T01:58:15Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message make sure keepalive ioctl values are either both zero, or both not zero.

date 2018-10-18T02:10:54Z
author lteo
files src/sys/conf/GENERIC log diff annotate
message Re-enable POOL_DEBUG for -current.

ok deraadt@

date 2018-10-18T03:01:18Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message provide a default case for all switch statements handling address families

from markus@

date 2018-10-18T15:23:04Z
author cheloha
files src/sys/netinet/igmp.c log diff annotate
src/sys/netinet/in_var.h log diff annotate
message igmp, struct router_info: use queue(3)

In particular, use LIST_* to preserve O(n) removal in rti_delete().

While here, clean up two malloc(9) calls.

Suggested by mpi@.

ok visa@

date 2018-10-18T15:46:28Z
author cheloha
files src/sys/netinet/igmp.c log diff annotate
message Partial revert of previous. Only the queue(3) stuff should have gone in.

date 2018-10-20T11:56:31Z
author kettenis
files src/sys/arch/amd64/include/reloc.h log diff annotate
message Add i386 relocations. Needed for 32-bit UEFI bootloader.

ok patrick@, naddy@

date 2018-10-20T11:57:43Z
author kettenis
files src/sys/arch/amd64/stand/efiboot/self_reloc.c log diff annotate
message Bring over changes from aarch64 to fix building with ld.lld on amd64.

ok patrick@, naddy@

date 2018-10-20T11:59:07Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/self_reloc.c log diff annotate
message Sync with amd64 version.

date 2018-10-20T12:01:19Z
author kettenis
files src/sys/arch/armv7/stand/efiboot/self_reloc.c log diff annotate
message Sync with amd64 version.

date 2018-10-20T20:40:54Z
author kettenis
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
message Take the "package" into account when calculating the "smt" ID on modern
AMD CPUs. Avoids knocking out too many processor threads on for example
the AMD Ryzen Threadtipper 2990WX which apparently consists of 4 separate
dies with 8 cores each. Note that the "package" ID really is a "die" ID
here.

ok sthen@

date 2018-10-21T14:32:39Z
author mortimer
files src/sys/dev/pci/pcidevs log diff annotate
message Add some devices found on Lenovo A485.
ok jsg@

date 2018-10-21T14:35:53Z
author mortimer
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-10-22T05:06:32Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message Add AMD 400 series (promontory), vega 10, more 17h ids seen on
Ryzen 5 2600X, rename KernCZ FCH ids incorrectly labelled as Carrizo.

date 2018-10-22T05:07:51Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-10-22T13:18:23Z
author mpi
files src/sys/net/bridgectl.c log diff annotate
src/sys/net/bridgestp.c log diff annotate
message Rename 'bridge_iflist' variables for coherency, missed in previous.

date 2018-10-22T15:32:19Z
author cheloha
files src/sys/netinet/ip_ipsp.c log diff annotate
src/sys/netinet/ip_spd.c log diff annotate
message ipsec: use monotonic clock for SA creation/lookup timestamps; ok dlg@

date 2018-10-22T17:31:24Z
author krw
files src/sys/arch/m88k/m88k/m88k_machdep.c log diff annotate
message More "explicitely" -> "explicitly" in various comments.

ok guenther@ tb@ deraadt@

date 2018-10-22T17:31:25Z
author krw
files src/sys/arch/mips64/include/pmap.h log diff annotate
src/sys/arch/mips64/mips64/fp_emulate.c log diff annotate
src/sys/arch/mips64/mips64/pmap.c log diff annotate
src/sys/arch/powerpc/powerpc/pmap.c log diff annotate
src/sys/dev/ic/aic6250.c log diff annotate
src/sys/dev/sbus/cgtwelve.c log diff annotate
src/sys/tmpfs/tmpfs_vnops.c log diff annotate
message More "explicitely" -> "explicitly" in various comments.

ok guenther@ tb@ deraadt@

date 2018-10-22T23:44:53Z
author dlg
files src/sys/net/hfsc.c log diff annotate
message Don't let HFSC force the packet priority to 7 when enabled

HFSC on a vlan(4) (or similar) interface caused all packets over
that interface to get marked with the highest packet priority, no
matter what the rest of the system said about it. Leaving
the prio alone lets the rest of the network still do something
useful, not matter whether the local system queues packets in a
particular way.

Reported by and fix tested by Adrian Close
ok claudio@ kn@ mikeb@

date 2018-10-23T09:53:06Z
author reyk
files src/sys/net/pf_norm.c log diff annotate
message Make pf compile without DIAGNOSTIC again

OK bluhm@ kn@

date 2018-10-23T16:41:53Z
author patrick
files src/sys/dev/ofw/ofw_regulator.c log diff annotate
message Fix OFW GPIO regulator by breaking out of the loop once the correct
match has been found. Otherwise the error condition will always
be true.

ok kettenis@

date 2018-10-23T17:51:32Z
author kettenis
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/amd64/amd64/bios.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/i386/i386/bios.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
message Comvert a few uvm_km_alloc(9) and uvm_km_valloc(9) calls to km_alloc(9).

ok deraadt@, mlarkin@, visa@