OpenBSD cvs log

created 2021-08-01T04:19:02Z
begin 2021-07-27T00:00:00Z
end 2021-07-28T00:00:00Z
path src/sys
commits 5

date 2021-07-27T01:44:55Z
author kevlo
files src/sys/dev/pci/if_ix.c log diff annotate
message Fix Rx hash type
This matches what Linux and FreeBSD do.

ok jmatthew@

date 2021-07-27T07:20:11Z
author jsg
files src/sys/stand/efi/include/amd64/efibind.h log diff annotate
src/sys/stand/efi/include/arm/efibind.h log diff annotate
src/sys/stand/efi/include/arm64/efibind.h log diff annotate
src/sys/stand/efi/include/i386/efibind.h log diff annotate
message replace efibind.h files with the small amount we need
tested on armv7 arm64 and amd64 (bootx64)

ok kettenis@ mpi@

date 2021-07-27T09:29:09Z
author mvs
files src/sys/net/pipex.c log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Introduce mutex(9) to protect pipex(4) session content.

With bluhm@'s diff for parallel forwarding pipex(4) could be accessed in
parallel through (*ifp->if_input)() -> ether_input() ->
pipex_pppoe_input(). PPPOE pipex(4) sessions are mostly immutable except
MPPE crypt.

The new per-session `pxs_mtx' mutex(9) used to protect session's
`ccp-id' which is incremented each time we send CCP reset-request.

The new `pxm_mtx' mutex(9) used to protect MPPE context. Each pipex(4)
session has two of them: one for the input and one for output path.

Where is no lock order limitations because those new mutex(9)'es never
held together.

ok bluhm@

date 2021-07-27T13:36:59Z
author mglocker
files src/sys/dev/usb/dwc2/dwc2_core.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_core.h log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcd.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcd.h log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcdddma.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcdintr.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcdqueue.c log diff annotate
src/sys/dev/usb/dwc2/list.h log diff annotate
message Implemented from the Linux driver:

* Introduce split transaction order queues.
* Improve the NAK interrupt handler routine.
* Mostly move from list_move() to list_move_tail().

Those changes fix an attachment problem seen for certain devices which
are issuing NAK interrupts during split transactions, which don't get
handled correctly by the driver today. This could result in unexpected
channel halting, printing "ChHltd set, but reason is unknown", which
finally leaves the device back on a disabled USB port.

ok kettenis@

date 2021-07-27T17:13:03Z
author mvs
files src/sys/net/pfkeyv2_convert.c log diff annotate
src/sys/netinet/ip_ah.c log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/ipsec_output.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
message Revert "Use per-CPU counters for tunnel descriptor block" diff.

Panic reported by Hrvoje Popovski.