OpenBSD cvs log

created 2019-09-18T17:29:36Z
begin 2019-06-03T00:00:00Z
end 2019-06-03T06:00:00Z
path src/sys
commits 4

date 2019-06-03T00:43:26Z
author kettenis
files src/sys/dev/fdt/dwpcie.c log diff annotate
src/sys/dev/fdt/rkpcie.c log diff annotate
message Change pci_intr_handle_t into a struct and replace duplicated code that
implements mapping of MSI and MSI-X interrupts with new generic functions.
Fixes a use-after-free in sone PCI device drivers that call pci_intr_string(9)
after pci_intr_establish(9).

ok deraadt@

date 2019-06-03T01:27:30Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
src/sys/kern/kern_time.c log diff annotate
src/sys/sys/time.h log diff annotate
message Switch from bintime_add() et al. to bintimeadd(9).

Basically just make all the bintime routines look and behave more like
the timeradd(3) macros.

Switch to three-argument forms for structure math, introduce and use
bintimecmp(9), and rename the structure conversion routines to resemble
e.g. TIMEVAL_TO_TIMESPEC(3).

Document all of this in a new bintimeadd.9 page.

Code input from mpi@, manpage input from schwarze@.

code ok mpi@, docs ok schwarze@, docs probably still ok jmc@

date 2019-06-03T01:52:53Z
author kevlo
files src/sys/dev/pci/if_alc.c log diff annotate
message - Remove a redundant check within alc_mii_readreg_813x().
The PHY address is already checked within alc_miibus_readreg().
- Remove redundant call to alc_stop_queue().
First thing alc_stop_mac() does is call alc_stop_queue().

From Brad

date 2019-06-03T04:38:30Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message Implement rx filtering using the flow table. Now we have three flow groups,
one that will match any packet, used in promisc mode; one that matches on the
low bit of the first byte of the destination mac address, used to receive all
multicast packets; and one that matches on the whole destination mac address,
used to receive unicast, broadcast and specific multicast addresses. As we
add multicast addresses, we create flow entries to match them, but if we run
out, we create an all-multicast flow entry.

ok dlg@