svn commit: r310891 - head/sys/net80211

2016-12-30 Thread Adrian Chadd
Author: adrian Date: Sat Dec 31 07:50:14 2016 New Revision: 310891 URL: https://svnweb.freebsd.org/changeset/base/310891 Log: [net80211] add placeholders for the VHT action frame handling. Upcoming vht support will register send/receive action handlers. Modified:

svn commit: r310890 - head/usr.sbin/syslogd

2016-12-30 Thread Hiroki Sato
Author: hrs Date: Sat Dec 31 06:23:05 2016 New Revision: 310890 URL: https://svnweb.freebsd.org/changeset/base/310890 Log: Replace two fat signal handlers with function calls in the main I/O multiplex loop. select() now watches a pipe which is written by the new skinny signal handlers

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

2016-12-30 Thread Jung-uk Kim
Author: jkim Date: Sat Dec 31 06:07:48 2016 New Revision: 310889 URL: https://svnweb.freebsd.org/changeset/base/310889 Log: Do not remove llvm-objdump. It is installed by default since r310840. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

svn commit: r310887 - head/sys/dev/rccgpio

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:23:15 2016 New Revision: 310887 URL: https://svnweb.freebsd.org/changeset/base/310887 Log: Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. Pointy hat to:loos MFC after:3 days Modified: head/sys/dev/rccgpio/rccgpio.c

svn commit: r310886 - head/sys/arm/ti/am335x

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:18:08 2016 New Revision: 310886 URL: https://svnweb.freebsd.org/changeset/base/310886 Log: Fixes the sensor initialization, always reset the digital outputs to start. Obtained from:pfSense MFC after:3 days Sponsored by: Rubicon

Re: svn commit: r310729 - head/contrib/bsnmp/lib

2016-12-30 Thread Ngie Cooper (yaneurabeya)
> On Dec 28, 2016, at 16:20, Ngie Cooper wrote: > > Author: ngie > Date: Thu Dec 29 00:20:03 2016 > New Revision: 310729 > URL: https://svnweb.freebsd.org/changeset/base/310729 > > Log: > Prevent improper memory accesses after calling snmp_pdu_free and > snmp_value_free >

svn commit: r310874 - head/usr.bin/sdiff

2016-12-30 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 30 23:46:11 2016 New Revision: 310874 URL: https://svnweb.freebsd.org/changeset/base/310874 Log: Remove extra entries from the option enum MFC after:3 days Modified: head/usr.bin/sdiff/sdiff.c Modified: head/usr.bin/sdiff/sdiff.c

svn commit: r310873 - head/contrib/bsnmp/snmp_mibII

2016-12-30 Thread Ngie Cooper
Author: ngie Date: Fri Dec 30 23:44:39 2016 New Revision: 310873 URL: https://svnweb.freebsd.org/changeset/base/310873 Log: Guard against use-after-free after calling mibif_free(..) Set variables to NULL after calling free. Also, remove unnecessary if (x != NULL) checks before calling

svn commit: r310872 - head/usr.bin/sdiff

2016-12-30 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 30 23:41:33 2016 New Revision: 310872 URL: https://svnweb.freebsd.org/changeset/base/310872 Log: Make sdiff --left-column work as expected MFC after:3 days Modified: head/usr.bin/sdiff/sdiff.c Modified: head/usr.bin/sdiff/sdiff.c

svn commit: r310870 - head/contrib/libarchive/libarchive

2016-12-30 Thread Martin Matuska
Author: mm Date: Fri Dec 30 23:05:06 2016 New Revision: 310870 URL: https://svnweb.freebsd.org/changeset/base/310870 Log: MFV r310869: Sync libarchive with vendor. Vendor bugfixes: Use __LA_DEPRECATED macro with functions deprecated in 379867e (r310796) MFC after:2 weeks

svn commit: r310868 - in head/contrib/libarchive: cpio libarchive libarchive/test

2016-12-30 Thread Martin Matuska
Author: mm Date: Fri Dec 30 22:54:08 2016 New Revision: 310868 URL: https://svnweb.freebsd.org/changeset/base/310868 Log: MFV r310798: Sync libarchive with vendor. Vendor bugfixes (relevant to FreeBSD): PR #843: Fix memory leak of struct archive_entry in cpio/cpio.c PR #851:

svn commit: r310867 - in head/sys: dev/rtwn dev/rtwn/rtl8812a dev/rtwn/rtl8821a dev/rtwn/rtl8821a/usb modules/rtwn_usb

2016-12-30 Thread Andriy Voskoboinyk
Author: avos Date: Fri Dec 30 22:24:01 2016 New Revision: 310867 URL: https://svnweb.freebsd.org/changeset/base/310867 Log: rtwn: add (untested) radar detection support for RTL8821AU (disabled by default). To enable it, dev.rtwn.%d.radar_detection tunable need to be set to a nonzero

svn commit: r310866 - in head: . contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test lib/libarchive/tests

2016-12-30 Thread Martin Matuska
Dec 30 22:18:22 2016(r310866) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20161230: libarchive ACL pax test renamed to test_acl_pax_posix1e.tar.uu +OLD_FILES+=usr/tests/lib/libarchive/test_acl_pax.tar.uu # 20161217: new clang import which bumps version from 3.9.0

Re: svn commit: r310864 - head/sys/netinet

2016-12-30 Thread Ngie Cooper (yaneurabeya)
> On Dec 30, 2016, at 13:53, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Dec 30, 2016, at 13:33, Ngie Cooper wrote: >> >> Author: ngie >> Date: Fri Dec 30 21:33:01 2016 >> New Revision: 310864 >> URL:

Re: svn commit: r310864 - head/sys/netinet

2016-12-30 Thread Ngie Cooper (yaneurabeya)
> On Dec 30, 2016, at 13:33, Ngie Cooper wrote: > > Author: ngie > Date: Fri Dec 30 21:33:01 2016 > New Revision: 310864 > URL: https://svnweb.freebsd.org/changeset/base/310864 > > Log: > Unbreak ip_carp with WITHOUT_INET6 enabled by conditionalizing all IPv6 > structs

svn commit: r310865 - head/contrib/bsnmp/snmp_mibII

2016-12-30 Thread Ngie Cooper
Author: ngie Date: Fri Dec 30 21:41:01 2016 New Revision: 310865 URL: https://svnweb.freebsd.org/changeset/base/310865 Log: Fix whitespace in a comment and fixing a spelling error in a comment MFC after:3 days Modified: head/contrib/bsnmp/snmp_mibII/mibII.c Modified:

svn commit: r310864 - head/sys/netinet

2016-12-30 Thread Ngie Cooper
Author: ngie Date: Fri Dec 30 21:33:01 2016 New Revision: 310864 URL: https://svnweb.freebsd.org/changeset/base/310864 Log: Unbreak ip_carp with WITHOUT_INET6 enabled by conditionalizing all IPv6 structs under the INET6 #ifdef. Similarly (even though it doesn't seem to affect the build),

svn commit: r310863 - head/usr.bin/indent

2016-12-30 Thread Piotr Pawel Stefaniak
Author: pstef Date: Fri Dec 30 21:00:45 2016 New Revision: 310863 URL: https://svnweb.freebsd.org/changeset/base/310863 Log: indent(1): Avoid out of bounds access of array ps.paren_indents ps.p_l_follow can't be allowed to grow beyond maximum index of paren_indents. Approved by: pfg

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-30 Thread Ravi Pokala
-Original Message- > From: on behalf of Ed Maste > > Date: 2016-12-30, Friday at 07:39 > To: Ravi Pokala > Cc: Alexander Kabaev , "src-committ...@freebsd.org" > ,

svn commit: r310854 - head/sys/boot/fdt/dts/arm

2016-12-30 Thread Jared McNeill
Author: jmcneill Date: Fri Dec 30 20:16:09 2016 New Revision: 310854 URL: https://svnweb.freebsd.org/changeset/base/310854 Log: Add missing reg property to usbphy node. MFC after:1 week Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi

svn commit: r310853 - head/lib/libstand

2016-12-30 Thread Toomas Soome
Author: tsoome Date: Fri Dec 30 20:00:41 2016 New Revision: 310853 URL: https://svnweb.freebsd.org/changeset/base/310853 Log: loader: nandfs calls strategy with one extra argument. The strategy argument cleanup in r310850 did miss another call to strategy(), and left it with extra

svn commit: r310850 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/mips/beri/loader sys/boot/ofw/libofw sys/boot/pc98/libpc98 s...

2016-12-30 Thread Toomas Soome
Author: tsoome Date: Fri Dec 30 19:06:29 2016 New Revision: 310850 URL: https://svnweb.freebsd.org/changeset/base/310850 Log: dosfs support in libstand is broken since r298230 Apparently the libstand dosfs optimization is a bit too optimistic and did introduce possible memory corruption.

svn commit: r310847 - head/sys/netinet

2016-12-30 Thread Josh Paetzel
Author: jpaetzel Date: Fri Dec 30 18:46:21 2016 New Revision: 310847 URL: https://svnweb.freebsd.org/changeset/base/310847 Log: Harden CARP against network loops. If there is a loop in the network a CARP that is in MASTER state will see it's own broadcasts, which will then cause it to

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-30 Thread John Baldwin
On Thursday, December 29, 2016 09:30:52 PM Alexander Kabaev wrote: > Author: kan > Date: Thu Dec 29 21:30:52 2016 > New Revision: 310789 > URL: https://svnweb.freebsd.org/changeset/base/310789 > > Log: > Use compiler driver to build relocatable object > > This works better with external

svn commit: r310846 - in head/sys/contrib/ck: . include include/gcc include/gcc/aarch64 include/gcc/arm include/gcc/ppc64 include/gcc/x86_64 src

2016-12-30 Thread Olivier Houchard
Author: cognet Date: Fri Dec 30 18:23:58 2016 New Revision: 310846 URL: https://svnweb.freebsd.org/changeset/base/310846 Log: Merge CK as of commit 255a47553aa5e8d0bb5f8eec63acac7f4c25a6d8, mostly to make sure we don't use any FP instruction. Added:

svn commit: r310845 - head/sys/boot/i386/common

2016-12-30 Thread Toomas Soome
Author: tsoome Date: Fri Dec 30 18:21:52 2016 New Revision: 310845 URL: https://svnweb.freebsd.org/changeset/base/310845 Log: boot2 will deadlock if extended keys are used on text input The boot2 family of bootblocks (zfsboot/gptzfsboot) are using separate implementation if keyboard

svn commit: r310840 - in head: lib/clang/libllvm usr.bin/clang

2016-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 18:00:31 2016 New Revision: 310840 URL: https://svnweb.freebsd.org/changeset/base/310840 Log: Reapply 310775, now it also builds correctly if lldb is disabled: Move llvm-objdump from CLANG_EXTRAS to installed by default We currently install three tools

svn commit: r310834 - head/sys/vm

2016-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 17:37:06 2016 New Revision: 310834 URL: https://svnweb.freebsd.org/changeset/base/310834 Log: Assert that the pages found on the object queue by vm_page_next() and vm_page_prev() have correct ownership. In collaboration with:alc Sponsored by: The

svn commit: r310829 - head/sys/conf

2016-12-30 Thread Alexander Kabaev
Author: kan Date: Fri Dec 30 17:12:41 2016 New Revision: 310829 URL: https://svnweb.freebsd.org/changeset/base/310829 Log: Restore status quo: mips64 does not need subr_sfbuf.c Reported by: br Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips

svn commit: r310828 - head/sys/dev/xdma

2016-12-30 Thread Ruslan Bukin
Author: br Date: Fri Dec 30 16:26:54 2016 New Revision: 310828 URL: https://svnweb.freebsd.org/changeset/base/310828 Log: Add parenthesis. Noticed by: hps Sponsored by: DARPA, AFRL Modified: head/sys/dev/xdma/xdma.c Modified: head/sys/dev/xdma/xdma.c

svn commit: r310824 - head/sys/dev/xdma

2016-12-30 Thread Ruslan Bukin
Author: br Date: Fri Dec 30 16:06:05 2016 New Revision: 310824 URL: https://svnweb.freebsd.org/changeset/base/310824 Log: o Fix unlocking. o Fix types for ds_addr/ds_len. Sponsored by: DARPA, AFRL Modified: head/sys/dev/xdma/xdma.c head/sys/dev/xdma/xdma.h Modified:

svn commit: r310823 - head/lib/libfetch

2016-12-30 Thread Dag-Erling Smørgrav
Author: des Date: Fri Dec 30 14:54:54 2016 New Revision: 310823 URL: https://svnweb.freebsd.org/changeset/base/310823 Log: Fix inverted loop condition which broke multi-line responses to CONNECT. PR: 194483 Submitted by: Miłosz Kaniewski MFC

svn commit: r310822 - head/sys/dev/netmap

2016-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 14:47:46 2016 New Revision: 310822 URL: https://svnweb.freebsd.org/changeset/base/310822 Log: [netmap] fix locking regressions * Firmware oriented NICs may need to sleep in their configuration paths. Use RLOCK instead of WLOCK to allow this to again

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-30 Thread Ed Maste
On 29 December 2016 at 19:59, Ravi Pokala wrote: > > I'm a little confused - the original version had to have had a compile-only > step to generate the object first, before running the link-only operation > against the object. The new code replaces the link-only operation with

svn commit: r310821 - head/sys/vm

2016-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 13:04:43 2016 New Revision: 310821 URL: https://svnweb.freebsd.org/changeset/base/310821 Log: Style. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/vm/vm_map.c Modified: head/sys/vm/vm_map.c

svn commit: r310820 - head/sys/dev/sfxge

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:23:02 2016 New Revision: 310820 URL: https://svnweb.freebsd.org/changeset/base/310820 Log: sfxge(4): move queue size checks to after the NIC config has been populated Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare

svn commit: r310819 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:19:40 2016 New Revision: 310819 URL: https://svnweb.freebsd.org/changeset/base/310819 Log: sfxge(4): cleanup: add efsys_lock_state_t for type of state param in EFSYS_LOCK() This allows the common code to use the correct type for the lock state local

svn commit: r310818 - head/sys/dev/sfxge

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:10:15 2016 New Revision: 310818 URL: https://svnweb.freebsd.org/changeset/base/310818 Log: sfxge(4): support per-command MCDI timeout Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified:

svn commit: r310817 - in head/sys: conf dev/sfxge/common modules/sfxge

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:06:55 2016 New Revision: 310817 URL: https://svnweb.freebsd.org/changeset/base/310817 Log: sfxge(4): remove obsolete Wake-On-LAN support Wake-on-lan is not supported in production on any of our adapters, as they don't have the required AUX power

svn commit: r310816 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:02:16 2016 New Revision: 310816 URL: https://svnweb.freebsd.org/changeset/base/310816 Log: sfxge(4): fix efx_filter_supported_filters API The previous API had various problems, including the length of the caller provided buffer not being specified, no

svn commit: r310815 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 12:00:17 2016 New Revision: 310815 URL: https://svnweb.freebsd.org/changeset/base/310815 Log: sfxge(4): add functions to efx_bootcfg supporting whole partition access Expose expcfg partition layout discovery and validating buffer copy routines. Needed

svn commit: r310814 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 11:58:23 2016 New Revision: 310814 URL: https://svnweb.freebsd.org/changeset/base/310814 Log: sfxge(4): make verified update result available from ef10_nvram_partn_unlock() Manftest needs to know exactly what went wrong with the verified update so that

svn commit: r310813 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 11:56:12 2016 New Revision: 310813 URL: https://svnweb.freebsd.org/changeset/base/310813 Log: sfxge(4): add per-command timeout reporting to the common code In newer firmware that supports multithreaded MCDI processing, longer running commands may be run

svn commit: r310812 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 11:54:27 2016 New Revision: 310812 URL: https://svnweb.freebsd.org/changeset/base/310812 Log: sfxge(4): support non-interrupting event queues creation Poll-mode driver does not use interrupts and number of used event queues should not be limitted by the

svn commit: r310811 - head/sys/dev/sfxge/common

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 11:52:55 2016 New Revision: 310811 URL: https://svnweb.freebsd.org/changeset/base/310811 Log: sfxge(4): cleanup: remove now-unused function flags Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. MFC

svn commit: r310810 - head/sys/dev/sfxge

2016-12-30 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 30 11:49:37 2016 New Revision: 310810 URL: https://svnweb.freebsd.org/changeset/base/310810 Log: sfxge(4): cleanup: check deferred packet list tunables once Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days

svn commit: r310809 - head/sys/dev/usb/wlan

2016-12-30 Thread Gavin Atkinson
Author: gavin Date: Fri Dec 30 11:02:16 2016 New Revision: 310809 URL: https://svnweb.freebsd.org/changeset/base/310809 Log: Fix bit value for a debug flag definition. Pointy hat to:gavin Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c

svn commit: r310807 - in head: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common

2016-12-30 Thread Navdeep Parhar
Author: np Date: Fri Dec 30 08:59:49 2016 New Revision: 310807 URL: https://svnweb.freebsd.org/changeset/base/310807 Log: cxgbe(4): Updates to link configuration. - Update struct link_settings and associated shared code. - Add tunables to control FEC and autonegotiation. All ports

svn commit: r310806 - head/sys/dev/pci

2016-12-30 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 30 08:37:30 2016 New Revision: 310806 URL: https://svnweb.freebsd.org/changeset/base/310806 Log: Add MSIX rewrite table quirk for use with VMs. This patch solves IRQ generation problems using the mlx5en(4) driver with xenserver v6.5.0 in SRIOV and