OpenBSD cvs log

created 2018-11-29T13:14:05Z
begin 2018-04-03T00:00:00Z
end 2018-04-04T00:00:00Z
path src/sys
commits 10

date 2018-04-03T02:52:50Z
author dlg
files src/sys/net/if_vlan.c log diff annotate
message use link0 to use llprio in transmitted packets, regardless of mbuf prio.

some ISPs now provide services over vlans, but require vlan packets
going to the internet have their priority set to 1 (ie, 0 on the
wire) or they will be dropped. configuring this on openbsd requires
config in several places, eg, pf rules to set the prio on ip packets,
llprio on the pppoe interface for it's management frames, and the
llprio on the vlan interface if you're using dhclient on it. this
has the side effect that you can no longer use priority queuing,
and can be error prone to get right.

using link0 to flatteng the priority for isp transit is simple to
configure, and allows priority queuing.

a man page update is coming.

ok henning@

date 2018-04-03T07:13:37Z
author mlarkin
files src/sys/arch/amd64/include/kcore.h log diff annotate
message remove a 15-year old #if 0

date 2018-04-03T08:43:02Z
author mpi
files src/sys/kern/subr_witness.c log diff annotate
message Deactivate witness(4) checks if we are in ddb(4), when `db_active' is set.

Prevents witness(4) from panic'ing the kernel now that mutexes and rwlock
are always "taken" while in ddb(4).

ok visa@

date 2018-04-03T08:58:05Z
author mpi
files src/sys/kern/subr_xxx.c log diff annotate
message Silence assertwaitok() if we are in ddb(4).

ok bluhm@

date 2018-04-03T09:00:03Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
message Call FREF() right after fd_getfile() in dodup3().

ok millert@, bluhm@

date 2018-04-03T09:07:54Z
author mpi
files src/sys/kern/vfs_syscalls.c log diff annotate
message Add proper FREF()/FRELE() dance in sys_fchdir().

The syscall doesn't sleep before a vnode reference is taken, so it
doesn't stickly need the refcounts now. But they will be soon be
used for parrallelism, so make it ready.

ok bluhm@

date 2018-04-03T09:10:02Z
author mpi
files src/sys/kern/kern_event.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
message Move FREF()s just after fd_getfile() in sys_kevent(), sys_lseek() and
getvnode().

ok millert@

date 2018-04-03T09:31:00Z
author kettenis
files src/sys/dev/fdt/dwpcie.c log diff annotate
message Match on the more specific "marvell,armada8k-pcie" instead of the generic
"snps,dw-pcie" for now. There are considerable variations between
implementations of the Synapsys Designware PCIe core and glue logic and
the current code isn't flexible enough to deal with that yet.

date 2018-04-03T09:32:32Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Add Marvell ARMADA 7K/8K (CP110) Root Complex.

date 2018-04-03T09:33:17Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen