OpenBSD cvs log

created 2021-07-10T17:41:31Z
begin 2021-07-05T00:00:00Z
end 2021-07-06T00:00:00Z
path src/sys
commits 4

date 2021-07-05T04:17:41Z
author dlg
files src/sys/net/if_etherbridge.c log diff annotate
src/sys/net/if_etherbridge.h log diff annotate
message etherbridge_map was way too clever, so simplify it.

the code tried to carry state from the quick smr based lookup through
to the actual map update under the mutex, but this led to refcnt
leaks, and logic errors. the simplification is that if the smr based
checks say the map needs updating, we prepare the update and then
forget what we learnt inside the smr critical section and redo them
under the mutex again.

entries in an etherbridge map are either in it or they aren't, so
we don't need to refcnt them. this means the thing that takes an
entry out of the map becomes directly responsible for destroy it,
so they can do the smr call or barrier directly rather than via a
refcnt.

found by hrvoje popovski while testing the stack running in parallel,
and fix tested by him too.
ok sashan@

date 2021-07-05T05:49:30Z
author anton
files src/sys/dev/kcov.c log diff annotate
message rename kd_put() -> kd_copy()

date 2021-07-05T05:50:19Z
author anton
files src/sys/dev/kcov.c log diff annotate
message rename kd_put() -> kd_copy()

date 2021-07-05T12:01:20Z
author tobhe
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/pfkeyv2.h log diff annotate
src/sys/net/pfkeyv2_convert.c log diff annotate
src/sys/net/pfkeyv2_parsemessage.c log diff annotate
message Export tdb MTU to userland via SADB_GET. This helps debug path MTU
discovery issues with ESP in UDP.

ok bluhm@ sthen@ mpi@