OpenBSD cvs log

created 2021-01-09T21:53:25Z
begin 2021-01-04T00:00:00Z
end 2021-01-05T00:00:00Z
path src/sys
commits 7

date 2021-01-04T04:50:05Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message use bus_dmamap_sync around updates to the doorbells.

ok jmatthew@

date 2021-01-04T12:21:38Z
author mvs
files src/sys/net/pipex.h log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Remove unused `pipex_iface_context' struct.

ok ok@ yasuoka@

date 2021-01-04T12:48:27Z
author bluhm
files src/sys/net/if_pfsync.c log diff annotate
src/sys/net/pf.c log diff annotate
message Minor refactoring in pf(4). Note that struct pfsync_state is no
longer memcopied but assigned. Alignment should not be an issue
as it is __packed.
Part of a larger diff from dlg@; OK dlg@ sashan@

date 2021-01-04T13:56:45Z
author kn
files src/sys/net/if.c log diff annotate
message Remove kernel lock from pppoe(4) input path

"struct pppoe_softc" documents no member being protected by the kernel lock
(alone); further review of the code paths starting from pppoeintr() shows
no sleeping points which must be avoided in the softnet thread.

Everything is fine as is to run without the big lock, so remove it.

Tests sthen
Feedback mpi mvs
OK mvs claudio

date 2021-01-04T15:02:34Z
author sashan
files src/sys/netinet/ip_carp.c log diff annotate
message - fix use after free, when packet gets dropped.

patch submitted by Ralf Horstmann from ackstorm.de

OK dlg@

date 2021-01-04T21:21:41Z
author kn
files src/sys/net/if.c log diff annotate
src/sys/net/if_ethersubr.c log diff annotate
src/sys/net/if_pppoe.c log diff annotate
src/sys/net/if_pppoe.h log diff annotate
src/sys/net/netisr.h log diff annotate
message Process pppoe(4) packets directly, do not queue through netis

Less scheduling, lock contention and queues.

Previously, if_netisr() handled the net lock around those calls, now
if_input_process() does it before calling ether_input(), so no need to add
or remove NET_*LOCK() anywhere.

OK mvs claudio

date 2021-01-04T23:12:05Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message the tx doorbell is next to the rx doorbell, not on top of it.