OpenBSD cvs log

created 2020-02-22T19:49:41Z
begin 2020-02-18T00:00:00Z
end 2020-02-19T00:00:00Z
path src/sys
commits 16

date 2020-02-18T00:06:12Z
author cheloha
files src/sys/dev/ipmi.c log diff annotate
message ipmi(4): tsleep(9) -> tsleep_nsec(9)

There remains a polling sleep in this driver. We can fix it separately.

ok mpi@

date 2020-02-18T00:06:56Z
author cheloha
files src/sys/dev/ic/rtsx.c log diff annotate
message rtsx(4): tsleep(9) -> tsleep_nsec(9); ok mpi@

date 2020-02-18T00:10:22Z
author cheloha
files src/sys/dev/sbus/stp4020.c log diff annotate
message stp(4): tsleep(9) -> tsleep_nsec(9)

With input from kn@.

Compile-tested by kn@.

ok kn@

date 2020-02-18T00:12:08Z
author cheloha
files src/sys/dev/sbus/magma.c log diff annotate
src/sys/dev/sbus/magmareg.h log diff annotate
message magma(4): timeout_add(9) -> timeout_add_msec(9)

Remove the tick conversion stuff and use timeout_add_msec(9) directly.

Compile-tested by kn@.

ok kn@

date 2020-02-18T03:47:18Z
author visa
files src/sys/kern/kern_descrip.c log diff annotate
message Move setting of UF_EXCLOSE file descriptor flag inside finishdup().
This makes it easier to release fdplock before calling closef().

OK mpi@, anton@

date 2020-02-18T07:40:49Z
author claudio
files src/sys/dev/pci/drm/include/linux/sched/signal.h log diff annotate
message Use SIGPENDING() instead of CURSIG() for emulating signal_pending().
There is no need for the additional work done by CURSIG().
seems reasonable jsg@

date 2020-02-18T08:09:37Z
author gerhard
files src/sys/dev/usb/if_umb.c log diff annotate
src/sys/dev/usb/if_umb.h log diff annotate
message Add IPv6 support to umb(4).

ok job@ bluhm@ claudio@

job@ tested with 'telnet -6 towel.blinkenlights.nl' on Fibocom L831-EAU on
IIJ MIO's network (Japan), with 'inet6 autoconf' in /etc/hostname.umb0.

date 2020-02-18T08:29:35Z
author stsp
files src/sys/net80211/ieee80211_output.c log diff annotate
message Fix an mbuf corruption issue which occurs in net80211 hostap mode.

When sizing a memory allocation for a probe response frame, the AP used
the SSID length stored in the node structure which represents the client,
but used the actual length of the SSID when copying it into the frame.

If the actual length is sufficiently large this will result in corruption
of an adjacent mbuf on the free list since m->m_next will be overwritten
with data written to the tail of the probe response frame.

Bad things happen later on when the adjacent mbuf is used. Sometimes
the corruption is detected by mbufpl's use-after-free checking, at
other times we end up crashing somewhere in the network stack.

To prevent such a mistake from occuring again I am removing the 'ni'
argument from ieee80211_get_probe_resp() altogether. It is not needed.

A quick workaround is to configure a short SSID.

Debugged with help from claudio, kettenis, and dlg.

ok claudio

date 2020-02-18T12:13:39Z
author mpi
files src/sys/arch/armv7/omap/ommmc.c log diff annotate
src/sys/arch/sparc64/dev/stp_sbus.c log diff annotate
src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/cardbus/cardslot.c log diff annotate
src/sys/dev/fdt/imxesdhc.c log diff annotate
src/sys/dev/ic/dwiic.c log diff annotate
src/sys/dev/ic/dwiicvar.h log diff annotate
src/sys/dev/pci/drm/i915/intel_breadcrumbs.c log diff annotate
src/sys/dev/pci/drm/include/drm/drmP.h log diff annotate
message Cleanup <sys/kthread.h> and <sys/proc.h> includes.

Do not include <sys/kthread.h> where it is not needed and stop including
<sys/proc.h> in it.

ok visa@, anton@

date 2020-02-18T12:13:40Z
author mpi
files src/sys/dev/pci/dwiic_pci.c log diff annotate
src/sys/dev/pci/drm/include/linux/sched.h log diff annotate
src/sys/dev/pci/drm/scheduler/gpu_scheduler.c log diff annotate
src/sys/kern/kern_timeout.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/sys/kthread.h log diff annotate
src/sys/ufs/mfs/mfs_vfsops.c log diff annotate
src/sys/uvm/uvm_km.c log diff annotate
src/sys/uvm/uvm_pmemrange.c log diff annotate
message Cleanup <sys/kthread.h> and <sys/proc.h> includes.

Do not include <sys/kthread.h> where it is not needed and stop including
<sys/proc.h> in it.

ok visa@, anton@

date 2020-02-18T15:06:27Z
author cheloha
files src/sys/net/if_pppx.c log diff annotate
message pppx(4): rwsleep(9) -> rwsleep_nsec(9); ok claudio@

date 2020-02-18T16:05:56Z
author krw
files src/sys/dev/ic/aac.c log diff annotate
message Let aac(4) compile again by #include'ing selinfo.h.

date 2020-02-18T17:07:38Z
author krw
files src/sys/dev/ic/iha.h log diff annotate
message Trailing whitespace is icky. Some KNF whitespace tweaks
tossed it too.

date 2020-02-18T17:08:35Z
author krw
files src/sys/dev/ic/iha.c log diff annotate
message Trailing whitespace is icky. Some KNF whitespace tweaks
tossed it too.

date 2020-02-18T17:20:12Z
author krw
files src/sys/arch/sparc64/dev/vdsk.c log diff annotate
message Flip vdsk to 'normal' scsi_adapter idiom.

Compile testing by kurt@ and jca@.

date 2020-02-18T20:24:52Z
author krw
files src/sys/dev/ic/adv.h log diff annotate
src/sys/dev/ic/adw.c log diff annotate
src/sys/dev/ic/adw.h log diff annotate
src/sys/dev/ic/adwlib.c log diff annotate
src/sys/dev/ic/adwlib.h log diff annotate
src/sys/dev/pci/adv_pci.c log diff annotate
message Trailing whitespace.