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

2016-08-08 Thread Andriy Gapon
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 rename crash introduced in r303763 The problem was that 'zfsvfs' variable was not initialized if the error was detected, but in the exit path t

Re: svn commit: r303763 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2016-08-08 Thread Andriy Gapon
On 09/08/2016 08:10, Andriy Gapon wrote: > On 09/08/2016 02:48, Navdeep Parhar wrote: >> Hello Andriy, >> >> I'm at r303837 and have had two panics today in zfs_rename. I have a >> core for a kernel built with -O0. Let me know if you think it's related >> to this commit and need more information.

Re: svn commit: r303763 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2016-08-08 Thread Andriy Gapon
On 09/08/2016 02:48, Navdeep Parhar wrote: > Hello Andriy, > > I'm at r303837 and have had two panics today in zfs_rename. I have a > core for a kernel built with -O0. Let me know if you think it's related > to this commit and need more information. This is the stack: > > (also available at ht

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

2016-08-08 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 9 04:50:20 2016 New Revision: 303867 URL: https://svnweb.freebsd.org/changeset/base/303867 Log: hyperv/hn: Move gpa array out of netvsc_packet. Prepare to deprecate the netvsc_packet. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r303865 - stable/10/sbin/pfctl

2016-08-08 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 9 03:47:38 2016 New Revision: 303865 URL: https://svnweb.freebsd.org/changeset/base/303865 Log: MFC r303760: Fix a regression in pf.conf while parsing the 'interval' keyword. The bug was introduced by r287009. PR: 210924 Submitted by: kp@

svn commit: r303864 - stable/11/sbin/pfctl

2016-08-08 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 9 03:39:21 2016 New Revision: 303864 URL: https://svnweb.freebsd.org/changeset/base/303864 Log: MFC r303760: Fix a regression in pf.conf while parsing the 'interval' keyword. The bug was introduced by r287009. PR: 210924 Submitted by: kp@

svn commit: r303863 - in head/sys: conf kern netinet netinet6 sys

2016-08-08 Thread Stephen J. Kiernan
Author: stevek Date: Tue Aug 9 02:16:21 2016 New Revision: 303863 URL: https://svnweb.freebsd.org/changeset/base/303863 Log: Move IPv4-specific jail functions to new file netinet/in_jail.c _prison_check_ip4 renamed to prison_check_ip4_locked Move IPv6-specific jail functions to new file

svn commit: r303862 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-08-08 Thread Adrian Chadd
Author: adrian Date: Tue Aug 9 01:05:29 2016 New Revision: 303862 URL: https://svnweb.freebsd.org/changeset/base/303862 Log: [ar9300] don't program a negative readytime. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_

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

2016-08-08 Thread Oliver Pinter
(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 change 10-STABLE together with the >> following: >> https://github.com/Harden

Re: svn commit: r303763 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2016-08-08 Thread Navdeep Parhar
Hello Andriy, I'm at r303837 and have had two panics today in zfs_rename. I have a core for a kernel built with -O0. Let me know if you think it's related to this commit and need more information. This is the stack: (also available at https://people.freebsd.org/~np/rename_panic.txt in case the

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

2016-08-08 Thread Mark Johnston
On Tue, Aug 09, 2016 at 12:53:47AM +0200, Oliver Pinter wrote: > Hi! > > Can you please MFC back this change 10-STABLE together with the > following: > https://github.com/HardenedBSD/hardenedBSD/commit/576619e564618bca3675db57580d8e1f76bd2ac7 > > This issue is still exists on 10-STABLE, as you c

svn commit: r303861 - in stable: 10/release/doc/share/xml 9/release/doc/share/xml

2016-08-08 Thread Glen Barber
Author: gjb Date: Mon Aug 8 23:18:27 2016 New Revision: 303861 URL: https://svnweb.freebsd.org/changeset/base/303861 Log: Document missing ENs and SAs. Reviewed by: brd Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/errata.xml stable/9/release/doc/sha

svn commit: r303861 - in stable: 10/release/doc/share/xml 9/release/doc/share/xml

2016-08-08 Thread Glen Barber
Author: gjb Date: Mon Aug 8 23:18:27 2016 New Revision: 303861 URL: https://svnweb.freebsd.org/changeset/base/303861 Log: Document missing ENs and SAs. Reviewed by: brd Sponsored by: The FreeBSD Foundation Modified: stable/10/release/doc/share/xml/errata.xml stable/10/release/doc/s

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

2016-08-08 Thread Oliver Pinter
Hi! Can you please MFC back this change 10-STABLE together with the following: https://github.com/HardenedBSD/hardenedBSD/commit/576619e564618bca3675db57580d8e1f76bd2ac7 This issue is still exists on 10-STABLE, as you can test with the linked program from phabricator: https://people.freebsd.org/

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

2016-08-08 Thread John Baldwin
Author: jhb Date: Mon Aug 8 21:45:39 2016 New Revision: 303860 URL: https://svnweb.freebsd.org/changeset/base/303860 Log: Reserve an adapter flag IS_VF to mark VF devices vs PF devices. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/adapter.h Modified: head/sys/dev/c

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

2016-08-08 Thread John Baldwin
Author: jhb Date: Mon Aug 8 21:28:02 2016 New Revision: 303859 URL: https://svnweb.freebsd.org/changeset/base/303859 Log: Fix a typo. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c == --

Re: svn commit: r303803 - in head/sys/dev: fdt ofw

2016-08-08 Thread Warner Losh
On Sun, Aug 7, 2016 at 2:51 AM, Brooks Davis wrote: > On Sat, Aug 06, 2016 at 06:48:47PM +, Stephen J. Kiernan wrote: >> Author: stevek >> Date: Sat Aug 6 18:48:47 2016 >> New Revision: 303803 >> URL: https://svnweb.freebsd.org/changeset/base/303803 >> >> Log: >> Add hw.fdt sysctl node. >>

svn commit: r303858 - in stable/11/sys: compat/freebsd32 kern sys

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 21:19:57 2016 New Revision: 303858 URL: https://svnweb.freebsd.org/changeset/base/303858 Log: Regenerate for r303857. Approved by: re (gjb, implicit) Modified: stable/11/sys/compat/freebsd32/freebsd32_proto.h stable/11/sys/compat/freebsd32/freebsd32_s

svn commit: r303857 - stable/11/sys/kern

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 21:18:28 2016 New Revision: 303857 URL: https://svnweb.freebsd.org/changeset/base/303857 Log: MFC r303755: Still provide freebsd10_* symbols from libc for COMPAT10. Approved by: re (gjb) Modified: stable/11/sys/kern/makesyscalls.sh Directory Prop

svn commit: r303856 - stable/10/release/arm

2016-08-08 Thread Glen Barber
Author: gjb Date: Mon Aug 8 20:29:32 2016 New Revision: 303856 URL: https://svnweb.freebsd.org/changeset/base/303856 Log: Increase the IMX (CUBOX-HUMMINGBOARD, WANDBOARD) image size to successfully build. While here, add the SRCBRANCH to the CUBOX-HUMMINGBOARD.conf and GUMSTIX.conf.

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

2016-08-08 Thread Mark Johnston
Author: markj Date: Mon Aug 8 20:25:04 2016 New Revision: 303855 URL: https://svnweb.freebsd.org/changeset/base/303855 Log: Handle races with listening socket close when connecting a unix socket. If the listening socket is closed while sonewconn() is executing, the nascent child socket i

svn commit: r303854 - stable/11/sys/kern

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 20:23:11 2016 New Revision: 303854 URL: https://svnweb.freebsd.org/changeset/base/303854 Log: MFC r303729: Correct some comments. Approved by: re (kib) Modified: stable/11/sys/kern/syscalls.master Directory Properties: stable/11/ (props chang

svn commit: r303853 - stable/11/lib/libc/gen

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 20:15:00 2016 New Revision: 303853 URL: https://svnweb.freebsd.org/changeset/base/303853 Log: MFC r303687: Add link for getnetgrent_r(3). Approved by: re (kib) Modified: stable/11/lib/libc/gen/Makefile.inc Directory Properties: stable/11/ (pr

Re: svn commit: r303849 - stable/11/sys/opencrypto

2016-08-08 Thread Shawn Webb
On Mon, Aug 08, 2016 at 07:43:07PM +, Bryan Drewery wrote: > Author: bdrewery > Date: Mon Aug 8 19:43:07 2016 > New Revision: 303849 > URL: https://svnweb.freebsd.org/changeset/base/303849 > > Log: > MFC r303650: > > opencrypto AES-ICM: Fix heap corruption typo > > PR: 2

svn commit: r303850 - stable/10/sys/netpfil/pf

2016-08-08 Thread Kristof Provost
Author: kp Date: Mon Aug 8 19:44:13 2016 New Revision: 303850 URL: https://svnweb.freebsd.org/changeset/base/303850 Log: MFC r290521: pf: Fix broken rule skip calculation r289932 accidentally broke the rule skip calculation. The address family argument to PF_ANEQ() is now important,

svn commit: r303849 - stable/11/sys/opencrypto

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 19:43:07 2016 New Revision: 303849 URL: https://svnweb.freebsd.org/changeset/base/303849 Log: MFC r303650: opencrypto AES-ICM: Fix heap corruption typo PR: 204009 Approved by: re (kib) Modified: stable/11/sys/opencrypto/xform_aes_icm.

svn commit: r303848 - head/sys/netgraph

2016-08-08 Thread Sean Bruno
Author: sbruno Date: Mon Aug 8 19:31:01 2016 New Revision: 303848 URL: https://svnweb.freebsd.org/changeset/base/303848 Log: Avoid panic from ng_uncallout when unpluggin ethernet cable with active PPTP VPN connection. Submitted by: Michael Zhilin Reviewed by: ngie MFC after:3 d

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

2016-08-08 Thread Sean Bruno
Author: sbruno Date: Mon Aug 8 18:57:50 2016 New Revision: 303847 URL: https://svnweb.freebsd.org/changeset/base/303847 Log: Fixup ixl(4) options parsing to actually compile when using RSS/PCBGROUP in GENERIC. Fixup #ifdef RSS code blocks so that they build and add/delete variables tha

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

2016-08-08 Thread Garance A Drosehn
On 7 Aug 2016, at 7:40, Bruce Simpson wrote: > On 07/08/16 11:58, Bruce Simpson wrote: >> Is there a way to revert this change, at least on an ongoing >> operational basis (e.g. configuration file) for those of us who >> use FreeBSD to connect directly to such devices? > > I was able to override t

svn commit: r303846 - in stable/10/sys: kern sys

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 18:31:28 2016 New Revision: 303846 URL: https://svnweb.freebsd.org/changeset/base/303846 Log: MFC r280331: cred: add proc_set_cred_init helper PR: D7431 Modified: stable/10/sys/kern/init_main.c stable/10/sys/kern/kern_fork.c stable/10/sys/ke

svn commit: r303845 - head/sbin/ipfw

2016-08-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 8 18:30:50 2016 New Revision: 303845 URL: https://svnweb.freebsd.org/changeset/base/303845 Log: Fix formatting of setfib opcode. Zero fib is correct value and it conflicts with IP_FW_TARG. Use bprint_uint_arg() only when opcode contains IP_FW_TARG, otherwise ju

svn commit: r303844 - head

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 18:13:03 2016 New Revision: 303844 URL: https://svnweb.freebsd.org/changeset/base/303844 Log: make world: Allow installworld to be ran in parallel. This has been safe for a while. Sponsored by: EMC / Isilon Storage Division Modified: head/Makefile

svn commit: r303842 - head/sbin/ipfw

2016-08-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 8 18:10:30 2016 New Revision: 303842 URL: https://svnweb.freebsd.org/changeset/base/303842 Log: Fix constructing of setdscp opcode with tablearg keyword. setdscp's argument can have zero value that conflicts with IP_FW_TARG value. Always set high-order bit if par

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

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 18:10:59 2016 New Revision: 303843 URL: https://svnweb.freebsd.org/changeset/base/303843 Log: MFC r280330,r282567: r280330: fork: assign refed credentials earlier r282567: Fix up panics when fork fails due to hitting proc limit PR:

Re: svn commit: r303840 - head/contrib/netbsd-tests/lib/libc/sys

2016-08-08 Thread John Baldwin
On Monday, August 08, 2016 05:57:25 PM John Baldwin wrote: > Author: jhb > Date: Mon Aug 8 17:57:25 2016 > New Revision: 303840 > URL: https://svnweb.freebsd.org/changeset/base/303840 > > Log: > Add timer_settime tests using SIGEV_THREAD. > > Note that these tests should work fine on NetBS

svn commit: r303841 - head/lib/msun/tests

2016-08-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 8 17:59:59 2016 New Revision: 303841 URL: https://svnweb.freebsd.org/changeset/base/303841 Log: Revert r298434 which should be fixed by r301287, r301394, and r301403. PR: 208703, 208963 Modified: head/lib/msun/tests/Makefile Modified: head/lib/msun/test

svn commit: r303840 - head/contrib/netbsd-tests/lib/libc/sys

2016-08-08 Thread John Baldwin
Author: jhb Date: Mon Aug 8 17:57:25 2016 New Revision: 303840 URL: https://svnweb.freebsd.org/changeset/base/303840 Log: Add timer_settime tests using SIGEV_THREAD. Note that these tests should work fine on NetBSD and other systems as SIGEV_THREAD is POSIX. Differential Revision:

svn commit: r303839 - stable/11/sys/boot/fdt/dts/arm

2016-08-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Aug 8 17:53:51 2016 New Revision: 303839 URL: https://svnweb.freebsd.org/changeset/base/303839 Log: MFC r303726 Fix EHCI driver by excluding first 512K from available memory On Zynq 256K-512K memory region is not accessible by all bus masters. EHCI driver fai

svn commit: r303837 - in head/sys: dev/mlx5/mlx5_en modules/mlx5en

2016-08-08 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 8 16:22:16 2016 New Revision: 303837 URL: https://svnweb.freebsd.org/changeset/base/303837 Log: Switch to the new block based LRO input function for the mlx5en driver. This change significantly increases the overall RX aggregation ratio for heavily loaded netw

svn commit: r303836 - head/sys/dev/bxe

2016-08-08 Thread Ryan Stone
Author: rstone Date: Mon Aug 8 16:19:24 2016 New Revision: 303836 URL: https://svnweb.freebsd.org/changeset/base/303836 Log: Don't enqueue NULL on a drbr In one corner case in the bxe TX path, a NULL mbuf could be enqueued onto a drbr queue. This could case a KASSERT to fire with INVARI

svn commit: r303835 - in stable/11: sys/dev/pci usr.sbin/pciconf

2016-08-08 Thread Eric van Gyzen
Author: vangyzen Date: Mon Aug 8 15:07:38 2016 New Revision: 303835 URL: https://svnweb.freebsd.org/changeset/base/303835 Log: MFC r303788 Fix some logic in PCIe HotPlug; display EI status The interpretation of the Electromechanical Interlock Status was inverted, so we disengaged th

svn commit: r303834 - head/sys/netinet

2016-08-08 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 8 13:52:18 2016 New Revision: 303834 URL: https://svnweb.freebsd.org/changeset/base/303834 Log: Fix the sending of FORWARD-TSN and I-FORWARD-TSN chunks. The last SID/SSN pair wasn't filled in. Thanks to Julian Cordes for providing a packetdrill script triggeri

svn commit: r303833 - head/sys/contrib/cloudabi

2016-08-08 Thread Ed Schouten
Author: ed Date: Mon Aug 8 13:15:37 2016 New Revision: 303833 URL: https://svnweb.freebsd.org/changeset/base/303833 Log: Import vDSO-related source files from the CloudABI repository. CloudABI executables that are emulated on Mac OS X do not invoke system calls through "syscall". Instead

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

2016-08-08 Thread Dag-Erling Smørgrav
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 in from the > security officer and the release engineer? > > I did

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

2016-08-08 Thread Brooks Davis
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 will > >>> continue working for a major release after being

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

2016-08-08 Thread Baptiste Daroussin
On Mon, Aug 08, 2016 at 11:40:55AM +0100, Bruce Simpson wrote: > On 08/08/16 11:36, Dag-Erling Smørgrav wrote: > > Bruce Simpson writes: > > > Alcatel-Lucent OmniSwitch 6800 login broken > ... > > This patch did not remove weak DH groups. That happened in 7.0p1 back > > in January. > > So my rea

svn commit: r303832 - head/crypto/openssh

2016-08-08 Thread Dag-Erling Smørgrav
Author: des Date: Mon Aug 8 10:46:18 2016 New Revision: 303832 URL: https://svnweb.freebsd.org/changeset/base/303832 Log: Try to check whether each key file exists before adding it, and bail out if we didn't find any of them. This reduces log spam about key files for deprecated algorithms,

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

2016-08-08 Thread Bruce Simpson
On 08/08/16 11:36, Dag-Erling Smørgrav wrote: Bruce Simpson writes: Alcatel-Lucent OmniSwitch 6800 login broken ... This patch did not remove weak DH groups. That happened in 7.0p1 back in January. So my reading of this is that PuTTy may be the best workaround for end-users who have to sp

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

2016-08-08 Thread Dag-Erling Smørgrav
Bruce Simpson writes: > Alcatel-Lucent OmniSwitch 6800 login broken (pfSense 2.3.2 which > accepted the upstream change, workaround no-go) > > [2.3.2-RELEASE][r...@gw.lab]/root: ssh -l admin > -oKexAlgorithms=+diffie-hellman-group1-sha1 192.168.1.XXX > Fssh_ssh_dispatch_run_fatal: Connection to 19

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

2016-08-08 Thread Dag-Erling Smørgrav
Andrey Chernov writes: > You should address your complains to original openssh author instead, it > was his decision to get rid of weak algos. In my personal opinion, if > your hardware is outdated, just drop it out. We can't turn our security > team into compatibility team, by constantly restorin

svn commit: r303831 - head/sys/netinet

2016-08-08 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 8 08:20:10 2016 New Revision: 303831 URL: https://svnweb.freebsd.org/changeset/base/303831 Log: Fix a locking issue found by stress testing with tsctp. The inp read lock neeeds to be held when considering control->do_not_ref_stcb. MFC after:3 days Modified:

svn commit: r303830 - head/usr.bin/getconf

2016-08-08 Thread Garrett Cooper
Author: ngie Date: Mon Aug 8 07:19:30 2016 New Revision: 303830 URL: https://svnweb.freebsd.org/changeset/base/303830 Log: Remove vestigal references to __alpha__ Replace alpha reference in getconf(1) with amd64 [*] MFC after:1 week PR: 211300 [*] Submitted by: Sevan

svn commit: r303829 - stable/11/release

2016-08-08 Thread Glen Barber
Author: gjb Date: Mon Aug 8 07:16:13 2016 New Revision: 303829 URL: https://svnweb.freebsd.org/changeset/base/303829 Log: MFC r303782: Fix GCE image publication. The gcutil utility is deprecated in favor of gcloud. Approved by: re (delphij, kib) Sponsored by: The FreeBSD Founda

svn commit: r303828 - stable/11/sys/dev/hyperv/storvsc

2016-08-08 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 8 07:09:40 2016 New Revision: 303828 URL: https://svnweb.freebsd.org/changeset/base/303828 Log: MFC 303737 hyperv/storvsc: Claim SPC-3 conformance, thus enable UNMAP support The Hyper-V on pre-win10 systems will only report SPC-2 conformance,