OpenBSD cvs log

created 2019-02-07T02:45:50Z
begin 2018-11-22T00:00:00Z
end 2018-11-29T00:00:00Z
path src/sys
commits 12

date 2018-11-22T14:54:36Z
author fcambus
files src/sys/dev/pci/bktr/bktr_core.c log diff annotate
message Remove useless assignment, value is overwritten right after being set.

Both assignements are in our tree since the driver got imported from
FreeBSD in 2001 and remained untouched since import.

The second assignment in its current form got introduced in FreeBSD in
1997 with r29233 [1], when syncinc the driver. The first assignment got
removed in 2017 with r314147 [2].

[1]: https://svnweb.freebsd.org/base?view=revision&revision=29233
[2]: https://svnweb.freebsd.org/base?view=revision&revision=314147

Coverity CID 1453008.

OK deraadt@

date 2018-11-23T12:37:40Z
author reyk
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/dev/pv/files.pv log diff annotate
src/sys/dev/pv/pvclock.c log diff annotate
src/sys/dev/pv/pvreg.h log diff annotate
message Add the pvclock(4) guest driver for paravirtual clocks

This improves timekeeping on KVM guests as it runs much better than
the virtualized acpihpet or acpitimer timecounters and the invtsc is
not always available.

Many thanks to Janne Johansson, landry@, and benno@ for testing amd64/i386.

OK mlarkin@ phessler@

date 2018-11-23T16:24:11Z
author claudio
files src/sys/net/route.c log diff annotate
src/sys/net/rtable.c log diff annotate
src/sys/net/rtable.h log diff annotate
message Change rtable_mpath_reprio() to take the prefixlen as argument instead of
the network mask. This saves converting the prefixlen to a mask and back.
OK phessler@, benno@

date 2018-11-24T13:12:29Z
author phessler
files src/sys/dev/pv/pvclock.c log diff annotate
message only attach pvclock(4) inside a KVM guest

tested by brynet@
OK reyk@

date 2018-11-25T12:14:01Z
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
message print more details about the join'd networks we have saved when a user runs
ifconfig if joinlist

OK stsp@

date 2018-11-25T17:35:44Z
author daniel
files src/sys/dev/pci/pcidevs log diff annotate
message Add core4g thermal id; ok mlarkin.

date 2018-11-25T17:36:40Z
author daniel
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-11-25T19:52:08Z
author jmc
files src/sys/dev/pci/if_devar.h log diff annotate
src/sys/dev/x86emu/x86emu.c log diff annotate
message spelling; from miod

date 2018-11-27T14:53:56Z
author mpi
files src/sys/dev/usb/if_zyd.c log diff annotate
message Attach the driver only if the stack managed to set the configuration.

Tested by stsp@

date 2018-11-27T14:56:09Z
author mpi
files src/sys/dev/usb/usb_subr.c log diff annotate
src/sys/dev/usb/usbdivar.h log diff annotate
message Free sizes for the subdevs array.

ok anton@, visa@

date 2018-11-27T15:52:50Z
author cheloha
files src/sys/kern/kern_event.c log diff annotate
message EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.

tvtohz(9) adds an extra tick to account for the present tick, but this
tick needs to be removed when the timeout is reloaded thereafter. We
already do this for periodic setitimer(2) timeouts.

Prompted by Paul Herman's writeup on clock aliasing for DragonflyBSD:
https://frenchfries.net/paul/dfly/nanosleep.html

Also fixed in FreeBSD r238424.

Style tweaks from visa.

ok visa@, guenther@

date 2018-11-28T08:15:29Z
author claudio
files src/sys/netinet/ip_icmp.c log diff annotate
message Further cleanup of icmp_do_error.
- Use m_align() since it handles all cases
- Use same rounding logic in the size check as in m_align() so all data will
filt always.
- consolidate pkthdr initalisation into one place
- use m_prepend() instead of direct pointer manipulation (including the panic
in case an underflow happens).
OK bluhm@