OpenBSD cvs log

created 2020-08-02T08:17:35Z
begin 2020-07-30T00:00:00Z
end 2020-07-31T00:00:00Z
path src/sys
commits 7

date 2020-07-30T00:03:25Z
author krw
files src/sys/dev/ic/siop.c log diff annotate
message "#ifndef SIOP_DEBUG\n#undef SIOP_DEBUG\n#endif" is a bit silly.

date 2020-07-30T03:30:04Z
author dlg
files src/sys/net/if_pflog.c log diff annotate
message make pflog more mpsafe with variables on the stack instead of globals.

pflog wants to copy and patch the packet that is being logged to
properly show if it is being transformed, and it does this by copying
the ip and transport headers into a local mbuf and patching them
there, and then wiring the remaining data from the original packet
into an mbuf chain hanging off this patched mbuf.

it's just unfortunate that the mbufs it was using are global and
not locked. this is particularly unfortunate if you're running the
stack in parallel on multiple cpus and pflog gets to running
concurrently.

this changes pflog to use an mbuf on the stack to copy the headers
into and patch. the mbuf used to point to the trailing data has
been replaced with an m_hdr, also on the stack, like what bpf_mtap_ether
does to skip past where a vlan shim should be.

ok sashan@ jmatthew@

date 2020-07-30T08:28:44Z
author stsp
files src/sys/dev/pci/pcidevs log diff annotate
message add PCI ID of intel Wi-Fi 6 AX201 devices

date 2020-07-30T08:28:57Z
author stsp
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-07-30T11:32:06Z
author mvs
files src/sys/net/bridgestp.c log diff annotate
src/sys/net/if_bridge.c log diff annotate
src/sys/net/if_bridge.h log diff annotate
src/sys/net/if_switch.c log diff annotate
message `struct bstp_state' stores pointer to parent `ifnet' as `bs_ifp'.
Replace this pointer by interface index. This allow us to avoid some use
after free issues caused by ifioctl() races.

ok sashan@

date 2020-07-30T12:52:54Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Only invalidate "user" SLB entry if it is currently set.

date 2020-07-30T13:14:38Z
author krw
files src/sys/dev/ic/aic6250var.h log diff annotate
message When this Aviion-only driver is eventually sent to join its friends in the attic
let it go there without the burden of a spurious struct scsi_link member of
struct aic6250_softc.