svn commit: r350584 - head/sys/netinet6

2019-08-05 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 5 09:49:24 2019 New Revision: 350584 URL: https://svnweb.freebsd.org/changeset/base/350584 Log: frag6.c: re-order functions within file Re-order functions within the file in preparation for an upcoming code simplification. No functional changes. MFC aft

svn commit: r350585 - head/sys/netinet6

2019-08-05 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 5 11:01:12 2019 New Revision: 350585 URL: https://svnweb.freebsd.org/changeset/base/350585 Log: frag6.c: rename ip6q[] to ipq6b[] and consistently use "bucket" The hash buckets array is called ip6q. The data structure ip6q is a description of different object, t

svn commit: r350586 - in head: etc/mtree tests/sys/netpfil tests/sys/netpfil/common

2019-08-05 Thread Tom Jones
Author: thj Date: Mon Aug 5 11:47:34 2019 New Revision: 350586 URL: https://svnweb.freebsd.org/changeset/base/350586 Log: Add common firewall test suite Add a common test suite for the firewalls included in the base system. The test suite allows common test infrastructure to test pf, ip

svn commit: r350587 - head/libexec/rtld-elf/powerpc64

2019-08-05 Thread Leandro Lupori
Author: luporl Date: Mon Aug 5 13:22:02 2019 New Revision: 350587 URL: https://svnweb.freebsd.org/changeset/base/350587 Log: [PPC64] Fix rtld direct exec mode Instead of restoring the saved values of argc, argv and envp, these must be loaded from the stack that _rtld() modifies. Thi

svn commit: r350588 - in head/sys: netinet netinet6

2019-08-05 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 5 13:22:15 2019 New Revision: 350588 URL: https://svnweb.freebsd.org/changeset/base/350588 Log: Improve consistency. No functional change. MFC after:3 days Modified: head/sys/netinet/sctp_asconf.c head/sys/netinet/sctp_os_bsd.h head/sys/netin

svn commit: r350589 - head/tools/build/mk

2019-08-05 Thread Leandro Lupori
Author: luporl Date: Mon Aug 5 13:28:21 2019 New Revision: 350589 URL: https://svnweb.freebsd.org/changeset/base/350589 Log: [PPC64] Don't mark ld.bfd as obsolete PowerPC64 still needs ld.bfd for 32-bit binaries/libraries. This will be needed when ELFv2 becomes default, but there is n

svn commit: r350591 - in head: share/man/man4 sys/conf sys/dev/iicbus sys/modules/i2c sys/modules/i2c/ads111x

2019-08-05 Thread Ian Lepore
Author: ian Date: Mon Aug 5 15:56:44 2019 New Revision: 350591 URL: https://svnweb.freebsd.org/changeset/base/350591 Log: Add a driver for Texas Instruments ADS101x/ADS111x i2c ADC chips. Instances of the device can be configured using hints or FDT data. Interfaces to reconfigure the

svn commit: r350599 - in head: sbin/nvmecontrol sys/dev/nvme

2019-08-05 Thread Alexander Motin
Author: mav Date: Mon Aug 5 17:36:00 2019 New Revision: 350599 URL: https://svnweb.freebsd.org/changeset/base/350599 Log: Add `nvmecontrol resv` to handle NVMe reservations. NVMe reservations are quite alike to SCSI persistent reservations and can be used in clustered setups with shared

svn commit: r350607 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
Author: kib Date: Mon Aug 5 19:16:33 2019 New Revision: 350607 URL: https://svnweb.freebsd.org/changeset/base/350607 Log: Fix mis-merge Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c ==

Re: svn commit: r350607 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
On Mon, Aug 05, 2019 at 07:16:34PM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Aug 5 19:16:33 2019 > New Revision: 350607 > URL: https://svnweb.freebsd.org/changeset/base/350607 > > Log: > Fix mis-merge This should have been: Account for the stack limit when calculating effectiv

svn commit: r350608 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
Author: kib Date: Mon Aug 5 19:19:25 2019 New Revision: 350608 URL: https://svnweb.freebsd.org/changeset/base/350608 Log: Fix mis-merge. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c ===

svn commit: r350609 - head/sbin/nvmecontrol

2019-08-05 Thread Alexander Motin
Author: mav Date: Mon Aug 5 19:30:28 2019 New Revision: 350609 URL: https://svnweb.freebsd.org/changeset/base/350609 Log: Fix alignment issue r350599. MFC after:10 days Modified: head/sbin/nvmecontrol/resv.c Modified: head/sbin/nvmecontrol/resv.c ===

svn commit: r350610 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 19:59:23 2019 New Revision: 350610 URL: https://svnweb.freebsd.org/changeset/base/350610 Log: exit1: postpone clearing P_TRACED flag until the proctree lock is acquired In case of the process being debugged. The P_TRACED is cleared very early, which would

svn commit: r350611 - in head/sys: kern sys

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:11:57 2019 New Revision: 350611 URL: https://svnweb.freebsd.org/changeset/base/350611 Log: proc: introduce the proc_add_orphan function This API allows adding the process to its parent orphan list. Reviewed by: kib, markj MFC after:1 month Mo

svn commit: r350612 - in head: sys/kern tests/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:15:46 2019 New Revision: 350612 URL: https://svnweb.freebsd.org/changeset/base/350612 Log: procdesc: fix reparenting when the debugger is attached The process is reparented to the debugger while it is attached. B B / > | A

svn commit: r350614 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:20:14 2019 New Revision: 350614 URL: https://svnweb.freebsd.org/changeset/base/350614 Log: exit1: fix style nits MFC after:1 month Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r350616 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:26:01 2019 New Revision: 350616 URL: https://svnweb.freebsd.org/changeset/base/350616 Log: process: style We don't need to check if the parent is already set. This is done already in the proc_reparent. No functional behaviour changes intended.

svn commit: r350617 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:31:17 2019 New Revision: 350617 URL: https://svnweb.freebsd.org/changeset/base/350617 Log: procdesc: fix the function name I changed name of the function r350429 and forgot to update the r350612 patch. Reported by: jenkins MFC after:1 month

svn commit: r350618 - head/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 21:39:55 2019 New Revision: 350618 URL: https://svnweb.freebsd.org/changeset/base/350618 Log: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the length of the pr

svn commit: r350620 - head/contrib/netbsd-tests/lib/libpthread

2019-08-05 Thread Eric van Gyzen
Author: vangyzen Date: Mon Aug 5 22:59:35 2019 New Revision: 350620 URL: https://svnweb.freebsd.org/changeset/base/350620 Log: Relax time constraint in pthread_cond_timedwait unit test pthread_cond_timedwait() should wait _at least_ until the timeout, but it might appear to wait longer d

Re: svn commit: r349929 - head/sys/contrib/ipfilter/netinet

2019-08-05 Thread Gleb Smirnoff
Hi, On Fri, Jul 12, 2019 at 01:59:09AM +, Cy Schubert wrote: C> Log: C> Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c. C> The reason for this is that ipftest(8), which still works on FreeBSD-11, C> fails to link to it, breaking stable/11 builds. C> C> ipftest(

Re: svn commit: r349929 - head/sys/contrib/ipfilter/netinet

2019-08-05 Thread Cy Schubert
In message <20190806011317.gg1...@freebsd.org>, Gleb Smirnoff writes: > Hi, > > On Fri, Jul 12, 2019 at 01:59:09AM +, Cy Schubert wrote: > C> Log: > C> Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c. > C> The reason for this is that ipftest(8), which still works on Fre

svn commit: r350624 - in head/sys/dev: amdsmn amdtemp

2019-08-05 Thread Conrad Meyer
Author: cem Date: Tue Aug 6 03:54:27 2019 New Revision: 350624 URL: https://svnweb.freebsd.org/changeset/base/350624 Log: amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges PR: 239607 Reported by: "drclaw" Modified: head/sys/dev/amdsmn/amdsmn.c head/sys/dev/amdtemp/amd

svn commit: r350622 - head/sys/powerpc/booke

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:16:06 2019 New Revision: 350622 URL: https://svnweb.freebsd.org/changeset/base/350622 Log: powerpc/pmap: Simplify Book-E 64-bit page table management There is no need for the 64-bit pmap to have a fixed number of page table buffers. Since the 64-bit p

svn commit: r350623 - head/sys/powerpc/booke

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:49:40 2019 New Revision: 350623 URL: https://svnweb.freebsd.org/changeset/base/350623 Log: Fix build from r350622 It helps if my local kernel build has INVARIANTS. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ==