OpenBSD cvs log

created 2022-03-12T21:51:45Z
begin 2022-03-09T00:00:00Z
end 2022-03-10T00:00:00Z
path src/sys
commits 2

date 2022-03-09T11:38:51Z
author stsp
files src/sys/dev/pci/if_iwn.c log diff annotate
message Improve stability of roaming on iwn(4), in particular with wpa_supplicant.

Clear HT-related rxon flags in firmware when switching away from RUN
or ASSOC state. This avoids fatal firmware errors.

When starting a scan, set link state down and clear ic_bss before
sending the scan command to the device, not after.

tested by mbuhl@ on eduroam
ok mbuhl@

date 2022-03-09T17:29:52Z
author claudio
files src/sys/net/rtsock.c log diff annotate
message Change the logic around rounding up the needed memory for sysctls since
the network state can change between the two sysctl calls. Adding 10%
extra works for larger routing tables but can be too little on smaller
tables to hold even a single extra message. Instead of that add at least
1024 bytes or 10% (whichever is bigger) and round the size up to the next
page. With this there are no more sporadic errors in the bgpd integration
tests.
OK sthen@