svn commit: r321649 - head/sys/net

2017-07-27 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 28 04:41:57 2017 New Revision: 321649 URL: https://svnweb.freebsd.org/changeset/base/321649 Log: Remove the unused mutex since r273220. MFC after:1 week Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/net/if_stf.c Modified:

svn commit: r321648 - stable/10/share/examples/tests/tests

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:33:09 2017 New Revision: 321648 URL: https://svnweb.freebsd.org/changeset/base/321648 Log: MFC r320441: share/examples/tests/Makefile: clean up example snippets/documentation - TESTSDIR doesn't need to be specified after r289158. - Including

svn commit: r321647 - in stable/11/share/examples/tests/tests: . atf plain

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:32:36 2017 New Revision: 321647 URL: https://svnweb.freebsd.org/changeset/base/321647 Log: MFC r320441,r320442: r320441: share/examples/tests/Makefile: clean up example snippets/documentation - TESTSDIR doesn't need to be specified after r289158.

svn commit: r321646 - in stable/10: etc/mtree share/examples/tests/tests share/examples/tests/tests/tap

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:30:46 2017 New Revision: 321646 URL: https://svnweb.freebsd.org/changeset/base/321646 Log: MFC r320443,r320444: r320443: Add kyua TAP test integration examples The examples are patterned loosely after the ATF examples, similar to the plain test

svn commit: r321645 - in stable/11: etc/mtree share/examples/tests/tests share/examples/tests/tests/tap

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:27:41 2017 New Revision: 321645 URL: https://svnweb.freebsd.org/changeset/base/321645 Log: MFC r320443,r320444: r320443: Add kyua TAP test integration examples The examples are patterned loosely after the ATF examples, similar to the plain test

svn commit: r321644 - stable/10/tests/sys/vfs

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:26:05 2017 New Revision: 321644 URL: https://svnweb.freebsd.org/changeset/base/321644 Log: MFC r320446: trailing_slash is a TAP-compliant testcase; mark it as such, instead of calling is a plain testcase. Modified: stable/10/tests/sys/vfs/Makefile

svn commit: r321643 - stable/11/tests/sys/vfs

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:25:58 2017 New Revision: 321643 URL: https://svnweb.freebsd.org/changeset/base/321643 Log: MFC r320446: trailing_slash is a TAP-compliant testcase; mark it as such, instead of calling is a plain testcase. Modified: stable/11/tests/sys/vfs/Makefile

svn commit: r321642 - stable/11/tests/sys/vfs

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:25:01 2017 New Revision: 321642 URL: https://svnweb.freebsd.org/changeset/base/321642 Log: MFC r320445: Don't hardcode path to file in /tmp; this violates the kyua sandbox Modified: stable/11/tests/sys/vfs/trailing_slash.sh Directory Properties:

svn commit: r321641 - stable/10/tests/sys/vfs

2017-07-27 Thread Ngie Cooper
Author: ngie Date: Fri Jul 28 03:24:57 2017 New Revision: 321641 URL: https://svnweb.freebsd.org/changeset/base/321641 Log: MFC r320445: Don't hardcode path to file in /tmp; this violates the kyua sandbox Modified: stable/10/tests/sys/vfs/trailing_slash.sh Directory Properties:

svn commit: r321640 - head/sys/dev/ksyms

2017-07-27 Thread Mark Johnston
Author: markj Date: Fri Jul 28 03:18:18 2017 New Revision: 321640 URL: https://svnweb.freebsd.org/changeset/base/321640 Log: Fix style bugs in ksyms.c. No functional change intended. MFC after:3 days Modified: head/sys/dev/ksyms/ksyms.c Modified: head/sys/dev/ksyms/ksyms.c

svn commit: r321639 - head/sys/dev/ksyms

2017-07-27 Thread Mark Johnston
Author: markj Date: Fri Jul 28 03:14:31 2017 New Revision: 321639 URL: https://svnweb.freebsd.org/changeset/base/321639 Log: Restrict permissions on /dev/ksyms to 0400. The ksyms(4) device was added specifically for use by lockstat(1), which as a DTrace consumer must run as root.

svn commit: r321638 - head/tools/tools/nanobsd

2017-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 28 02:00:03 2017 New Revision: 321638 URL: https://svnweb.freebsd.org/changeset/base/321638 Log: Allow _.disk.image to be specified. Submitted by: ask at develooper dot com (reworked to new structure) PR: 199191 Sponsored by: Netflix MFC After: 3 days

svn commit: r321637 - head/tools/tools/nanobsd

2017-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 28 01:59:58 2017 New Revision: 321637 URL: https://svnweb.freebsd.org/changeset/base/321637 Log: Ensure that ordinary files that happen to start with .git, .hg and .cvs into the image. This makes .gitignore files in the working tree appear in the final tree...

svn commit: r321636 - head/tools/tools/nanobsd

2017-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 28 01:59:53 2017 New Revision: 321636 URL: https://svnweb.freebsd.org/changeset/base/321636 Log: Properly expand shell glob characters in NANO_PACKAGE_LIST. The defualt NANO_PACKAGE_LIST is *, which fails to work properly. Expand glob characters and make sure

svn commit: r321635 - head/sys/mips/conf

2017-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 28 01:17:38 2017 New Revision: 321635 URL: https://svnweb.freebsd.org/changeset/base/321635 Log: [ar71xx] get rid of ath_pci - it's built as a module now. Modified: head/sys/mips/conf/TL-WDR4300 Modified: head/sys/mips/conf/TL-WDR4300

svn commit: r321634 - stable/10/sys/fs/nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 23:15:24 2017 New Revision: 321634 URL: https://svnweb.freebsd.org/changeset/base/321634 Log: MFC: r321314 r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum

svn commit: r321633 - in head/sys/arm: arm include

2017-07-27 Thread Zbigniew Bodek
Author: zbb Date: Thu Jul 27 23:14:17 2017 New Revision: 321633 URL: https://svnweb.freebsd.org/changeset/base/321633 Log: Fix TEX index acquisition using L2 attributes The TEX index is selected using (TEX0 C B) bits from the L2 descriptor. Use correct index by masking and shifting

svn commit: r321632 - stable/11/sys/fs/nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 23:09:12 2017 New Revision: 321632 URL: https://svnweb.freebsd.org/changeset/base/321632 Log: MFC: r321314 r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum

svn commit: r321631 - head/sys/dev/ixl

2017-07-27 Thread Sean Bruno
Author: sbruno Date: Thu Jul 27 23:01:07 2017 New Revision: 321631 URL: https://svnweb.freebsd.org/changeset/base/321631 Log: Drop IXL RX lock during TCP_LRO, fixes LOR mahem while holding the RX queue lock when the uppoer stack is called inside TCP_LRO Submitted by: Kevin Bowling

svn commit: r321630 - head/sys/net

2017-07-27 Thread Sean Bruno
Author: sbruno Date: Thu Jul 27 22:53:47 2017 New Revision: 321630 URL: https://svnweb.freebsd.org/changeset/base/321630 Log: Slight restructure of iflib_busdma_load_mbuf_sg() to fix accounting when m_collapse() fails. Submitted by: krzystof.gala...@intel.com Reviewed by: Jeb Cramer

svn commit: r321629 - in head/sys: dev/bnxt net

2017-07-27 Thread Sean Bruno
Author: sbruno Date: Thu Jul 27 21:21:43 2017 New Revision: 321629 URL: https://svnweb.freebsd.org/changeset/base/321629 Log: Deprecate unused int isc_max_txqsets and int isc_max_rxqsets as they were redundant and not being used to set anything up. Submitted by: Matt Macy

svn commit: r321628 - in head/sys/fs: nfs nfsclient

2017-07-27 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 27 20:55:31 2017 New Revision: 321628 URL: https://svnweb.freebsd.org/changeset/base/321628 Log: Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing. This patch defines a macro that checks for MNTK_UNMOUNTF and replaces explicit

svn commit: r321627 - head/sys/kern

2017-07-27 Thread Konstantin Belousov
Author: kib Date: Thu Jul 27 20:45:41 2017 New Revision: 321627 URL: https://svnweb.freebsd.org/changeset/base/321627 Log: Make it possible to request nosys logging to console. New kern.lognosys values are 1 - log to ctty 2 - log to console 3 - log to both. Inspired by: eugen

svn commit: r321626 - head/sys/arm/allwinner/clkng

2017-07-27 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 27 17:51:51 2017 New Revision: 321626 URL: https://svnweb.freebsd.org/changeset/base/321626 Log: Allwinner A64: fix typo 'pll_ddr0' is the dram parent, not 'pll_ddr' Modified: head/sys/arm/allwinner/clkng/ccu_a64.c Modified:

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

2017-07-27 Thread Konstantin Belousov
Author: kib Date: Thu Jul 27 16:40:14 2017 New Revision: 321625 URL: https://svnweb.freebsd.org/changeset/base/321625 Log: Make the number of children for pctrie node available outside subr_pctrie.c. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:1 week

Re: svn commit: r321594 - stable/11

2017-07-27 Thread John Baldwin
On Wednesday, July 26, 2017 11:18:14 PM Ed Maste wrote: > Author: emaste > Date: Wed Jul 26 23:18:14 2017 > New Revision: 321594 > URL: https://svnweb.freebsd.org/changeset/base/321594 > > Log: > MFC r312857: Use cross-NM (XNM) in compat32 build > > An attempt to build mips64 using

svn commit: r321624 - stable/11/release/doc/en_US.ISO8859-1/errata

2017-07-27 Thread Glen Barber
Author: gjb Date: Thu Jul 27 15:59:36 2017 New Revision: 321624 URL: https://svnweb.freebsd.org/changeset/base/321624 Log: Add an errata entry to reflect an incorrect attribution for r315330. Reported by: Jim Thompson Sponsored by: The FreeBSD Foundation Modified:

svn commit: r321623 - head/sys/dev/isp

2017-07-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jul 27 15:51:56 2017 New Revision: 321623 URL: https://svnweb.freebsd.org/changeset/base/321623 Log: Remove duplicate assignments from r321622. Submitted by: mav MFC after:3 days Sponsored by: Spectra Logic Modified: head/sys/dev/isp/isp.c Modified:

svn commit: r321622 - head/sys/dev/isp

2017-07-27 Thread Kenneth D. Merry
Author: ken Date: Thu Jul 27 15:33:57 2017 New Revision: 321622 URL: https://svnweb.freebsd.org/changeset/base/321622 Log: Fix probing FC targets with hard addressing turned on. This largely reverts FreeBSD SVN change 289937 from October 25th, 2015. The intent of that change was to

svn commit: r321621 - head/sys/boot/efi/libefi

2017-07-27 Thread Andrew Turner
Author: andrew Date: Thu Jul 27 15:06:34 2017 New Revision: 321621 URL: https://svnweb.freebsd.org/changeset/base/321621 Log: Always set the receive mask in loader.efi. Some UEFI implementations set this to be too restrictive. We need to have both broadcast and unicast enabled for loader to

svn commit: r321620 - head/usr.bin/w

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 14:34:57 2017 New Revision: 321620 URL: https://svnweb.freebsd.org/changeset/base/321620 Log: Fix singular/plural "users" output. It was broken during libxo'fication. PR: 221039 Submitted by: timur@ MFC after:1 week Modified:

svn commit: r321619 - head/release/arm

2017-07-27 Thread Glen Barber
Author: gjb Date: Thu Jul 27 13:37:21 2017 New Revision: 321619 URL: https://svnweb.freebsd.org/changeset/base/321619 Log: Bump the image size for BANANAPI and CUBIEBOARD2 to 1.5G, as 1G is no longer large enough. Reported by: manu Sponsored by: The FreeBSD Foundation Modified:

svn commit: r321618 - in head: sys/conf sys/net sys/netinet sys/netinet6 usr.bin/netstat

2017-07-27 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jul 27 13:03:36 2017 New Revision: 321618 URL: https://svnweb.freebsd.org/changeset/base/321618 Log: After inpcb route caching was put back in place there is no need for flowtable anymore (as flowtable was never considered to be useful in the forwarding path).

svn commit: r321617 - stable/11/usr.sbin/acpi/acpidump

2017-07-27 Thread Ed Maste
Author: emaste Date: Thu Jul 27 12:37:18 2017 New Revision: 321617 URL: https://svnweb.freebsd.org/changeset/base/321617 Log: revert r321601, it depends on an ACPICA update not yet merged Modified: stable/11/usr.sbin/acpi/acpidump/acpi.c Directory Properties: stable/11/ (props changed)

svn commit: r321616 - head

2017-07-27 Thread Ed Maste
Author: emaste Date: Thu Jul 27 12:29:31 2017 New Revision: 321616 URL: https://svnweb.freebsd.org/changeset/base/321616 Log: genericize target exclusion for missing external toolchain Previously we excluded riscv from make universe / tinderbox if the required xtoolchain package was not

svn commit: r321615 - stable/11/usr.sbin/fstyp

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:52:36 2017 New Revision: 321615 URL: https://svnweb.freebsd.org/changeset/base/321615 Log: MFC r320152 (by avg): fstyp: move sys/ include path after zfs include paths The reason is that FreeBSD refcount.h shadows ZFS refcount.h and that will lead to a

svn commit: r321614 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:30:55 2017 New Revision: 321614 URL: https://svnweb.freebsd.org/changeset/base/321614 Log: MFC r320352: zfs: port vdev_file part of illumos change 3306 3306 zdb should be able to issue reads in parallel

svn commit: r321613 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:29:29 2017 New Revision: 321613 URL: https://svnweb.freebsd.org/changeset/base/321613 Log: MFC r320239: MFV r319950: 5220 L2ARC does not support devices that do not provide 512B access FreeBSD note: the actual change has been in FreeBSD since r297848.

svn commit: r321612 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:28:07 2017 New Revision: 321612 URL: https://svnweb.freebsd.org/changeset/base/321612 Log: MFC r320238: MFV r319742: 8056 zfs send size estimate is inaccurate for some zvols illumos/illumos-gate@0255edcc85fc0cd1dda0e49bcd52eb66c06a1b16

svn commit: r321611 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:26:58 2017 New Revision: 321611 URL: https://svnweb.freebsd.org/changeset/base/321611 Log: MFC r320237: MFV r318947: 7578 Fix/improve some aspects of ZIL writing. FreeBSD note: this commit removes small differences between what mav committed to FreeBSD in

svn commit: r321610 - in stable/11: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/c...

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:25:18 2017 New Revision: 321610 URL: https://svnweb.freebsd.org/changeset/base/321610 Log: MFC r320156, r320185, r320186, r320262, r320452, r32: MFV r318946: 8021 ARC buf data scatter-ization

svn commit: r321609 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 10:19:13 2017 New Revision: 321609 URL: https://svnweb.freebsd.org/changeset/base/321609 Log: MFC r320153: revert r315852 which introduced zio_buf_alloc_nowait for use in vdev_queue_aggregate I think that the change is still good, but reconciling it with a

svn commit: r321608 - head/lib/libc/x86/sys

2017-07-27 Thread Konstantin Belousov
Author: kib Date: Thu Jul 27 08:37:07 2017 New Revision: 321608 URL: https://svnweb.freebsd.org/changeset/base/321608 Log: Use MFENCE to serialize RDTSC on non-Intel CPUs. Kernel already used the stronger barrier instruction for AMDs, correct the userspace fast gettimeofday()

svn commit: r321607 - head/libexec/rtld-elf

2017-07-27 Thread Konstantin Belousov
Author: kib Date: Thu Jul 27 08:33:31 2017 New Revision: 321607 URL: https://svnweb.freebsd.org/changeset/base/321607 Log: Allow to specify targets by absolute paths in libmap.conf. Submitted by: Tatu Kilappa PR: 221032 MFC after:2 weeks Modified:

svn commit: r321606 - head/sys/cam/ata

2017-07-27 Thread Alexander Motin
Author: mav Date: Thu Jul 27 07:28:29 2017 New Revision: 321606 URL: https://svnweb.freebsd.org/changeset/base/321606 Log: adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE The attached patch lets adaasync() set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE instead of

svn commit: r321605 - head/contrib/ipfilter

2017-07-27 Thread Cy Schubert
Author: cy Date: Thu Jul 27 06:26:15 2017 New Revision: 321605 URL: https://svnweb.freebsd.org/changeset/base/321605 Log: As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024. PR: 217920 Submitted by: codar...@hackers.mu Reviewed by: emaste, cem Approved by: