svn commit: r302170 - in stable/10/sys: conf dev/hyperv/vmbus dev/hyperv/vmbus/amd64 dev/hyperv/vmbus/i386 modules/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jun 24 02:30:14 2016 New Revision: 302170 URL: https://svnweb.freebsd.org/changeset/base/302170 Log: MFC 301483,301484,301487,301488,301583,301588 301483 hyperv: Move machine dependent bits into machine dependent files. MFC after: 1 week

svn commit: r302169 - stable/9/lib/libc/regex

2016-06-23 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 24 02:28:24 2016 New Revision: 302169 URL: https://svnweb.freebsd.org/changeset/base/302169 Log: MFC r300683: libc: regexec(3) adjustment. Change the behavior of when REG_STARTEND is combined with REG_NOTBOL. From the original posting[1]: "Enable the

svn commit: r302168 - stable/10/lib/libc/regex

2016-06-23 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 24 02:24:34 2016 New Revision: 302168 URL: https://svnweb.freebsd.org/changeset/base/302168 Log: MFC r300683: libc: regexec(3) adjustment. Change the behavior of when REG_STARTEND is combined with REG_NOTBOL. From the original posting[1]: "Enable the

svn commit: r302167 - in stable/10/sys: conf dev/hyperv/vmbus dev/hyperv/vmbus/amd64 dev/hyperv/vmbus/i386 modules/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jun 24 02:06:13 2016 New Revision: 302167 URL: https://svnweb.freebsd.org/changeset/base/302167 Log: MFC 301113 hyperv: Rename some cleaned up/almost cleaned up files MFC after: 1 week Sponsored by: Microsoft OSTC Added:

svn commit: r302166 - in stable/10/sys/dev/hyperv: include utilities vmbus vmbus/i386

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jun 24 01:49:59 2016 New Revision: 302166 URL: https://svnweb.freebsd.org/changeset/base/302166 Log: MFC 301017,301018,301019,301020,301021,301022,301106 301017 hyperv/vmbus: Indentation cleanup No functional changes. MFC after: 1 week

svn commit: r302165 - in stable/10/sys: amd64/include dev/hyperv/vmbus dev/hyperv/vmbus/amd64 dev/hyperv/vmbus/i386 i386/include

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jun 24 01:20:33 2016 New Revision: 302165 URL: https://svnweb.freebsd.org/changeset/base/302165 Log: MFC 301015 hyperv/vmbus: Rename ISR functions MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r302164 - head/sys/conf

2016-06-23 Thread Glen Barber
Author: gjb Date: Fri Jun 24 00:05:45 2016 New Revision: 302164 URL: https://svnweb.freebsd.org/changeset/base/302164 Log: Update head to ALPHA5 in preparation of new snapshot builds. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/newvers.sh

svn commit: r302163 - in head/sys: cam conf

2016-06-23 Thread Warner Losh
Author: imp Date: Thu Jun 23 23:20:58 2016 New Revision: 302163 URL: https://svnweb.freebsd.org/changeset/base/302163 Log: Rename CAM_NETFLIX_IOSCHED to CAM_IOSCHED_DYNAMIC to better reflect its nature. Approved by: re Reviewed By: jhb Differential Revision:

Re: svn commit: r302162 - head/usr.sbin/gstat

2016-06-23 Thread Alan Somers
On Thu, Jun 23, 2016 at 5:13 PM, Alan Somers wrote: > Author: asomers > Date: Thu Jun 23 23:13:14 2016 > New Revision: 302162 > URL: https://svnweb.freebsd.org/changeset/base/302162 > > Log: > Fix gstat's interactive f and q commands > > curses and libedit don't play well

svn commit: r302162 - head/usr.sbin/gstat

2016-06-23 Thread Alan Somers
Author: asomers Date: Thu Jun 23 23:13:14 2016 New Revision: 302162 URL: https://svnweb.freebsd.org/changeset/base/302162 Log: Fix gstat's interactive f and q commands curses and libedit don't play well together. After last year's libedit upgrade in head, they play even less well

svn commit: r302159 - head/sys/netpfil/pf

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 22:31:10 2016 New Revision: 302159 URL: https://svnweb.freebsd.org/changeset/base/302159 Log: Make sure pflog is attached after pf is initializaed so we can borrow pf's lock, and also make sure pflog goes after pf is gone in order to avoid callouts in VNETs to an

svn commit: r302160 - head/sys/netpfil/pf

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 22:31:44 2016 New Revision: 302160 URL: https://svnweb.freebsd.org/changeset/base/302160 Log: Proerply virtualize pfsync for bringup after pf is initialized and teardown of VNETs once pf(4) has been shut down. Properly split resources into VNET_SYS(UN)INITs and

svn commit: r302157 - head/sys/netpfil/pf

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 21:42:43 2016 New Revision: 302157 URL: https://svnweb.freebsd.org/changeset/base/302157 Log: PFSTATE_NOSYNC goes onto state_flags, not sync_state; this prevents: panic: pfsync_delete_state: unexpected sync state 8 Reviewed by: kp Approved by:

svn commit: r302156 - in head/sys: net netpfil/pf

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 21:34:38 2016 New Revision: 302156 URL: https://svnweb.freebsd.org/changeset/base/302156 Log: Update pf(4) and pflog(4) to survive basic VNET testing, which includes proper virtualisation, teardown, avoiding use-after-free, race conditions, no longer creating a

Re: svn commit: r302092 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-06-23 Thread Jilles Tjoelker
On Wed, Jun 22, 2016 at 09:11:27PM +, Brooks Davis wrote: > Author: brooks > Date: Wed Jun 22 21:11:27 2016 > New Revision: 302092 > URL: https://svnweb.freebsd.org/changeset/base/302092 > Log: > Replace use of the pipe(2) system call with pipe2(2) with a zero flags > value. > This

svn commit: r302155 - head/sys/netinet

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 21:32:52 2016 New Revision: 302155 URL: https://svnweb.freebsd.org/changeset/base/302155 Log: Try to avoid a 2nd conditional by re-writing the loop, pause, and escape clause another time. Submitted by: jhb Approved by: re (gjb) MFC after:12 days

svn commit: r302154 - head

2016-06-23 Thread Brooks Davis
Author: brooks Date: Thu Jun 23 21:09:07 2016 New Revision: 302154 URL: https://svnweb.freebsd.org/changeset/base/302154 Log: Fix two typos in r302152. Approved by: re (implicit) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r302153 - in head/sys: net netinet sys

2016-06-23 Thread Navdeep Parhar
Author: np Date: Thu Jun 23 21:07:15 2016 New Revision: 302153 URL: https://svnweb.freebsd.org/changeset/base/302153 Log: Add spares to struct ifnet and socket for packet pacing and/or general use. Update comments regarding the spare fields in struct inpcb. Bump __FreeBSD_version for

Re: svn commit: r302152 - head

2016-06-23 Thread Shawn Webb
Hey Brooks, > On Jun 23, 2016, at 5:02 PM, Brooks Davis wrote: > > Author: brooks > Date: Thu Jun 23 21:02:05 2016 > New Revision: 302152 > URL: https://svnweb.freebsd.org/changeset/base/302152 > > Log: > Add an UPDATING entry for the pipe() -> pipe2() transition. > >

svn commit: r302152 - head

2016-06-23 Thread Brooks Davis
Author: brooks Date: Thu Jun 23 21:02:05 2016 New Revision: 302152 URL: https://svnweb.freebsd.org/changeset/base/302152 Log: Add an UPDATING entry for the pipe() -> pipe2() transition. Approved by: re (gjb) Sponsored by: DARPA, AFRL Modified: head/UPDATING Modified: head/UPDATING

svn commit: r302151 - head/sys/kern

2016-06-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Jun 23 20:59:13 2016 New Revision: 302151 URL: https://svnweb.freebsd.org/changeset/base/302151 Log: posixshm: Fix lock leak when mac_posixshm_check_read rejects read. While reading the code, I noticed that shm_read() returns without unlocking foffset and

svn commit: r302150 - in head/sys: geom sys

2016-06-23 Thread Kenneth D. Merry
Author: ken Date: Thu Jun 23 20:05:59 2016 New Revision: 302150 URL: https://svnweb.freebsd.org/changeset/base/302150 Log: Switch geom_disk over to using a pool mutex. The GEOM disk d_mtx is only acquired on disk creation and destruction. It is a good candidate for replacement with a

svn commit: r302149 - head/etc/defaults

2016-06-23 Thread Kurt Lidl
Author: lidl Date: Thu Jun 23 19:37:00 2016 New Revision: 302149 URL: https://svnweb.freebsd.org/changeset/base/302149 Log: Add support for a /etc/defaults/vendor.conf override file Reviewed by: stas, imp Approved by: re (gjb) Differential Revision:

svn commit: r302148 - head/sys/netinet

2016-06-23 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 23 19:27:29 2016 New Revision: 302148 URL: https://svnweb.freebsd.org/changeset/base/302148 Log: Fix a bug in the handling of non-blocking SCTP 1-to-1 sockets. When using this code in the userland stack, it could result in a loop. This happened on iOS. However,

svn commit: r302147 - head/sys/x86/acpica

2016-06-23 Thread Mark Johnston
Author: markj Date: Thu Jun 23 19:24:38 2016 New Revision: 302147 URL: https://svnweb.freebsd.org/changeset/base/302147 Log: Use M_NOWAIT when allocating memory for the ACPI wakeup handler. If the allocation attempt fails, we may otherwise VM_WAIT after a failed attempt to reclaim

svn commit: r302146 - head/tools/tools/makeroot

2016-06-23 Thread Ed Maste
Author: emaste Date: Thu Jun 23 19:19:44 2016 New Revision: 302146 URL: https://svnweb.freebsd.org/changeset/base/302146 Log: makeroot: zero out subsecond component of time= keywords They are currently not supported by makefs(1). PR: 194703 Reviewed by: brooks Approved

svn commit: r302145 - head/usr.sbin/bsdinstall/partedit

2016-06-23 Thread Ed Maste
Author: emaste Date: Thu Jun 23 18:04:48 2016 New Revision: 302145 URL: https://svnweb.freebsd.org/changeset/base/302145 Log: bsdinstall: increase EFI partition size to 200MB A larger EFI file system size will facilitate multi-boot configurations and the installation other EFI

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

2016-06-23 Thread John Baldwin
On Thursday, June 23, 2016 10:17:57 AM Marko Zec wrote: > On Thu, 23 Jun 2016 00:34:03 + > "Bjoern A. Zeeb" wrote: > > > Author: bz > > Date: Thu Jun 23 00:34:03 2016 > > New Revision: 302099 > > URL: https://svnweb.freebsd.org/changeset/base/302099 > > > > Log: > >

Re: svn commit: r302094 - in head/sys: compat/freebsd32 kern

2016-06-23 Thread John Baldwin
On Thursday, June 23, 2016 12:39:48 AM Brooks Davis wrote: > On Wed, Jun 22, 2016 at 05:09:34PM -0700, John Baldwin wrote: > > On Wednesday, June 22, 2016 09:15:59 PM Brooks Davis wrote: > > > Author: brooks > > > Date: Wed Jun 22 21:15:59 2016 > > > New Revision: 302094 > > > URL:

Re: svn commit: r302081 - head/sys/netinet6

2016-06-23 Thread hiren panchasara
On 06/23/16 at 11:48P, Andrey V. Elsukov wrote: > On 22.06.16 18:46, hiren panchasara wrote: > >> Fix the NULL pointer dereference for unresolved link layer entries in > >> the netinet6 code. Copy link layer address only when corresponding entry > >> has LLE_VALID flag. > >> > >> PR:

svn commit: r302141 - in head/cddl/lib: libavl libctf libnvpair libumem libuutil

2016-06-23 Thread Alan Somers
Author: asomers Date: Thu Jun 23 15:02:57 2016 New Revision: 302141 URL: https://svnweb.freebsd.org/changeset/base/302141 Log: Raise the WARNS level in cddl/lib cddl/lib/libavl/Makefile cddl/lib/libctf/Makefile cddl/lib/libnvpair/Makefile cddl/lib/libumem/Makefile

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

2016-06-23 Thread Bjoern A. Zeeb
On 23 Jun 2016, at 8:17, Marko Zec wrote: > On Thu, 23 Jun 2016 00:34:03 + > "Bjoern A. Zeeb" wrote: > >> Author: bz >> Date: Thu Jun 23 00:34:03 2016 >> New Revision: 302099 >> URL: https://svnweb.freebsd.org/changeset/base/302099 >> >> Log: >> Check the

svn commit: r302140 - head/sys/netinet

2016-06-23 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 23 11:55:15 2016 New Revision: 302140 URL: https://svnweb.freebsd.org/changeset/base/302140 Log: In VNET TCP teardown Do not sleep unconditionally but only if we have any TCP connections left. Submitted by: zec Approved by: re (hrs) MFC

svn commit: r302139 - head/sys/dev/mlx5/mlx5_core

2016-06-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 23 09:23:37 2016 New Revision: 302139 URL: https://svnweb.freebsd.org/changeset/base/302139 Log: Use correct Q-counter output array. Sponsored by: Mellanox Technologies Approved by: re (kib) MFC after:3 days Modified:

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

2016-06-23 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 23 09:13:15 2016 New Revision: 302138 URL: https://svnweb.freebsd.org/changeset/base/302138 Log: Don't consider the socket when processing an incoming ICMP/ICMP6 packet, which was triggered by an SCTP packet. Whether a socket exists, is just not relevant.

svn commit: r302137 - stable/10/usr.sbin/cpucontrol

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 09:06:11 2016 New Revision: 302137 URL: https://svnweb.freebsd.org/changeset/base/302137 Log: MFC r301963: Return usual error indicator to shell. Modified: stable/10/usr.sbin/cpucontrol/cpucontrol.c Directory Properties: stable/10/ (props changed)

svn commit: r302136 - stable/10/sys/dev/cpuctl

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 09:04:50 2016 New Revision: 302136 URL: https://svnweb.freebsd.org/changeset/base/302136 Log: MFC r301962: Always allow loading of cpuctl(4). Modified: stable/10/sys/dev/cpuctl/cpuctl.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r302135 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 09:03:52 2016 New Revision: 302135 URL: https://svnweb.freebsd.org/changeset/base/302135 Log: MFC 300987,300988,300989,300992,300993,300994,301009 300987 hyperv/et: Fix STIMER0 operations. - Make sure that STIMER0 is disabled before writting to

svn commit: r302134 - stable/10/sys/kern

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 09:02:50 2016 New Revision: 302134 URL: https://svnweb.freebsd.org/changeset/base/302134 Log: MFC r301960: Remove XXX comments from kern_thread.c. Modified: stable/10/sys/kern/kern_thread.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r302133 - stable/10/sys/kern

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 09:00:58 2016 New Revision: 302133 URL: https://svnweb.freebsd.org/changeset/base/302133 Log: MFC r301959: Remove code duplication. Modified: stable/10/sys/kern/kern_thread.c Directory Properties: stable/10/ (props changed) Modified:

Re: svn commit: r302081 - head/sys/netinet6

2016-06-23 Thread Andrey V. Elsukov
On 22.06.16 18:46, hiren panchasara wrote: >> Fix the NULL pointer dereference for unresolved link layer entries in >> the netinet6 code. Copy link layer address only when corresponding entry >> has LLE_VALID flag. >> >> PR:210379 >> Approved by: re (kib) >> >>

svn commit: r302132 - stable/10/sys/netinet

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 08:38:01 2016 New Revision: 302132 URL: https://svnweb.freebsd.org/changeset/base/302132 Log: MFC 300981 tcp: Don't prematurely drop receiving-only connections If the connection was persistent and receiving-only, several (12) sporadic

svn commit: r302130 - head/sys/vm

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 08:27:38 2016 New Revision: 302130 URL: https://svnweb.freebsd.org/changeset/base/302130 Log: Add a comment noting locking regime for vm_page_xunbusy(). Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:2 weeks Approved by: re (gjb)

svn commit: r302131 - head/sys/vm

2016-06-23 Thread Konstantin Belousov
Author: kib Date: Thu Jun 23 08:28:13 2016 New Revision: 302131 URL: https://svnweb.freebsd.org/changeset/base/302131 Log: In vm_page_xunbusy_maybelocked(), add fast path for unbusy when no waiters exist, same as for vm_page_xunbusy(). If previous value of busy_lock was

svn commit: r302129 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 08:26:07 2016 New Revision: 302129 URL: https://svnweb.freebsd.org/changeset/base/302129 Log: MFC 300825,300827,300830,300831,300832,300834 300825 hyperv: Move CPUID related bits to hyperv_reg.h and give them clean name MFC after: 1 week

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

2016-06-23 Thread Marko Zec
On Thu, 23 Jun 2016 00:34:03 + "Bjoern A. Zeeb" wrote: > Author: bz > Date: Thu Jun 23 00:34:03 2016 > New Revision: 302099 > URL: https://svnweb.freebsd.org/changeset/base/302099 > > Log: > Check the V_tcbinfo.ipi_count to hit 0 before doing the full TCP > cleanup. That

svn commit: r302128 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 08:09:44 2016 New Revision: 302128 URL: https://svnweb.freebsd.org/changeset/base/302128 Log: MFC 300654,300655,300708 300654 hyperv/vmbus: Rework SynIC setup and teardown - Avoid bit fields. - Fix SINT setup (preserve required bits).

svn commit: r302127 - in stable/10/sys/dev/hyperv: include vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 07:53:58 2016 New Revision: 302127 URL: https://svnweb.freebsd.org/changeset/base/302127 Log: MFC 300647,300650,300651,300652,300653 300647 hyperv/vmbus: Move vcpuid into vmbus softc per-cpu data MFC after: 1 week Sponsored by:

svn commit: r302126 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 07:36:03 2016 New Revision: 302126 URL: https://svnweb.freebsd.org/changeset/base/302126 Log: MFC 300646 hyperv/vmbus: Move event/message taskqueue/task to vmbus softc MFC after: 1 week Sponsored by: Microsoft OSTC Differential

svn commit: r302125 - head/lib/libusb

2016-06-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 23 07:12:22 2016 New Revision: 302125 URL: https://svnweb.freebsd.org/changeset/base/302125 Log: Add support for USB streams to the LibUSB v1.0 API and update the libusb(3) manual page. Approved by: re (gjb) Requested by: swills MFC after:1 week

svn commit: r302124 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 07:09:44 2016 New Revision: 302124 URL: https://svnweb.freebsd.org/changeset/base/302124 Log: MFC 300645 hyperv/vmbus: Allocate/setup IDT vector after all ISR resources are ready And release IDT vector before releasing ISR resources on interrupt

Re: svn commit: r302092 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-06-23 Thread Ivan Klymenko
On Thu, 23 Jun 2016 09:32:24 +0300 Ivan Klymenko wrote: > On Wed, 22 Jun 2016 21:11:27 + (UTC) > Brooks Davis wrote: > > > Author: brooks > > Date: Wed Jun 22 21:11:27 2016 > > New Revision: 302092 > > URL: https://svnweb.freebsd.org/changeset/base/302092

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

2016-06-23 Thread Andriy Gapon
Author: avg Date: Thu Jun 23 07:01:54 2016 New Revision: 302123 URL: https://svnweb.freebsd.org/changeset/base/302123 Log: fix deadlock-prone code in getzfsvfs() getzfsvfs() called vfs_busy() in the waiting mode while having a hold on a pool (via a call to dmu_objset_hold). In other

Re: svn commit: r302092 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-06-23 Thread Ivan Klymenko
On Wed, 22 Jun 2016 21:11:27 + (UTC) Brooks Davis wrote: > Author: brooks > Date: Wed Jun 22 21:11:27 2016 > New Revision: 302092 > URL: https://svnweb.freebsd.org/changeset/base/302092 > > Log: > Replace use of the pipe(2) system call with pipe2(2) with a zero > flags

svn commit: r302122 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 06:27:41 2016 New Revision: 302122 URL: https://svnweb.freebsd.org/changeset/base/302122 Log: MFC 300576,300644 300576 hyperv/vmbus: Free message taskqueue during interrupt teardown MFC after: 1 week Sponsored by: Microsoft OSTC

svn commit: r302120 - stable/10/sys/dev/hyperv/vmbus

2016-06-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jun 23 06:18:32 2016 New Revision: 302120 URL: https://svnweb.freebsd.org/changeset/base/302120 Log: MFC 300574 hyperv/vmbus: Factor out functions for vmbus interrupt set/teardown This paves way for further cleanup and fix. MFC after: 1 week