svn commit: r295690 - in stable/10: . tools/build/mk usr.sbin/unbound/control

2016-02-17 Thread Dag-Erling Smørgrav
Author: des Date: Wed Feb 17 11:36:45 2016 New Revision: 295690 URL: https://svnweb.freebsd.org/changeset/base/295690 Log: MFH (r295533): remove broken unbound-control-setup script Approved by: re (glebius) Relnotes: yes Modified: stable/10/ObsoleteFiles.inc

svn commit: r295691 - in stable/10: contrib/unbound contrib/unbound/doc contrib/unbound/services contrib/unbound/util contrib/unbound/validator lib/libunbound usr.sbin/unbound/local-setup

2016-02-17 Thread Dag-Erling Smørgrav
Author: des Date: Wed Feb 17 11:38:43 2016 New Revision: 295691 URL: https://svnweb.freebsd.org/changeset/base/295691 Log: MFH (r295535): use insecure-lan-zones option instead of hardcoded list Approved by: re (glebius) Relnotes: yes Added: stable/10/contrib/unbound/util/as112.c

svn commit: r295692 - stable/10/lib/libfetch

2016-02-17 Thread Dag-Erling Smørgrav
Author: des Date: Wed Feb 17 11:40:03 2016 New Revision: 295692 URL: https://svnweb.freebsd.org/changeset/base/295692 Log: MFH (r295536): fix double-free error when SSL connection fails PR: 206774 Submitted by: Christian Heckendorf Approved by: re

svn commit: r295693 - head/sys/arm/arm

2016-02-17 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 17 12:30:59 2016 New Revision: 295693 URL: https://svnweb.freebsd.org/changeset/base/295693 Log: Evaluate also VM_PROT_EXECUTE protection in pmap_preboot_map_attr(). Before this change all mappings done by this function were executable as pte entries have NOT

svn commit: r295694 - in head/sys: arm/arm arm/at91 arm/cavium/cns11xx arm/freescale/imx arm/include arm/mv arm/mv/orion arm/versatile arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa arm64/include

2016-02-17 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 17 12:36:24 2016 New Revision: 295694 URL: https://svnweb.freebsd.org/changeset/base/295694 Log: Remove pd_prot and pd_cache members from struct arm_devmap_entry. The struct is used for definition of static device mappings which should always have same protection

svn commit: r295695 - head/sys/arm/include

2016-02-17 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 17 12:57:05 2016 New Revision: 295695 URL: https://svnweb.freebsd.org/changeset/base/295695 Log: Include pte-v6.h only where needed. Modified: head/sys/arm/include/pmap-v6.h head/sys/arm/include/pmap_var.h head/sys/arm/include/vm.h Modified:

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

2016-02-17 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 17 13:29:17 2016 New Revision: 295696 URL: https://svnweb.freebsd.org/changeset/base/295696 Log: Remove unneeded vector_page_setprot() for __ARM_ARCH >= 6. A vector page is always mapped in KVA space and so it's always writeable. Modified: head/sys/arm/arm/fiq.c

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

2016-02-17 Thread Ruslan Bukin
Author: br Date: Wed Feb 17 13:43:43 2016 New Revision: 295697 URL: https://svnweb.freebsd.org/changeset/base/295697 Log: Use callee-saved registers to pass args through fork_trampoline(). Modified: head/sys/riscv/riscv/swtch.S head/sys/riscv/riscv/vm_machdep.c Modified:

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

2016-02-17 Thread Ruslan Bukin
Author: br Date: Wed Feb 17 13:49:38 2016 New Revision: 295698 URL: https://svnweb.freebsd.org/changeset/base/295698 Log: Add the implementation of savectx(). Modified: head/sys/riscv/riscv/swtch.S Modified: head/sys/riscv/riscv/swtch.S

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

2016-02-17 Thread Ruslan Bukin
Author: br Date: Wed Feb 17 14:13:25 2016 New Revision: 295699 URL: https://svnweb.freebsd.org/changeset/base/295699 Log: There is no need to pre save tp in cpu_fork(). Discussed with: jhb Modified: head/sys/riscv/riscv/vm_machdep.c Modified: head/sys/riscv/riscv/vm_machdep.c

svn commit: r295700 - head/sys/riscv/include

2016-02-17 Thread Ruslan Bukin
Author: br Date: Wed Feb 17 14:24:25 2016 New Revision: 295700 URL: https://svnweb.freebsd.org/changeset/base/295700 Log: Use better form representing 32 x 128-bit floating-point registers. Suggested by: kib Modified: head/sys/riscv/include/ucontext.h Modified:

svn commit: r295701 - head/sys/riscv/include

2016-02-17 Thread Ruslan Bukin
Author: br Date: Wed Feb 17 14:32:03 2016 New Revision: 295701 URL: https://svnweb.freebsd.org/changeset/base/295701 Log: Add the implementation of atomic_swap_32(). Modified: head/sys/riscv/include/atomic.h Modified: head/sys/riscv/include/atomic.h

svn commit: r295702 - head/gnu/usr.bin/rcs/doc

2016-02-17 Thread Ed Maste
Author: emaste Date: Wed Feb 17 14:34:01 2016 New Revision: 295702 URL: https://svnweb.freebsd.org/changeset/base/295702 Log: Hardcode date in RCS paper for reproducibility The 1995/06/01 date is taken from the $Id$ entry in rcs.ms from RCS 5.7, the last version we imported, and is more

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

2016-02-17 Thread Svatopluk Kraus
Author: skra Date: Wed Feb 17 14:39:29 2016 New Revision: 295703 URL: https://svnweb.freebsd.org/changeset/base/295703 Log: Do not use PMAP_DOMAIN_KERNEL definition for __ARM_ARCH >= 6 as domains are not utilized there. Only domain #0 is used and there is no reference to it in the whole

svn commit: r295704 - stable/10/sys/dev/nvme

2016-02-17 Thread Jim Harris
Author: jimharris Date: Wed Feb 17 15:36:02 2016 New Revision: 295704 URL: https://svnweb.freebsd.org/changeset/base/295704 Log: MFC r295532: nvme: avoid duplicate SET_NUM_QUEUES commands nvme(4) issues a SET_NUM_QUEUES command during device initialization to ensure enough I/O

svn commit: r295705 - in stable/10: share/man/man4 sys/dev/nvd

2016-02-17 Thread Jim Harris
Author: jimharris Date: Wed Feb 17 15:38:05 2016 New Revision: 295705 URL: https://svnweb.freebsd.org/changeset/base/295705 Log: MFC r295022: nvd: add hw.nvd.delete_max tunable The NVMe specification does not define a maximum or optimal delete size, so technically max delete

svn commit: r295707 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs dev/mmc dev/virtio/block geom geom/journal geom/mirror geom/raid geom/raid3 kern

2016-02-17 Thread Warner Losh
Author: imp Date: Wed Feb 17 17:16:02 2016 New Revision: 295707 URL: https://svnweb.freebsd.org/changeset/base/295707 Log: Create an API to reset a struct bio (g_reset_bio). This is mandatory for all struct bio you get back from g_{new,alloc}_bio. Temporary bios that you create on the stack

svn commit: r295708 - head/sys/netinet

2016-02-17 Thread Michael Tuexen
Author: tuexen Date: Wed Feb 17 17:52:46 2016 New Revision: 295708 URL: https://svnweb.freebsd.org/changeset/base/295708 Log: Address a warning reported by D5245 / PVS. MFC after:3 days Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c

svn commit: r295709 - head/sys/netinet

2016-02-17 Thread Michael Tuexen
Author: tuexen Date: Wed Feb 17 18:04:22 2016 New Revision: 295709 URL: https://svnweb.freebsd.org/changeset/base/295709 Log: Code cleanup which will silence a warning in PVS / D5245. Modified: head/sys/netinet/sctp_timer.c head/sys/netinet/sctp_timer.h Modified:

svn commit: r295710 - head/sys/netinet

2016-02-17 Thread Michael Tuexen
Author: tuexen Date: Wed Feb 17 18:12:38 2016 New Revision: 295710 URL: https://svnweb.freebsd.org/changeset/base/295710 Log: Add protection code for issues reported by PVS / D5245. MFC after:3 days Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c

svn commit: r295711 - in head/sys: arm/allwinner arm/allwinner/a20 arm/conf boot/fdt/dts/arm conf

2016-02-17 Thread Andrew Turner
Author: andrew Date: Wed Feb 17 18:28:03 2016 New Revision: 295711 URL: https://svnweb.freebsd.org/changeset/base/295711 Log: Move the Allwinner kernels to use fdt_pinctrl. This will read the pin configuration from the FDT data, then set the pins into the requested state. As part of this

svn commit: r295712 - head/sys/geom

2016-02-17 Thread Warner Losh
Author: imp Date: Wed Feb 17 18:28:38 2016 New Revision: 295712 URL: https://svnweb.freebsd.org/changeset/base/295712 Log: Use the right size for zeroing. Submitted by: rpokala@ Modified: head/sys/geom/geom_io.c Modified: head/sys/geom/geom_io.c

svn commit: r295713 - head/lib/libc/tests

2016-02-17 Thread Bryan Drewery
Author: bdrewery Date: Wed Feb 17 18:41:55 2016 New Revision: 295713 URL: https://svnweb.freebsd.org/changeset/base/295713 Log: Fix build race after r295643. Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/Makefile Modified: head/lib/libc/tests/Makefile

svn commit: r295714 - stable/10/sys/fs/ext2fs

2016-02-17 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 17 19:09:06 2016 New Revision: 295714 URL: https://svnweb.freebsd.org/changeset/base/295714 Log: MFC r295616: ext2fs: Remove panics for rename() race conditions. Sync with r84642 from UFS: The panics are inappropriate because the IN_RENAME flag only

svn commit: r295715 - stable/9/sys/fs/ext2fs

2016-02-17 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 17 19:11:09 2016 New Revision: 295715 URL: https://svnweb.freebsd.org/changeset/base/295715 Log: MFC r295616: ext2fs: Remove panics for rename() race conditions. Sync with r84642 from UFS: The panics are inappropriate because the IN_RENAME flag only

svn commit: r295716 - head/sys/kern

2016-02-17 Thread Konstantin Belousov
Author: kib Date: Wed Feb 17 19:39:57 2016 New Revision: 295716 URL: https://svnweb.freebsd.org/changeset/base/295716 Log: In bnoreuselist(), check both ends of the specified logical block numbers range. This effectively skips indirect and extdata blocks on the buffer queue. Since

svn commit: r295717 - head/sys/fs/nullfs

2016-02-17 Thread Konstantin Belousov
Author: kib Date: Wed Feb 17 19:43:03 2016 New Revision: 295717 URL: https://svnweb.freebsd.org/changeset/base/295717 Log: After nullfs rmdir operation, reclaim the directory vnode which was unlinked. Otherwise the vnode stays cached, causing leak. This is similar to r292961 for regular

svn commit: r295718 - head/sys/dev/random

2016-02-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 17 21:09:19 2016 New Revision: 295718 URL: https://svnweb.freebsd.org/changeset/base/295718 Log: Add missing braces. Found by: PVS-Studio Approved by: so (implicit) Modified: head/sys/dev/random/nehemiah.c Modified: head/sys/dev/random/nehemiah.c

svn commit: r295719 - head/sys/dev/ata/chipsets

2016-02-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 17 21:13:33 2016 New Revision: 295719 URL: https://svnweb.freebsd.org/changeset/base/295719 Log: Ternary operator has lower priority than OR. Found by: PVS-Studio Modified: head/sys/dev/ata/chipsets/ata-serverworks.c Modified:

svn commit: r295720 - head/sys/netinet6

2016-02-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 17 21:17:14 2016 New Revision: 295720 URL: https://svnweb.freebsd.org/changeset/base/295720 Log: Ternary operator has lower priority than OR. Found by: PVS-Studio Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c

svn commit: r295721 - head/sys/dev/ae

2016-02-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Feb 17 21:24:26 2016 New Revision: 295721 URL: https://svnweb.freebsd.org/changeset/base/295721 Log: Fix a potentially "forever" loop. Found by: PVS-Studio Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c

svn commit: r295729 - head/sys/netinet6

2016-02-17 Thread Mark Johnston
Author: markj Date: Wed Feb 17 23:53:24 2016 New Revision: 295729 URL: https://svnweb.freebsd.org/changeset/base/295729 Log: Remove a prototype for the non-existent prelist_del(). MFC after:1 week Modified: head/sys/netinet6/nd6.h Modified: head/sys/netinet6/nd6.h

svn commit: r295730 - head/sys/netinet6

2016-02-17 Thread Mark Johnston
Author: markj Date: Wed Feb 17 23:55:24 2016 New Revision: 295730 URL: https://svnweb.freebsd.org/changeset/base/295730 Log: Use pfxrtr_del() instead of freeing advertising routers directly. MFC after:1 week Modified: head/sys/netinet6/nd6_rtr.c Modified:

svn commit: r295732 - head/sys/netinet6

2016-02-17 Thread Mark Johnston
Author: markj Date: Thu Feb 18 00:00:51 2016 New Revision: 295732 URL: https://svnweb.freebsd.org/changeset/base/295732 Log: Release the ref acquired in nd6_dad_find() if DAD is already in progress. MFC after:1 week Modified: head/sys/netinet6/nd6_nbr.c Modified:

svn commit: r295733 - in head: libexec libexec/makewhatis.local usr.bin/makewhatis

2016-02-17 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 18 00:26:21 2016 New Revision: 295733 URL: https://svnweb.freebsd.org/changeset/base/295733 Log: Fix installation of makewhatis.local(1) since r283777. The wrapper script has moved to libexec/makewhatis.local since it is not directlry related to the older

svn commit: r295735 - in head/sys/dev: age alc ale jme msk stge vte

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 01:24:10 2016 New Revision: 295735 URL: https://svnweb.freebsd.org/changeset/base/295735 Log: Fix variable assignment. Found by: PVS-Studio Modified: head/sys/dev/age/if_age.c head/sys/dev/alc/if_alc.c head/sys/dev/ale/if_ale.c

svn commit: r295736 - head/sys/dev/rl

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 01:30:49 2016 New Revision: 295736 URL: https://svnweb.freebsd.org/changeset/base/295736 Log: Remove duplicated check. Found by: PVS-Studio Modified: head/sys/dev/rl/if_rl.c Modified: head/sys/dev/rl/if_rl.c

svn commit: r295737 - head/usr.sbin/rtsold

2016-02-17 Thread Mark Johnston
Author: markj Date: Thu Feb 18 01:58:26 2016 New Revision: 295737 URL: https://svnweb.freebsd.org/changeset/base/295737 Log: Use the _SAFE loop variant, since the loop body may remove queue entries. PR: 207146 MFC after:3 days Modified: head/usr.sbin/rtsold/rtsold.c

svn commit: r295738 - head/sys/dev/rl

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 03:05:08 2016 New Revision: 295738 URL: https://svnweb.freebsd.org/changeset/base/295738 Log: Fix a bug introduced in r295736 TX descriptor address should be updated for valid chain. Pointed out by: jmallett Modified: head/sys/dev/rl/if_rl.c

svn commit: r295739 - in head/sys: netinet sys

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 04:58:34 2016 New Revision: 295739 URL: https://svnweb.freebsd.org/changeset/base/295739 Log: tcp/lro: Allow drivers to set the TCP ACK/data segment aggregation limit ACK aggregation limit is append count based, while the TCP data segment aggregation limit

svn commit: r295740 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 04:59:37 2016 New Revision: 295740 URL: https://svnweb.freebsd.org/changeset/base/295740 Log: hyperv/hn: Set the TCP ACK/data segment aggregation limit Set TCP ACK append limit to 1, i.e. aggregate 2 ACKs at most. Aggregating anything more than 2 hurts TCP

svn commit: r295741 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 06:55:05 2016 New Revision: 295741 URL: https://svnweb.freebsd.org/changeset/base/295741 Log: hyperv/hn: Add option to allow sharing TX taskq between hn instances It is off by default. This eases further experimenting on this driver. Reviewed by:

svn commit: r295742 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:00:47 2016 New Revision: 295742 URL: https://svnweb.freebsd.org/changeset/base/295742 Log: hyperv/hn: Always do transmission scheduling. This one gives the best performance so far. Reviewed by: adrian Approved by: adrian (mentor) MFC after:1

svn commit: r295743 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:06:44 2016 New Revision: 295743 URL: https://svnweb.freebsd.org/changeset/base/295743 Log: hyperv/hn: Change global tunable prefix to hw.hn And use SYSCTL+CTLFLAG_RDTUN for them. Suggested by: adrian Reviewed by: adrian, Hongjiang Zhang Approved

svn commit: r295744 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:16:31 2016 New Revision: 295744 URL: https://svnweb.freebsd.org/changeset/base/295744 Log: hyperv/hn: Split RX ring data structure out of softc This paves the way for upcoming vRSS stuffs and eases more code cleanup. Reviewed by: adrian Approved

svn commit: r295745 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:23:05 2016 New Revision: 295745 URL: https://svnweb.freebsd.org/changeset/base/295745 Log: hyperv/hn: Use taskqueue_enqueue() This also eases experiment on the non-fast taskqueue. Reviewed by: adrian, Jun Su Approved by: adrian (mentor) MFC

svn commit: r295746 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:28:45 2016 New Revision: 295746 URL: https://svnweb.freebsd.org/changeset/base/295746 Log: hyperv/hn: Use non-fast taskqueue for transmission Performance stays same; so no need to use fast taskqueue here. Suggested by: royger Reviewed by: adrian

svn commit: r295747 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:37:59 2016 New Revision: 295747 URL: https://svnweb.freebsd.org/changeset/base/295747 Log: hyperv/hn: Split TX ring data structure out of softc This paves the way for upcoming vRSS stuffs and eases more code cleanup. Reviewed by: adrian Approved

svn commit: r295748 - head/sys/dev/hyperv/netvsc

2016-02-17 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 18 07:44:14 2016 New Revision: 295748 URL: https://svnweb.freebsd.org/changeset/base/295748 Log: hyperv/hn: Use buf_ring for txdesc list So one spinlock is avoided, which would be potentially dangerous for virtual machine, if the spinlock holder was scheduled

Re: svn commit: r295739 - in head/sys: netinet sys

2016-02-17 Thread Sepherosa Ziehau
Sorry about the MFC note in the commit message. This commit will _not_ be MFCed. Thanks, sephe On Thu, Feb 18, 2016 at 12:58 PM, Sepherosa Ziehau wrote: > Author: sephe > Date: Thu Feb 18 04:58:34 2016 > New Revision: 295739 > URL: