OpenBSD cvs log

created 2019-02-19T17:07:24Z
begin 2019-02-10T00:00:00Z
end 2019-02-11T00:00:00Z
path src/sys
commits 12

date 2019-02-10T11:56:26Z
author kettenis
files src/sys/dev/fdt/sximmc.c log diff annotate
message Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.

date 2019-02-10T12:25:28Z
author kettenis
files src/sys/dev/fdt/sxipio.c log diff annotate
src/sys/dev/fdt/sxipio_pins.h log diff annotate
message Add Allwinner V3s support. Also update some Allwinner A80 pin names to
what is used by more recent Linux kernels.

Partly from SASANO Takayoshi.

date 2019-02-10T16:42:35Z
author phessler
files src/sys/net/if_pfsync.c log diff annotate
src/sys/scsi/mpath.c log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
message "non-existant" is one of those words that don't exist, so use "non-existent"
instead

From Pamela Mosiejczuk, many thanks!
OK phessler@ deraadt@

date 2019-02-10T20:02:37Z
author tedu
files src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/kern/subr_pool.c log diff annotate
src/sys/kern/uipc_mbuf.c log diff annotate
src/sys/sys/pool.h log diff annotate
message make it possible to reduce kmem pressure by letting some pools use a more
accomodating allocator. an interrupt safe pool may also be used in process
context, as indicated by waitok flags. thanks to the garbage collector, we
can always free pages in process context. the only complication is where
to put the pages. solve this by saving the allocation flags in the pool
page header so the free function can examine them.
not actually used in this diff. (coming soon.)
arm testing and compile fixes from phessler

date 2019-02-10T20:05:04Z
author tedu
files src/sys/kern/subr_pool.c log diff annotate
message if waitok flag is set, have the interrupt multipage allocator redirect
to the not interrupt allocator.

date 2019-02-10T20:07:33Z
author tedu
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
message missed a file. add flags to the pool page free function.

date 2019-02-10T22:32:26Z
author dlg
files src/sys/net/route.c log diff annotate
src/sys/netinet/in.c log diff annotate
src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/in6_ifattach.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
message remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.

MPLS interfaces (ab)use rt_ifa_add for adding the local MPLS label
that they listen on for incoming packets, while every other use of
rt_ifa_add is for adding addresses on local interfaces. MPLS does
this cos the addresses involved are in basically the same shape as
ones used for setting up local addresses.

It is appropriate for interfaces to want RTF_MPATH on local addresses,
but in the MPLS case it means you can have multiple local things
listening on the same label, which doesn't actually work. mpe in
particular keeps track of in use labels to it can handle collisions,
however, mpw does not. It is currently possible to have multiple
mpw interfaces on the same local label, and sharing the same label
as mpe or possible normal forwarding labels.

Moving the RTF_MPATH flag out of rt_ifa_add means all the callers
that still want it need to pass it themselves. The mpe and mpw
callers are left alone without the flag, and will now get EEXIST
from rt_ifa_add when a label is already in use.

ok (and a huge amount of patience and help) mpi@
claudio@ is ok with the idea, but saw a much much earlier solution
to the problem

date 2019-02-10T22:34:01Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
message get rid of the global list of mpe interfaces, it's not needed anymore

mpe would try to detect label collisions itself, but wasn't
coordinating with mpw or other labels, making it's solution incomplete.
this also means i won't need extra locking if i try to make the
ioctl paths mpsafe.

date 2019-02-10T22:36:34Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
message whitespace tweak, no functional change

date 2019-02-10T22:45:57Z
author tedu
files src/sys/kern/subr_pool.c log diff annotate
message revert revert revert. there are many other archs that use custom allocs.

date 2019-02-10T22:45:58Z
author tedu
files src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/kern/uipc_mbuf.c log diff annotate
src/sys/sys/pool.h log diff annotate
message revert revert revert. there are many other archs that use custom allocs.

date 2019-02-10T22:58:05Z
author dlg
files src/sys/net/if_mpw.c log diff annotate
message assign the m_prepend result to the right variable.