OpenBSD cvs log

created 2022-01-02T02:47:14Z
begin 2021-12-28T00:00:00Z
end 2021-12-29T00:00:00Z
path src/sys
commits 6

date 2021-12-28T13:16:28Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Unlock bottom part of the fault handler.

Tested by many during the past months, thanks!

ok sthen@

date 2021-12-28T16:29:59Z
author otto
files src/sys/arch/amd64/conf/Makefile.amd64 log diff annotate
message Now that -A prints -- markers as it is supposed to filter them out when
doing the consistency check for locore.o; ok millert@

date 2021-12-28T17:50:10Z
author anton
files src/sys/dev/kcov.c log diff annotate
message The initial kd_lookup() in kcovopen() is redundant as kcov is a cloning
device. Turn it into an assertion instead to better state the expected
semantics of D_CLONE.

Prompted after a discussion with visa@

date 2021-12-28T23:10:30Z
author dlg
files src/sys/net/if_veb.c log diff annotate
message move away from using the M_PROTO1 flag to prevent loops with vports

if a vlan interface is configured on a vport interface, vlan(4)
will take the packet away from ether_input before the veb bridge
input handler gets to clear M_PROTO1. this leaves the flag on the
mbuf as it goes through the l3 stacks. if it goes back out a vport
into a veb, the presence of M_PROTO1 means the packet ends up getting
dropped, which is unexpected.

this diff specialises vport handling by veb even more to avoid the
problem the flag was handling. vports get their own bridge input
handler that skips veb processing completely because a packet being
received on a vport can only occur if a veb has decided to forward
it there and has already processed it. when the stack sends a packet
out a vport interface, then we do actual veb bridge input handling.

bug reported on misc@ and the fix tested by Simon Baker

date 2021-12-28T23:10:58Z
author dlg
files src/sys/net/if_veb.c log diff annotate
message it doesnt make sense to configure a vport as a span port.

date 2021-12-28T23:13:20Z
author dlg
files src/sys/net/if_veb.c log diff annotate
message whitespace tweak, no functional change.