OpenBSD cvs log

created 2020-04-11T17:53:40Z
begin 2020-04-04T00:00:00Z
end 2020-04-05T00:00:00Z
path src/sys
commits 4

date 2020-04-04T01:48:03Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message Return ENETRESET on success from mcx_up() so mcx_ioctl() will call
mcx_iff(), repplying the promisc and allmulti flags on the interface.
This may have contributed to some problems dlg@ and I had the other day.

ok dlg@

date 2020-04-04T08:57:36Z
author mpi
files src/sys/sys/event.h log diff annotate
message Prevent shadowing of local variable by the EV_SET() macro.

Use two underbars to start the locally defined variable, as suggested by
guenther@. The other option to avoid namespace conflict would be to start
the identifier with an underbar and a capital.

ok beck@, guenther@

date 2020-04-04T16:41:23Z
author mpi
files src/sys/net/pipex.c log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Prevent the destruction of a session owned by another interface.

Issue reported by and fix from Vitaliy Makkoveev.

date 2020-04-04T22:08:02Z
author kettenis
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Tweak the code that wakes up uvm_pmalloc sleepers in the page daemin.
Although there are open questions about whether we should flag failures with
UVM_PMA_FAIL or not, we really should only wake up a sleeper if we unlink
the pma. For now only do that if pages were actually freed in the requested
region.

Prompted by:

CID 1453061 Logically dead code

which should be fixed by this commit.

ok (and together with) beck@