svn commit: r353336 - head/sys/netinet6

2019-10-08 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 05:52:07 2019 New Revision: 353336 URL: https://svnweb.freebsd.org/changeset/base/353336 Log: Revert changes to rip6_bind() from r353292. This function is always called in syscall context, so it must enter epoch itself. This changeset originates from early

svn commit: r353335 - head/usr.sbin/bsdinstall/scripts

2019-10-08 Thread Yuri Pankov
Author: yuripv Date: Wed Oct 9 05:28:10 2019 New Revision: 353335 URL: https://svnweb.freebsd.org/changeset/base/353335 Log: bsdinstall: fix ESP detection for auto ZFS layout Pass the list of user selected disks from zfsboot to bootconfig so that the latter doesn't rely on ESP

svn commit: r353334 - head/lib/libthr/arch/riscv/include

2019-10-08 Thread Mitchell Horne
Author: mhorne Date: Wed Oct 9 02:02:22 2019 New Revision: 353334 URL: https://svnweb.freebsd.org/changeset/base/353334 Log: RISC-V: Fix an alignment warning in libthr Compiling with clang gives a loss-of-alignment error due the cast to uint8_t *. Since the TLS is always tcb aligned and

svn commit: r353333 - head/tests/sys/kern

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 23:52:04 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Fix a bug in r353332 that snuck in with a last-minute adjustment. Reported by: Jenkins MFC with: r353332 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r353332 - head/tests/sys/kern

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 23:35:23 2019 New Revision: 353332 URL: https://svnweb.freebsd.org/changeset/base/353332 Log: Add a regression test for r353331. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/unix_passfd_test.c Modified:

svn commit: r353331 - head/sys/kern

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 23:34:48 2019 New Revision: 353331 URL: https://svnweb.freebsd.org/changeset/base/353331 Log: Fix handling of empty SCM_RIGHTS messages. As unp_internalize() processes the input control messages, it builds an output mbuf chain containing the internalized

svn commit: r353330 - head/sys/dev/cxgbe/tom

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 21:40:42 2019 New Revision: 353330 URL: https://svnweb.freebsd.org/changeset/base/353330 Log: Add support for KTLS in the Chelsio TOE module. This adds a TOE hook to allocate a KTLS session. It also recognizes TLS mbufs in the socket buffer and sends those

svn commit: r353329 - head/lib/msun/src

2019-10-08 Thread Brooks Davis
Author: brooks Date: Tue Oct 8 21:39:51 2019 New Revision: 353329 URL: https://svnweb.freebsd.org/changeset/base/353329 Log: msun: Silence new harmless -Wimplicit-int-float-conversion warnings Clang from trunk recently added a warning for when implicit int-to-float conversions cause a

svn commit: r353328 - in head/sys: kern netinet sys

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 21:34:06 2019 New Revision: 353328 URL: https://svnweb.freebsd.org/changeset/base/353328 Log: Add a TOE KTLS mode and a TOE hook for allocating TLS sessions. This adds the glue to allocate TLS sessions and invokes it from the TLS enable socket option handler.

svn commit: r353326 - in head: contrib/sendmail/mail.local lib/libc/tests/nss usr.bin/tip/tip usr.sbin/fwcontrol

2019-10-08 Thread Brooks Davis
Author: brooks Date: Tue Oct 8 21:14:09 2019 New Revision: 353326 URL: https://svnweb.freebsd.org/changeset/base/353326 Log: Fix various -Wpointer-compare warnings This warning (comparing a pointer against a zero character literal rather than NULL) has existed since GCC 7.1.0, and was

svn commit: r353327 - in head/sys: amd64/include x86/include

2019-10-08 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 8 21:14:11 2019 New Revision: 353327 URL: https://svnweb.freebsd.org/changeset/base/353327 Log: amd64: plug spurious cld instructions ABI already guarantees the direction is forward. Note this does not take care of i386-specific cld's. Reviewed by: kib

svn commit: r353325 - in head/contrib/tcsh: . nls nls/C nls/et nls/finnish nls/french nls/german nls/greek nls/italian nls/ja nls/russian nls/spanish nls/ukrainian

2019-10-08 Thread Brooks Davis
Author: brooks Date: Tue Oct 8 20:59:31 2019 New Revision: 353325 URL: https://svnweb.freebsd.org/changeset/base/353325 Log: Update tcsh to 6.21.00. This is a bugfix release with no new features. A number of these fixes were previously merged into our tree. Sponsored by: DARPA,

svn commit: r353324 - head

2019-10-08 Thread Brooks Davis
Author: brooks Date: Tue Oct 8 20:26:51 2019 New Revision: 353324 URL: https://svnweb.freebsd.org/changeset/base/353324 Log: Allow -DNO_CLEAN build across r352689. Split the LIBCOMPAT case because the usual egrep only matches in LIBCOMPAT on amd64. Modified: head/Makefile.inc1

svn commit: r353323 - head/sys/dev/cxgbe/crypto

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 20:22:05 2019 New Revision: 353323 URL: https://svnweb.freebsd.org/changeset/base/353323 Log: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is not clear

svn commit: r353321 - head/sys/dev/mlx5/mlx5_en

2019-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 8 19:49:25 2019 New Revision: 353321 URL: https://svnweb.freebsd.org/changeset/base/353321 Log: Fix regression issue after r352989: As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the RQ's and SQ's.

svn commit: r353320 - head/usr.sbin/pkg

2019-10-08 Thread Glen Barber
Author: gjb Date: Tue Oct 8 18:58:23 2019 New Revision: 353320 URL: https://svnweb.freebsd.org/changeset/base/353320 Log: Rework the logic for installing the pkg(8) configuration. 'quarterly' package sets do not exist for head, so explicitly install the 'latest' configuration file

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Glen Barber
On Tue, Oct 08, 2019 at 07:19:03PM +0200, Emmanuel Vadot wrote: > On Tue, 8 Oct 2019 15:52:52 + > Glen Barber wrote: > > > On Tue, Oct 08, 2019 at 09:18:40AM -0600, Warner Losh wrote: > > > On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot > > > wrote: > > > > Anyway it's still need to be

svn commit: r353314 - head/sys/net

2019-10-08 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 8 17:55:45 2019 New Revision: 353314 URL: https://svnweb.freebsd.org/changeset/base/353314 Log: Remove epoch assertion from if_setlladdr(). Originally this function was protected by IF_ADDR_LOCK(), which was a mutex, so that two simultaneous if_setlladdr()

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
On Tue, 8 Oct 2019 15:52:52 + Glen Barber wrote: > On Tue, Oct 08, 2019 at 09:18:40AM -0600, Warner Losh wrote: > > On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot wrote: > > > Anyway it's still need to be reverted as all arches should use latest > > > on CURRENT. > > > > > > > Agreed.

svn commit: r353313 - head/sys/netinet

2019-10-08 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 8 16:59:17 2019 New Revision: 353313 URL: https://svnweb.freebsd.org/changeset/base/353313 Log: Quickly plug another regression from r353292. Again, multicast locking needs lots of work... Reported by: pho Modified: head/sys/netinet/in_mcast.c

svn commit: r353312 - head/sys/net

2019-10-08 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 8 16:45:56 2019 New Revision: 353312 URL: https://svnweb.freebsd.org/changeset/base/353312 Log: In DIAGNOSTIC block of if_delmulti_ifma_flags() enter the network epoch. This quickly plugs the regression from r353292. The locking of multicast definitely needs a

svn commit: r353311 - head/sys/amd64/amd64

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 16:42:50 2019 New Revision: 353311 URL: https://svnweb.freebsd.org/changeset/base/353311 Log: Simplify pmap_page_array_startup() a bit. No functional change intended. Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/pmap.c

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Glen Barber
On Tue, Oct 08, 2019 at 09:18:40AM -0600, Warner Losh wrote: > On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot wrote: > > Anyway it's still need to be reverted as all arches should use latest > > on CURRENT. > > > > Agreed. -current is moving too quickly to use the quarterly, and this 100% >

svn commit: r353310 - head/tests/sys/cddl/zfs/tests/zfsd

2019-10-08 Thread Alan Somers
Author: asomers Date: Tue Oct 8 15:48:28 2019 New Revision: 353310 URL: https://svnweb.freebsd.org/changeset/base/353310 Log: zfs: fix the zfsd_hotspare_007_pos test It was trying to destroy the pool while zfsd was detaching the spare, and "zpool destroy" failed. Fix by waiting until

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Glen Barber
On Tue, Oct 08, 2019 at 08:22:33AM -0600, Ian Lepore wrote: > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > Hi Glen, > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > Glen Barber wrote: > > > > > Author: gjb > > > Date: Thu Sep 19 16:43:12 2019 > > > New Revision: 352520 > >

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Glen Barber
On Tue, Oct 08, 2019 at 12:26:52PM +0200, Emmanuel Vadot wrote: > > Hi Glen, > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > Glen Barber wrote: > > > Author: gjb > > Date: Thu Sep 19 16:43:12 2019 > > New Revision: 352520 > > URL: https://svnweb.freebsd.org/changeset/base/352520 > > > > Log:

svn commit: r353309 - head/tests/sys/cddl/zfs/tests/zfsd

2019-10-08 Thread Alan Somers
Author: asomers Date: Tue Oct 8 15:33:11 2019 New Revision: 353309 URL: https://svnweb.freebsd.org/changeset/base/353309 Log: zfs: fix the zfsd_autoreplace_003_pos test The test declared that it only needed 5 disks, but actually tried to use 6. Fix it to use just 5, which is all it

Re: svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoi

2019-10-08 Thread Gleb Smirnoff
On Tue, Oct 08, 2019 at 08:56:34AM +0200, Peter Holm wrote: P> On Mon, Oct 07, 2019 at 10:40:06PM +, Gleb Smirnoff wrote: P> > Author: glebius P> > Date: Mon Oct 7 22:40:05 2019 P> > New Revision: 353292 P> > URL: https://svnweb.freebsd.org/changeset/base/353292 P> > P> > Log: P> > Widen

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Warner Losh
On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot wrote: > On Tue, 08 Oct 2019 08:22:33 -0600 > Ian Lepore wrote: > > > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > > Hi Glen, > > > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > > Glen Barber wrote: > > > > > > > Author: gjb >

Re: svn commit: r353296 - head/sys/powerpc/include

2019-10-08 Thread Konstantin Belousov
On Tue, Oct 08, 2019 at 09:14:14AM -0500, Justin Hibbits wrote: > On Tue, 8 Oct 2019 11:16:04 +0300 > Konstantin Belousov wrote: > > > On Tue, Oct 08, 2019 at 01:36:34AM +, Justin Hibbits wrote: > > > Author: jhibbits > > > Date: Tue Oct 8 01:36:34 2019 > > > New Revision: 353296 > > > URL:

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Warner Losh
On Tue, Oct 8, 2019 at 8:22 AM Ian Lepore wrote: > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > Hi Glen, > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > Glen Barber wrote: > > > > > Author: gjb > > > Date: Thu Sep 19 16:43:12 2019 > > > New Revision: 352520 > > > URL:

Re: svn commit: r353305 - head/tests/sys/kern

2019-10-08 Thread Konstantin Belousov
On Tue, Oct 08, 2019 at 01:43:05PM +, Eric van Gyzen wrote: > Author: vangyzen > Date: Tue Oct 8 13:43:05 2019 > New Revision: 353305 > URL: https://svnweb.freebsd.org/changeset/base/353305 > > Log: > Fix problems in the kern_maxfiles__increase test > > ATF functions such as

svn commit: r353308 - head/sys/riscv/riscv

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 15:03:48 2019 New Revision: 353308 URL: https://svnweb.freebsd.org/changeset/base/353308 Log: Avoid erroneously clearing PGA_WRITEABLE in riscv's pmap_enter(). During a CoW fault, we must check for both 4KB and 2MB mappings before clearing PGA_WRITEABLE on

svn commit: r353307 - head/sys/amd64/amd64

2019-10-08 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 8 14:59:50 2019 New Revision: 353307 URL: https://svnweb.freebsd.org/changeset/base/353307 Log: amd64 pmap: allocate pv table entries for gaps in PA This matches the state prior to r353149 and fixes crashes with DRM modules. Reported and tested by:

svn commit: r353306 - head/sys/riscv/riscv

2019-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 14:54:35 2019 New Revision: 353306 URL: https://svnweb.freebsd.org/changeset/base/353306 Log: Clear PGA_WRITEABLE in riscv's pmap_remove_l3(). pmap_remove_l3() may remove the last mapping of a page, in which case it must clear PGA_WRITEABLE. Reported

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-08 Thread Cy Schubert
Agreed. Yes, this fixes it. Thank you for all your work and persistence. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message , Mateusz Guzik writes: > It's definitely drm, I noted it does not like the

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
On Tue, 08 Oct 2019 08:22:33 -0600 Ian Lepore wrote: > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > Hi Glen, > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > Glen Barber wrote: > > > > > Author: gjb > > > Date: Thu Sep 19 16:43:12 2019 > > > New Revision: 352520 > > >

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Ian Lepore
On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > Hi Glen, > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > Glen Barber wrote: > > > Author: gjb > > Date: Thu Sep 19 16:43:12 2019 > > New Revision: 352520 > > URL: https://svnweb.freebsd.org/changeset/base/352520 > > > > Log: > >

Re: svn commit: r353296 - head/sys/powerpc/include

2019-10-08 Thread Justin Hibbits
On Tue, 8 Oct 2019 11:16:04 +0300 Konstantin Belousov wrote: > On Tue, Oct 08, 2019 at 01:36:34AM +, Justin Hibbits wrote: > > Author: jhibbits > > Date: Tue Oct 8 01:36:34 2019 > > New Revision: 353296 > > URL: https://svnweb.freebsd.org/changeset/base/353296 > > > > Log: > > powerpc:

svn commit: r353305 - head/tests/sys/kern

2019-10-08 Thread Eric van Gyzen
Author: vangyzen Date: Tue Oct 8 13:43:05 2019 New Revision: 353305 URL: https://svnweb.freebsd.org/changeset/base/353305 Log: Fix problems in the kern_maxfiles__increase test ATF functions such as ATF_REQUIRE do not work correctly in child processes. Use plain C functions to report

Re: svn commit: r353274 - in head/sys: net sys

2019-10-08 Thread Bjoern A. Zeeb
On 8 Oct 2019, at 12:50, Hans Petter Selasky wrote: On 2019-10-08 14:48, Bjoern A. Zeeb wrote: On 7 Oct 2019, at 14:15, Hans Petter Selasky wrote: Author: hselasky Date: Mon Oct  7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log:   Factor out

Re: svn commit: r353302 - head/sys/net

2019-10-08 Thread Bjoern A. Zeeb
On 8 Oct 2019, at 11:06, Hans Petter Selasky wrote: Author: hselasky Date: Tue Oct 8 11:06:24 2019 New Revision: 353302 URL: https://svnweb.freebsd.org/changeset/base/353302 Log: Fix regression issue after r353274: Make sure the vnet_shutdown field is not set until after all

Re: svn commit: r353149 - head/sys/amd64/amd64

2019-10-08 Thread Mateusz Guzik
It's definitely drm, I noted it does not like the sparse array. This one should do thet trick then: https://people.freebsd.org/~mjg/pmap-nosparse.diff On 10/8/19, Cy Schubert wrote: > Still no joy. > > I still think drm-current-kmod is involved because these are produced just > prior to the

Re: svn commit: r353274 - in head/sys: net sys

2019-10-08 Thread Hans Petter Selasky
On 2019-10-08 14:48, Bjoern A. Zeeb wrote: On 7 Oct 2019, at 14:15, Hans Petter Selasky wrote: Author: hselasky Date: Mon Oct  7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log:   Factor out VNET shutdown check into an own vnet structure field.  

Re: svn commit: r353274 - in head/sys: net sys

2019-10-08 Thread Bjoern A. Zeeb
On 7 Oct 2019, at 14:15, Hans Petter Selasky wrote: Author: hselasky Date: Mon Oct 7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log: Factor out VNET shutdown check into an own vnet structure field. Remove the now obsolete vnet_state field.

svn commit: r353304 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-10-08 Thread Andriy Gapon
Author: avg Date: Tue Oct 8 11:27:48 2019 New Revision: 353304 URL: https://svnweb.freebsd.org/changeset/base/353304 Log: zfs: use atomic_load_64 to read atomic variable in dmu_object_alloc_impl As long as we support ZFS on 32-bit platforms we should do this for all 64-bit variables

svn commit: r353303 - head/sys/netinet

2019-10-08 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 8 11:07:16 2019 New Revision: 353303 URL: https://svnweb.freebsd.org/changeset/base/353303 Log: Validate length before use it, not vice versa. r353060 should have contained this... This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18070 MFC

svn commit: r353302 - head/sys/net

2019-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 8 11:06:24 2019 New Revision: 353302 URL: https://svnweb.freebsd.org/changeset/base/353302 Log: Fix regression issue after r353274: Make sure the vnet_shutdown field is not set until after all VNET_SYSUNINIT()'s in the SI_SUB_VNET_DONE subsystem have been

svn commit: r353301 - head/sys/i386/include

2019-10-08 Thread Andriy Gapon
Author: avg Date: Tue Oct 8 10:50:16 2019 New Revision: 353301 URL: https://svnweb.freebsd.org/changeset/base/353301 Log: i386: hide more of atomic 64-bit definitions under _KERNEL At the moment i386 does not provide 64-bit atomic operations in userland. Exposing some atomic_*_64

Re: svn commit: r353283 - in head: lib lib/libstats share/man/man3 share/mk sys/amd64/conf sys/conf sys/kern sys/sys tools/build/options

2019-10-08 Thread Edward Napierala
On Mon, 7 Oct 2019 at 22:39, John Baldwin wrote: > > On 10/7/19 12:05 PM, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Mon Oct 7 19:05:05 2019 > > New Revision: 353283 > > URL: https://svnweb.freebsd.org/changeset/base/353283 > > > > Log: > > Introduce stats(3), a flexible

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
Hi Glen, On Thu, 19 Sep 2019 16:43:12 + (UTC) Glen Barber wrote: > Author: gjb > Date: Thu Sep 19 16:43:12 2019 > New Revision: 352520 > URL: https://svnweb.freebsd.org/changeset/base/352520 > > Log: > Apply r346792 (cperciva) from stable/12 to head. The original commit > message:

Re: svn commit: r353296 - head/sys/powerpc/include

2019-10-08 Thread Konstantin Belousov
On Tue, Oct 08, 2019 at 01:36:34AM +, Justin Hibbits wrote: > Author: jhibbits > Date: Tue Oct 8 01:36:34 2019 > New Revision: 353296 > URL: https://svnweb.freebsd.org/changeset/base/353296 > > Log: > powerpc: Implement atomic_(f)cmpset_ for short and char > | > This adds two

svn commit: r353298 - in head/sys: compat/linprocfs dev/hwpmc fs/procfs fs/tmpfs kern security/mac vm

2019-10-08 Thread Doug Moore
Author: dougm Date: Tue Oct 8 07:14:21 2019 New Revision: 353298 URL: https://svnweb.freebsd.org/changeset/base/353298 Log: Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. In case the implementation ever changes from using a chain of next pointers, then changing

Re: svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoi

2019-10-08 Thread Peter Holm
On Mon, Oct 07, 2019 at 10:40:06PM +, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Oct 7 22:40:05 2019 > New Revision: 353292 > URL: https://svnweb.freebsd.org/changeset/base/353292 > > Log: > Widen NET_EPOCH coverage. > This seems to trigger this: Autoloading module: uhid.ko