OpenBSD cvs log

created 2019-01-31T09:45:31Z
begin 2018-01-02T00:00:00Z
end 2018-01-03T00:00:00Z
path src/sys
commits 11

date 2018-01-02T06:07:21Z
author guenther
files src/sys/kern/kern_malloc.c log diff annotate
message Fix an off-by-one in the free(9) "passed size was too small" check:
if the size passed is exactly half the size of the bucket that the
allocation was actually from, then it was incorrect.

problem noted by florian@
ok florian@ visa@

date 2018-01-02T06:38:45Z
author guenther
files src/sys/dev/diskmap.c log diff annotate
src/sys/kern/exec_script.c log diff annotate
src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/sys_generic.c log diff annotate
src/sys/kern/sys_pipe.c log diff annotate
src/sys/kern/tty_pty.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
src/sys/uvm/uvm_mmap.c log diff annotate
message Stop assuming will pull in fcntl.h when _KERNEL is defined.

ok millert@ sthen@

date 2018-01-02T06:40:55Z
author guenther
files src/sys/sys/file.h log diff annotate
message Don't #include fcntl.h when _KERNEL is defined.

inspired by FreeBSD r24131
ok millert@ sthen@

date 2018-01-02T07:08:10Z
author dlg
files src/sys/net/ifq.c log diff annotate
src/sys/net/ifq.h log diff annotate
message reintroduce tx mitigation

to quote the previous commit:

> this replaces ifq_start with code that waits until at least 4 packets
> have been queued on the ifq before calling the drivers start routine.
> if less than 4 packets get queued, the start routine is called from
> a task in a softnet tq.
> 4 packets was chosen this time based on testing sephe did in dfly
> which showed no real improvement when bundling more packets. hrvoje
> popovski tested this on several nics and found an improvement of
> 10 to 20 percent when forwarding across the board.
> because some of the ifq's work could be sitting on a softnet tq,
> ifq_barrier now calls taskq_barrier to guarantee any work that was
> pending there has finished.
> ok mpi@ visa@

this was backed out because of a race in the net80211 stack that
anton@ hit. mpi@ committed a workaround for it in revision 1.30 of

im putting this in again so we can see what breaks next.

date 2018-01-02T12:52:17Z
author mpi
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
message Move the NET_LOCK() inside the switch and start documenting which field
is protected by which lock.

ok bluhm@, visa@

date 2018-01-02T12:54:07Z
author mpi
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Do not memset() the whole structure in sorflush() to keep `sb_flagsintr'

ok bluhm@, visa@

date 2018-01-02T12:57:30Z
author mpi
files src/sys/net/route.c log diff annotate
message Move the cloning bits in their own function.

This will be needed to select the proper cloning route in a multipath

While here remove a NET_ASSERT_LOCKED(), the routing table doesn't need
the lock.

ok dlg@

date 2018-01-02T21:23:13Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Add Rockchip vendor and RK3399 Root Complex device.

date 2018-01-02T21:24:02Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-01-02T22:33:17Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/rkpcie.c log diff annotate
message Initial stab at a driver for the PCIe interface on the Rockhip RK3399. For
now it cheats when setting up an interrupt handler. This cheat only works
because it currently effectively only supports a single device. But the
cheat works well enough to support the Firefly SATA adapter board.

date 2018-01-02T22:47:45Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable rkpcie(4).