OpenBSD cvs log

created 2019-05-08T03:38:32Z
begin 2017-12-04T00:00:00Z
end 2017-12-05T00:00:00Z
path src/sys
commits 8

date 2017-12-04T09:38:20Z
author mpi
files src/sys/arch/amd64/amd64/ipifuncs.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
message branches: 1.29.2;
Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).

ok visa@

date 2017-12-04T09:51:03Z
author mpi
files src/sys/arch/alpha/alpha/lock_machdep.c log diff annotate
src/sys/arch/alpha/include/mplock.h log diff annotate
src/sys/arch/arm64/include/mplock.h log diff annotate
src/sys/arch/hppa/hppa/lock_machdep.c log diff annotate
src/sys/arch/hppa/include/mplock.h log diff annotate
src/sys/arch/m88k/include/mplock.h log diff annotate
src/sys/arch/powerpc/include/mplock.h log diff annotate
src/sys/arch/powerpc/powerpc/lock_machdep.c log diff annotate
src/sys/kern/kern_lock.c log diff annotate
src/sys/kern/kern_proc.c log diff annotate
src/sys/sys/mplock.h log diff annotate
src/sys/sys/sched.h log diff annotate
message Change __mp_lock_held() to work with an arbitrary CPU info structure and
extend ddb(4) "ps /o" output to print which CPU is currently holding the
KERNEL_LOCK().

Tested by dhill@, ok visa@

date 2017-12-04T13:40:34Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
message Make divert lookup similar for all socket types. If PF_TAG_DIVERTED
is set, pf_find_divert() cannot fail so put an assert there.
Explicitly check all possible divert types, panic in the default
case. For raw sockets call pf_find_divert() before of the socket
loop. Divert reply should not match on TCP or UDP listen sockets.
OK sashan@ visa@

date 2017-12-04T13:40:35Z
author bluhm
files src/sys/netinet6/raw_ip6.c log diff annotate
message Make divert lookup similar for all socket types. If PF_TAG_DIVERTED
is set, pf_find_divert() cannot fail so put an assert there.
Explicitly check all possible divert types, panic in the default
case. For raw sockets call pf_find_divert() before of the socket
loop. Divert reply should not match on TCP or UDP listen sockets.
OK sashan@ visa@

date 2017-12-04T14:56:47Z
author robert
files src/sys/dev/pckbc/pms.c log diff annotate
message add the alps touchpad that can be found in the ideapad 710s

ok mpi@

date 2017-12-04T15:13:12Z
author bluhm
files src/sys/net/pf.c log diff annotate
message RFC 4861 requires that all neighbor discovery packets have 255 in
their IPv6 header hop limit field. Let pf drop neighbor solicitation,
neighbor advertisement, router solicitation, router advertisement,
and redirect ICMP6 packets that do not comply. This enforces that
bogus packets cannot be routed when pf is enabled.
OK mpi@ sashan@ benno@

date 2017-12-04T21:12:41Z
author mpi
files src/sys/arch/i386/i386/ipifuncs.c log diff annotate
message Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).

Missed in previous, found by deraadt@, ok visa@

date 2017-12-04T22:06:21Z
author kettenis
files src/sys/arch/sparc64/sparc64/pmap.c log diff annotate
message Sadly the firmware on SPARC T7 machines omits the executable bit on mappings
that contain code, just like some sun4u machines. So add it for sun4v as
well when entering the mappings into the kernel pmap.