OpenBSD cvs log

created 2019-05-08T02:55:32Z
begin 2017-11-14T00:00:00Z
end 2017-11-15T00:00:00Z
path src/sys
commits 12

date 2017-11-14T00:00:35Z
author dlg
files src/sys/net/ifq.c log diff annotate
src/sys/net/ifq.h log diff annotate
message reintroduce tx mitigation, like dfly does and like we used to do.

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@

date 2017-11-14T04:08:11Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/ifq.c log diff annotate
src/sys/net/ifq.h log diff annotate
message move the adding of an ifqs counters in if_getdata to ifq.c

this keeps the knowledge of ifq locking in ifq.c

ok visa@

date 2017-11-14T06:46:43Z
author dlg
files src/sys/conf/files log diff annotate
src/sys/kern/kern_malloc.c log diff annotate
src/sys/kern/Attic/kern_malloc_debug.c log diff annotate
message remove MALLOC_DEBUG

the code has rotted, and obviously hasnt been used for ages. it is
also hard to make mpsafe. if we need something like this again it
would be better to do it from scratch.

ok tedu@ visa@

date 2017-11-14T08:44:11Z
author dlg
files src/sys/net/ifq.c log diff annotate
src/sys/net/ifq.h log diff annotate
message anton@ reports that ifq tx mitigation breaks iwm somehow.

back it out until i can figure the problem out.

date 2017-11-14T09:30:17Z
author mpi
files src/sys/netinet/in.h log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
message Introduce ipsec_sysctl() and move IPsec tunables where they belong.

ok bluhm@, visa@

date 2017-11-14T10:17:13Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
message Add a few more PNP IDs to the skip lists.

ok deraadt@, mpi@

date 2017-11-14T11:58:17Z
author anton
files src/sys/dev/pckbc/pms.c log diff annotate
message Print out the offending data causing pms sync to fail.

ok bru@, mpi@ (as part of a larger diff)

date 2017-11-14T12:03:42Z
author anton
files src/sys/dev/pckbc/pms.c log diff annotate
message Detect touchpad reset announcements. On rare occasions, the touchpad is reset
due to power failure and an announcement is transmitted as input by the device
making it detectable. At this point, the device must be re-enabled to continue
working since any configuration done prior to the reset is lost.

Detection is implemented using a watchdog and enabled for all protocols. So far,
the announcement has been observed on Synaptics by me and on Elantech v4 by
bru@. Extra care has been taken to handle potential false positives: when the
announcement byte sequence is part of a valid input packet.

with help and ok bru@, mpi@

date 2017-11-14T13:09:22Z
author fcambus
files src/sys/arch/amd64/amd64/via.c log diff annotate
message Add sizes for free() in the VIA PadLock driver.

OK mikeb@

date 2017-11-14T14:43:39Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Fix the initial check of the checkorder and lock operations
so that statically initialized locks get properly enrolled
to the validator.

OK mpi@

date 2017-11-14T14:46:49Z
author bluhm
files src/sys/netinet6/frag6.c log diff annotate
message Put the net lock around frag6_freef() as it sends ICMP6 error
messages. Splassert was triggered by regress/sys/netinet6/frag6.
OK mpi@ sashan@ visa@

date 2017-11-14T16:01:55Z
author tb
files src/sys/kern/sys_socket.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/nfs/nfs_boot.c log diff annotate
message Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().
In particular, this allows SIOCGIF* requests to run in parallel.

lots of help & ok mpi, ok visa, sashan