OpenBSD cvs log

created 2021-04-04T01:44:27Z
begin 2021-03-30T00:00:00Z
end 2021-03-31T00:00:00Z
path src/sys
commits 8

date 2021-03-30T00:55:08Z
author kevlo
files src/sys/dev/pci/if_rge.c log diff annotate
src/sys/dev/pci/if_rgereg.h log diff annotate
message Move tx/rx descriptors into their own structs.
This is a first step toward making rge work with multiple queues and interrupts.
Only one queue is currently used.

While here, update the RTL8125B microcode.

ok jmatthew@

date 2021-03-30T08:37:10Z
author sashan
files src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
message [ICMP] IP options lead to malformed reply

icmp_send() must update IP header length if IP optaions are appended.
Such packet also has to be dispatched with IP_RAWOUTPUT flags.

Bug reported and fix co-designed by Dominik Schreilechner _at_ siemens _dot_ com

OK bluhm@

date 2021-03-30T08:37:11Z
author sashan
files src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet/ip_var.h log diff annotate
message [ICMP] IP options lead to malformed reply

icmp_send() must update IP header length if IP optaions are appended.
Such packet also has to be dispatched with IP_RAWOUTPUT flags.

Bug reported and fix co-designed by Dominik Schreilechner _at_ siemens _dot_ com

OK bluhm@

date 2021-03-30T15:48:36Z
author patrick
files src/sys/dev/usb/if_umb.c log diff annotate
src/sys/dev/usb/if_umb.h log diff annotate
message Some umb(4) devices require the NDP pointer behind the NDP datagram.

From gerhard@
"broadly OK" sthen@

date 2021-03-30T15:59:04Z
author patrick
files src/sys/dev/usb/if_umb.c log diff annotate
src/sys/dev/usb/if_umb.h log diff annotate
src/sys/dev/usb/mbim.h log diff annotate
message Some cards announce support for the NTB16 format, but that support does not
work. Hence, add support for NTB32 in the transmit path. We already have
support for NTB32 in the receive path. We detect the supported format on
boot and can then decide on transmit which format to use.

From ehrhardt@ with gerhard@
Tested by jan@
ok sthen@

date 2021-03-30T16:46:36Z
author kettenis
files src/sys/dev/pci/dwiic_pci.c log diff annotate
message Register the PCI variant of dwiic(4) with acpi(4).

ok tb@

date 2021-03-30T16:49:58Z
author kettenis
files src/sys/dev/acpi/dsdt.c log diff annotate
message Handle systems, such as the Dell Precision 3640, that access
GenericSerialBus operating regions witout checking whether they're really
available. This needs to work on RAMDISK kernels as well. Since we
don't want to pull in the i2c subsystem on those, provide a separate
and much simpler dummy implementation of the GenericSerialBus access code
when SMALL_KERNEL is defined.

ok tb@

date 2021-03-30T20:58:19Z
author sthen
files src/sys/dev/usb/if_umb.c log diff annotate
message fix typos in comments