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

2016-08-09 Thread Sepherosa Ziehau
Author: sephe Date: Wed Aug 10 03:11:07 2016 New Revision: 303901 URL: https://svnweb.freebsd.org/changeset/base/303901 Log: hyperv/hn: Reorganize send done callback. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7450 Added: h

svn commit: r303900 - in head/cddl/usr.sbin/dtrace/tests: common/raise common/safety tools

2016-08-09 Thread Garrett Cooper
Author: ngie Date: Wed Aug 10 03:10:34 2016 New Revision: 303900 URL: https://svnweb.freebsd.org/changeset/base/303900 Log: Highball memory requirement (4GB) with common/{raise,safety} Both test suites require more memory than my amd64 VM using GENERIC-NODEBUG can provide and reliably pan

Re: svn commit: r303890 - in head/sys: contrib/ncsw/user/env contrib/octeon-sdk dev/auxio dev/bktr dev/e1000 dev/ixgb dev/ixgbe dev/ixl dev/netmap dev/pci dev/sound/sbus dev/tpm kern mips/nlm/dev/net

2016-08-09 Thread Bruce Evans
On Tue, 9 Aug 2016, [UTF-8] Jean-S??bastien P??dron wrote: Log: Consistently use `device_t` Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. device_t is properly opque, yet

Re: svn commit: r303895 - head/sys/sys

2016-08-09 Thread Ngie Cooper
On Tue, Aug 9, 2016 at 4:45 PM, Ngie Cooper wrote: .. > This is the second time this has happened in the last few months (last > time was per mmacy's request IIRC for some linuxkpi stuff). Seems like > this warrants a comment at least. I just saw the culprit... yeah... same thing as before. Som

Re: svn commit: r303895 - head/sys/sys

2016-08-09 Thread Ngie Cooper
On Tue, Aug 9, 2016 at 2:45 PM, Jean-Sébastien Pédron wrote: > Author: dumbbell > Date: Tue Aug 9 21:45:47 2016 > New Revision: 303895 > URL: https://svnweb.freebsd.org/changeset/base/303895 > > Log: > sys/pcpu.h: Revert change introduced in r303890 > > `device_t` is not defined outside the k

svn commit: r303897 - head/release

2016-08-09 Thread Glen Barber
Author: gjb Date: Tue Aug 9 22:48:46 2016 New Revision: 303897 URL: https://svnweb.freebsd.org/changeset/base/303897 Log: Pass overrides to make(1) when building ports for arm/armv6 targets, similar to what is done for the run-autotools-fixup override for non-arm targets. MFC after:

svn commit: r303896 - head/lib/libc/sys

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 22:10:40 2016 New Revision: 303896 URL: https://svnweb.freebsd.org/changeset/base/303896 Log: Remove obsolete manpage that is not currently installed. Deleted: head/lib/libc/sys/kse.2 ___ svn-src-head@freebsd.org mailing

svn commit: r303895 - head/sys/sys

2016-08-09 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Tue Aug 9 21:45:47 2016 New Revision: 303895 URL: https://svnweb.freebsd.org/changeset/base/303895 Log: sys/pcpu.h: Revert change introduced in r303890 `device_t` is not defined outside the kernel but this header is used by eg. libkvm or vmstat(8). Thus, r303890 br

Re: svn commit: r303887 - head/tools/tools/dmardump

2016-08-09 Thread John Baldwin
On Tuesday, August 09, 2016 07:06:05 PM John Baldwin wrote: > Author: jhb > Date: Tue Aug 9 19:06:05 2016 > New Revision: 303887 > URL: https://svnweb.freebsd.org/changeset/base/303887 > > Log: > Add a dmardump utility to dump the VT-d context tables. > > This tool parses the ACPI DMAR tab

svn commit: r303894 - head/usr.sbin/ancontrol

2016-08-09 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 9 19:46:05 2016 New Revision: 303894 URL: https://svnweb.freebsd.org/changeset/base/303894 Log: ancontrol(8): replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separat

svn commit: r303893 - head/lib/libpcap

2016-08-09 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 9 19:44:33 2016 New Revision: 303893 URL: https://svnweb.freebsd.org/changeset/base/303893 Log: libpcap: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator bu

svn commit: r303892 - in head/sys: arm/xscale/ixp425 boot/i386/zfsboot cam/ata cam/scsi net80211 sparc64/pci x86/cpufreq

2016-08-09 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 9 19:42:20 2016 New Revision: 303892 URL: https://svnweb.freebsd.org/changeset/base/303892 Log: sys: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but th

svn commit: r303891 - in head/sys/dev: aic7xxx ath/ath_hal/ar5212 ath/ath_hal/ar5416 bxe etherswitch/ip17x usb/controller

2016-08-09 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 9 19:41:46 2016 New Revision: 303891 URL: https://svnweb.freebsd.org/changeset/base/303891 Log: sys/dev: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator bu

svn commit: r303890 - in head/sys: contrib/ncsw/user/env contrib/octeon-sdk dev/auxio dev/bktr dev/e1000 dev/ixgb dev/ixgbe dev/ixl dev/netmap dev/pci dev/sound/sbus dev/tpm kern mips/nlm/dev/net m...

2016-08-09 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Tue Aug 9 19:32:06 2016 New Revision: 303890 URL: https://svnweb.freebsd.org/changeset/base/303890 Log: Consistently use `device_t` Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all

svn commit: r303889 - head/lib/libc/rpc

2016-08-09 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 9 19:20:53 2016 New Revision: 303889 URL: https://svnweb.freebsd.org/changeset/base/303889 Log: libc/rpc: replace comma with semicolon when pertinent. Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator b

svn commit: r303887 - head/tools/tools/dmardump

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 19:06:05 2016 New Revision: 303887 URL: https://svnweb.freebsd.org/changeset/base/303887 Log: Add a dmardump utility to dump the VT-d context tables. This tool parses the ACPI DMAR table looking for DMA remapping devices. For each device it walks the root tabl

svn commit: r303886 - head/sys/x86/iommu

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 19:02:14 2016 New Revision: 303886 URL: https://svnweb.freebsd.org/changeset/base/303886 Log: Add additional constants. - Add constants for the fields in the root-entry table address register, namely the root type type (RTT) and root table address (RTA) mask

Re: svn commit: r303855 - in head/sys: kern sys

2016-08-09 Thread Mark Johnston
On Tue, Aug 09, 2016 at 01:51:35AM +0200, Oliver Pinter wrote: > (Added bdrewery to CC, since I'm talking with him on IRC.) > > On Tue, Aug 9, 2016 at 1:43 AM, Mark Johnston wrote: > > On Tue, Aug 09, 2016 at 12:53:47AM +0200, Oliver Pinter wrote: > >> Hi! > >> > >> Can you please MFC back this c

svn commit: r303881 - in head: share/man/man4 sys/dev/pci

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 17:57:11 2016 New Revision: 303881 URL: https://svnweb.freebsd.org/changeset/base/303881 Log: Reliably return PCI_GETCONF_LAST_DEVICE from PCIOCGETCONF. Previously the loop in PCIIOCGETCONF would terminate as soon as it found enough matches. Now it will conti

svn commit: r303880 - head/sys/dev/cxgbe

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 17:49:42 2016 New Revision: 303880 URL: https://svnweb.freebsd.org/changeset/base/303880 Log: Track the base absolute ID of ingress and egress queues. Use this to map an absolute queue ID to a logical queue ID in interrupt handlers. For the regular cxgbe/cxl

Re: svn commit: r303870 - head/sys/dev/mlx5/mlx5_en

2016-08-09 Thread John Baldwin
On Tuesday, August 09, 2016 07:43:15 AM Hans Petter Selasky wrote: > Author: hselasky > Date: Tue Aug 9 07:43:15 2016 > New Revision: 303870 > URL: https://svnweb.freebsd.org/changeset/base/303870 > > Log: > Fix for use after free. > > Clear the device description to avoid use after free b

svn commit: r303879 - in head/sys/arm: broadcom/bcm2835 xscale/pxa

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 16:02:35 2016 New Revision: 303879 URL: https://svnweb.freebsd.org/changeset/base/303879 Log: Remove some NULL checks after M_WAITOK allocations from sys/arm/. MFC after:1 month Modified: head/sys/arm/broadcom/bcm2835/bcm2835_vcio.c head/sys/arm/xscal

svn commit: r303874 - head/sys/dev/mpt

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:52:17 2016 New Revision: 303874 URL: https://svnweb.freebsd.org/changeset/base/303874 Log: Remove NULL check after M_WAITOK allocation from mpt(4). MFC after:1 month Modified: head/sys/dev/mpt/mpt_pci.c Modified: head/sys/dev/mpt/mpt_pci.c =

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

2016-08-09 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Aug 9 15:57:37 2016 New Revision: 303877 URL: https://svnweb.freebsd.org/changeset/base/303877 Log: Write kern.randompid to /etc/sysctl.conf PR: 211471 Reported by: su...@protonmail.com Reviewed by: robak@ Approved by: all

svn commit: r303876 - head/sys/dev/nand

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:56:33 2016 New Revision: 303876 URL: https://svnweb.freebsd.org/changeset/base/303876 Log: Remove NULL checks after M_WAITOK allocations from nand(4). MFC after:1 month Modified: head/sys/dev/nand/nand_generic.c head/sys/dev/nand/nandsim_chip.c Mo

svn commit: r303875 - head/sys/dev/ofw

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:55:14 2016 New Revision: 303875 URL: https://svnweb.freebsd.org/changeset/base/303875 Log: Remove NULL checks after M_WAITOK allocations from sys/dev/ofw/. MFC after:1 month Modified: head/sys/dev/ofw/openfirmio.c head/sys/dev/ofw/openpromio.c Mod

svn commit: r303873 - head/sys/dev/msk

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:51:11 2016 New Revision: 303873 URL: https://svnweb.freebsd.org/changeset/base/303873 Log: Remove NULL checks after M_WAITOK allocations from msk(4). MFC after:1 month Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c =

svn commit: r303872 - head/sys/dev/tws

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:50:03 2016 New Revision: 303872 URL: https://svnweb.freebsd.org/changeset/base/303872 Log: Remove NULL checks after M_WAITOK allocations from tws(4). MFC after:1 month Modified: head/sys/dev/tws/tws.c Modified: head/sys/dev/tws/tws.c ===

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

2016-08-09 Thread Conrad Meyer
This was detected by Coverity as CID 1361483, for what it's worth. Best, Conrad On Mon, Aug 8, 2016 at 11:11 PM, Andriy Gapon wrote: > Author: avg > Date: Tue Aug 9 06:11:24 2016 > New Revision: 303869 > URL: https://svnweb.freebsd.org/changeset/base/303869 > > Log: > fix a zfs cross-device r

Re: svn commit: r303716 - head/crypto/openssh

2016-08-09 Thread Warner Losh
> On Aug 8, 2016, at 10:45 PM, Warner Losh wrote: > > On Mon, Aug 8, 2016 at 4:41 AM, Dag-Erling Smørgrav wrote: >> Warner Losh writes: >>> Andrey Chernov writes: FreeBSD 11 is not released yet (betas are not counted), stable-10 too, so it is right time to deprecate for them. >>> Ni

Re: svn commit: r303716 - head/crypto/openssh

2016-08-09 Thread Warner Losh
On Mon, Aug 8, 2016 at 1:25 AM, Brooks Davis wrote: > On Sun, Aug 07, 2016 at 03:48:44PM -0700, Xin Li wrote: >> >> >> On 8/7/16 14:20, Warner Losh wrote: >> > >> >> On Aug 7, 2016, at 3:11 PM, Andrey Chernov wrote: >> >> >> >>> OTOH, FreeBSD has a documented deprecation process that says things

Re: svn commit: r303716 - head/crypto/openssh

2016-08-09 Thread Warner Losh
On Mon, Aug 8, 2016 at 4:41 AM, Dag-Erling Smørgrav wrote: > Warner Losh writes: >> Andrey Chernov writes: >> > FreeBSD 11 is not released yet (betas are not counted), stable-10 too, >> > so it is right time to deprecate for them. >> Nice try, but feature freeze was months ago. Have you got buy

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

2016-08-09 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 9 07:43:15 2016 New Revision: 303870 URL: https://svnweb.freebsd.org/changeset/base/303870 Log: Fix for use after free. Clear the device description to avoid use after free because the bsddev is not destroyed when the mlx5en module is unloaded. Only when