OpenBSD cvs log

created 2022-07-16T15:08:30Z
begin 2022-07-10T00:00:00Z
end 2022-07-11T00:00:00Z
path src/sys
commits 7

date 2022-07-10T08:33:00Z
author visa
files src/sys/arch/sparc64/dev/vldcp.c log diff annotate
message Add missing device_unref() calls.

OK kettenis@

date 2022-07-10T20:14:16Z
author mlarkin
files src/sys/dev/ic/nvme.c log diff annotate
message Remove trailing whitespace. No code change.

date 2022-07-10T20:15:31Z
author mlarkin
files src/sys/dev/usb/uhub.c log diff annotate
message Remove trailing whitespace. No code change.

date 2022-07-10T20:16:15Z
author mlarkin
files src/sys/kern/kern_clock.c log diff annotate
message Remove trailing whitespace. No code change.

date 2022-07-10T21:13:41Z
author bluhm
files src/sys/dev/pci/if_pcn.c log diff annotate
src/sys/dev/usb/if_athn_usb.c log diff annotate
src/sys/net/if_media.c log diff annotate
src/sys/net/if_media.h log diff annotate
message Add _cb suffix to callback fields in struct ifmedia. Makes code
easier to read and grep as ifm_status was used in both structs
ifmediareq and ifmedia with different meaning.
OK mvs@

date 2022-07-10T21:26:55Z
author mvs
files src/sys/net/if.c log diff annotate
message if_detach() should wait until concurrent (*if_qstart)() interface start
routines finished.

Call ifq_barrier(9) just after we unlinked dying interface from the stack.
From this point it is not accessible by if_get(9) and if_unit(9), and all
concurrent threads owning interface pointer finished. It also detached
from pseudo drivers like bridge(4). We only could have concurrent
(*if_qstart)() handlers running, so wait them and then continue
destruction.

Reported and tested by Hrvoje Popovski.

ok bluhm@

date 2022-07-10T21:28:10Z
author mvs
files src/sys/net/pipex.c log diff annotate
message Add missing `pipex_list_mtx' mutex(9) around all sessions loop within
pipex_ip_output(). The all sessions loop was reworked to make possible
to drop the lock within.

ok bluhm@ yasuoka@.