OpenBSD cvs log

created 2020-12-13T00:45:59Z
begin 2020-12-10T00:00:00Z
end 2020-12-11T00:00:00Z
path src/sys
commits 9

date 2020-12-10T04:26:50Z
author gnezdo
files src/sys/kern/sched_bsd.c log diff annotate
message Use sysctl_int_bounded for sysctl_hwsetperf

Removed some trailing whitespace while there.

ok gkoehler@

date 2020-12-10T04:27:07Z
author gnezdo
files src/sys/net/if_gre.c log diff annotate
message Convert gre_sysctl to sysctl_bounded_arr

Fixed up a reference to gre_wccp where a fixed value from wwcp
standard was intended.

ok gkoehler@

date 2020-12-10T04:27:25Z
author gnezdo
files src/sys/ddb/db_usrreq.c log diff annotate
message Convert ddb_sysctl to sysctl_bounded_arr

ok gkoehler@

date 2020-12-10T05:05:39Z
author jsg
files src/sys/dev/pci/drm/include/linux/jiffies.h log diff annotate
message remove timespec_to_jiffies() which no longer exists in linux

date 2020-12-10T06:40:22Z
author dlg
files src/sys/net/pf.c log diff annotate
message when setting a flowid, set the M_FLOWID csum_flags bit too.

this "fixes" TCP going over an interface with fq codel enabled. the
way the codel code classifies a packet without a flowid set is to
randomly assign it to a bucket. this in turn means that packets
will get reordered, and tcp hates that.

sthen was able to find a test case and narrow down at which time
the problem appeared, helped greatly.

tested by sthen@ and millert@
ok sashan@ jmatthew@

date 2020-12-10T06:53:38Z
author dlg
files src/sys/net/fq_codel.c log diff annotate
message classify packets without a flowid into bucket 0, not a random bucket.

putting packets into random buckets means packets in a flow/connection
will be reorderd. pf assigns a flowid if it's enabled, and you need
pf to configure code, so it's reasonable to assume that most packets
will have a flowid. using bucket 0 like this is what we do in most
other places that bin packets with the flowid.

date 2020-12-10T12:24:06Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/wait.h log diff annotate
message use jiffies var instead of ticks when checking for timeout

date 2020-12-10T12:52:49Z
author stsp
files src/sys/net80211/ieee80211_input.c log diff annotate
message Fix double-free on error in ieee80211_amsdu_decap().

Bug was introduced by my previous commit to this file.

ok tobhe@

date 2020-12-10T12:53:03Z
author stsp
files src/sys/net80211/ieee80211_crypto.c log diff annotate
message ieee80211_decrypt must use m_freem() instead of m_free()

Patch by zxystd from the OpenIntelWireless project (drivers for macOS)

ok tobhe@