OpenBSD cvs log

created 2020-04-25T17:46:26Z
begin 2020-04-11T00:00:00Z
end 2020-04-12T00:00:00Z
path src/sys
commits 9

date 2020-04-11T10:23:16Z
author stsp
files src/sys/net/if_pfsync.c log diff annotate
message fix build with PFSYNC_DEBUG by switching a format string from %d to %zd

date 2020-04-11T10:49:27Z
author mpi
files src/sys/net/if.c log diff annotate
message Grab the exclusive NET_LOCK() in the softnet thread.

Prevent a data corruption on a UDP receive socket buffer reported by
procter@ who triggered it with wireguard-go.

The symptoms are underflow of sb_cc/sb_datacc/sb_mcnt.

ok visa@

date 2020-04-11T10:56:42Z
author stsp
files src/sys/net/if_pfsync.c log diff annotate
message Avoid triggering KASSERT for bogus reason in pfsync_sendout with PFSYNC_DEBUG.
ok mpi@

date 2020-04-11T11:01:03Z
author dlg
files src/sys/net/if_tpmr.c log diff annotate
message log() lines need \n too.

date 2020-04-11T11:01:18Z
author kettenis
files src/sys/dev/acpi/acpiprt.c log diff annotate
message Use acpi_getsta(); avoids printing "no _STA method" messages and assumes
the device is present instead.

ok deraadt@

date 2020-04-11T13:43:34Z
author stsp
files src/sys/net80211/ieee80211_mira.c log diff annotate
message Update MiRA probing interval of probed rates which are worse than the
current best rate, not worse than the rate currently being probed.

This seems to be a more accurate interpretation of the MiRA paper.

The paper says the interval for a rate needs to be updated if the rate's
goodput is worse than that of the "current transmission rate" (see the
"Adaptive probing interval" section). Our implementation interpreted
"current transmission rate" as "rate being probed right now" and adjusted
the interval of the previously probed rate. However, the context of this
section of the paper suggests that "current transmissions rate" intends to
refer to the currently selected best rate for our non-probing transmissions.

testing and ok tb@ jmatthew@

date 2020-04-11T13:44:06Z
author stsp
files src/sys/net80211/ieee80211_mira.c log diff annotate
message Skip MiRA's event-based probing if we're already at the minimum or
maximum rate of our current rateset.

ok tb@

date 2020-04-11T13:47:53Z
author stsp
files src/sys/net80211/ieee80211_mira.c log diff annotate
message Eliminate an unnecessary intermediate variable in ieee80211_mira_choose().
suggested by jmatthew

date 2020-04-11T14:07:06Z
author claudio
files src/sys/kern/uipc_socket2.c log diff annotate
message Add soassertlocked() checks to sbappend() and sbappendaddr(). This brings
them in line with sbappendstream() and sbappendrecord().
Agreed by mpi@