svn commit: r300660 - head/lib/libc/gen

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 06:55:53 2016 New Revision: 300660 URL: https://svnweb.freebsd.org/changeset/base/300660 Log: Fix 1016718 Resource leak. Don't leak a file descriptor if fchdir() fails. Reported by: Coverity CID: 1016718 MFC after:1 week Modified:

svn commit: r300659 - in head/sys/mips: conf mediatek

2016-05-24 Thread Stanislav Galabov
Author: sgalabov Date: Wed May 25 06:47:28 2016 New Revision: 300659 URL: https://svnweb.freebsd.org/changeset/base/300659 Log: Build etherswitch support for appropriate Ralink/Mediatek SoCs Etherswitch support is built by default on all SoCs except RT3662/RT3883 as they have no built-in

svn commit: r300658 - head/sys/gnu/dts/mips

2016-05-24 Thread Stanislav Galabov
Author: sgalabov Date: Wed May 25 06:39:48 2016 New Revision: 300658 URL: https://svnweb.freebsd.org/changeset/base/300658 Log: Bring ralink/mediatek DTS files in sync with LEDE This is the last sync with LEDE Project dts files before 11.0. Obtained from:LEDE Project Sponsore

svn commit: r300657 - head/sys/dev/ral

2016-05-24 Thread Stanislav Galabov
Author: sgalabov Date: Wed May 25 06:29:23 2016 New Revision: 300657 URL: https://svnweb.freebsd.org/changeset/base/300657 Log: Align radiotap structures in ral(4) Currently all radiotap structures in ral(4) are packed, but are not aligned, which causes ral based devices to crash when one

svn commit: r300655 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 06:01:47 2016 New Revision: 300655 URL: https://svnweb.freebsd.org/changeset/base/300655 Log: hyperv: Preserve required bits when disable Hypercall MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/

svn commit: r300654 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:53:12 2016 New Revision: 300654 URL: https://svnweb.freebsd.org/changeset/base/300654 Log: hyperv/vmbus: Rework SynIC setup and teardown - Avoid bit fields. - Fix SINT setup (preserve required bits). MFC after:1 week Sponsored by: Microsoft OST

svn commit: r300653 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:45:43 2016 New Revision: 300653 URL: https://svnweb.freebsd.org/changeset/base/300653 Log: hyperv/vmbus: Nuke unnecessary MSR read MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6528 Modifie

svn commit: r300652 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:37:42 2016 New Revision: 300652 URL: https://svnweb.freebsd.org/changeset/base/300652 Log: hyperv/vmbus: Pass vmbus softc to vmbus_synic_setup MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6

svn commit: r300651 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:30:48 2016 New Revision: 300651 URL: https://svnweb.freebsd.org/changeset/base/300651 Log: hyperv/vmbus: Minor style and white space cleanup MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D652

svn commit: r300650 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:22:35 2016 New Revision: 300650 URL: https://svnweb.freebsd.org/changeset/base/300650 Log: hyperv/vmbus: Move two global flags into vmbus softc And pack them into one flag field. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revisi

svn commit: r300649 - head/bin/setfacl

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 05:20:34 2016 New Revision: 300649 URL: https://svnweb.freebsd.org/changeset/base/300649 Log: Fix Coverity CID 1019054 (String not null terminated) in setfacl. Increase the size of buf[] by one to allow room for a NUL character at the end. Reported b

svn commit: r300648 - head/bin/ps

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 05:12:56 2016 New Revision: 300648 URL: https://svnweb.freebsd.org/changeset/base/300648 Log: Fix CID 1011370 (Resource leak) in ps. There is no need to to call strdup() on the value returned by fmt(). The latter calls fmt_argv() which always returns a dy

svn commit: r300647 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:06:15 2016 New Revision: 300647 URL: https://svnweb.freebsd.org/changeset/base/300647 Log: hyperv/vmbus: Move vcpuid into vmbus softc per-cpu data MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.or

svn commit: r300646 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 04:59:20 2016 New Revision: 300646 URL: https://svnweb.freebsd.org/changeset/base/300646 Log: hyperv/vmbus: Move event/message taskqueue/task to vmbus softc MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.fre

svn commit: r300645 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 03:39:42 2016 New Revision: 300645 URL: https://svnweb.freebsd.org/changeset/base/300645 Log: hyperv/vmbus: Allocate/setup IDT vector after all ISR resources are ready And release IDT vector before releasing ISR resources on interrupt teardown path. We stil

svn commit: r300644 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 03:30:56 2016 New Revision: 300644 URL: https://svnweb.freebsd.org/changeset/base/300644 Log: hyperv/vmbus: Check hyperv_dmamem_alloc return value Though it is highly unlikely this function would fail w/ BUS_DMA_WAITOK, we had better to check its return valu

svn commit: r300643 - head/bin/mv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 02:51:15 2016 New Revision: 300643 URL: https://svnweb.freebsd.org/changeset/base/300643 Log: Close from_fd if malloc() fails to avoid a file descriptor leak. Reported by: Coverity CID: 1007203 MFC after:1 week Modified: head/bin/mv/mv.

svn commit: r300642 - head/bin/sh

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 02:10:30 2016 New Revision: 300642 URL: https://svnweb.freebsd.org/changeset/base/300642 Log: Match the descriptions of the \H and \h prompt string sequences to reality. They were swapped. X-Confirmed by: jilles MFC after:1 week Modified: h

svn commit: r300640 - head/sys/cam/ata

2016-05-24 Thread Kenneth D. Merry
Author: ken Date: Wed May 25 01:37:39 2016 New Revision: 300640 URL: https://svnweb.freebsd.org/changeset/base/300640 Log: Fix a few ada(4) driver issues: o Some Samsung drives do not support the ATA READ LOG EXT or READ LOG DMA EXT commands, despite indicating that they do in their

svn commit: r300639 - head/usr.sbin/ypldap

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 01:37:25 2016 New Revision: 300639 URL: https://svnweb.freebsd.org/changeset/base/300639 Log: Fix Coverity CIDs 1340544 Resource leak and 1340543 Use after free At line 479 of ldapclient.c in client_build_req(), the error return leaks ldap_attrs (CID 1340

svn commit: r300638 - head/etc/rc.d

2016-05-24 Thread Cy Schubert
Author: cy Date: Wed May 25 01:35:02 2016 New Revision: 300638 URL: https://svnweb.freebsd.org/changeset/base/300638 Log: Use the expiry date to determine whether to replace the DB copy of leapfile instead of using the leapfile serial number (create timestamp). PR: 209577 MF

svn commit: r300637 - head/sys/dev/dpaa

2016-05-24 Thread Justin Hibbits
Author: jhibbits Date: Wed May 25 01:23:19 2016 New Revision: 300637 URL: https://svnweb.freebsd.org/changeset/base/300637 Log: Set the TLB caching properties for portals at attach time. This was found while reworking the device tree nodes for dtsec to match the Linux device tree. Instea

svn commit: r300636 - head/usr.sbin/ypserv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 00:25:38 2016 New Revision: 300636 URL: https://svnweb.freebsd.org/changeset/base/300636 Log: Delay calling yp_malloc_dnsent() until after some additional sanity checks to avoid leaking memory on error returns. Reported by: Coverity CID: 10074

svn commit: r300635 - head/usr.sbin/ypserv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 00:16:52 2016 New Revision: 300635 URL: https://svnweb.freebsd.org/changeset/base/300635 Log: Call free(cur) if strdup(dirp->d_name) fails to avoid a memory leak. Reported by: Coverity CID: 1007414 MFC after:1 week Modified: head/usr.sb

svn commit: r300634 - head/sys/boot/efi/loader

2016-05-24 Thread Conrad E. Meyer
Author: cem Date: Wed May 25 00:13:01 2016 New Revision: 300634 URL: https://svnweb.freebsd.org/changeset/base/300634 Log: efi loader: Match format string to EFI_ERROR_CODE() Silence a format specifier warning. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/boot/efi/

svn commit: r300633 - head/usr.sbin/acpi/acpidb

2016-05-24 Thread Don Lewis
Author: truckman Date: Tue May 24 23:41:36 2016 New Revision: 300633 URL: https://svnweb.freebsd.org/changeset/base/300633 Log: Fix acpidb CIDs 1011279 (Buffer not null terminated) and 978405 and 1199380 (Resource leak). load_dsdt() calls strncpy() to copy a filename and Coverity warns

svn commit: r300632 - head/usr.sbin/acpi/acpidump

2016-05-24 Thread Don Lewis
Author: truckman Date: Tue May 24 23:36:43 2016 New Revision: 300632 URL: https://svnweb.freebsd.org/changeset/base/300632 Log: Fix acpidump CID 1011278 (Buffer not null terminated) and other issues Coverity reports that a buffer used for temporary file generation might not be NUL termina

svn commit: r300631 - head/share/man/man5

2016-05-24 Thread Bryan Drewery
Author: bdrewery Date: Tue May 24 23:19:03 2016 New Revision: 300631 URL: https://svnweb.freebsd.org/changeset/base/300631 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r300630 - head/tools/build/options

2016-05-24 Thread Bryan Drewery
Author: bdrewery Date: Tue May 24 23:15:52 2016 New Revision: 300630 URL: https://svnweb.freebsd.org/changeset/base/300630 Log: WITH_META_MODE: Correct description of missing .meta file. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/options/WITH_META_MODE Modifi

svn commit: r300628 - in head/sys/dev/bhnd: . bhndb cores/chipc cores/pci cores/pcie2 siba

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 21:20:17 2016 New Revision: 300628 URL: https://svnweb.freebsd.org/changeset/base/300628 Log: [bhnd] Normalize bhnd(4) device matching API This unifies handling of core, chip, and board-level device matching, and adds support for matching device drivers a

svn commit: r300627 - head/sys/kern

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 21:13:33 2016 New Revision: 300627 URL: https://svnweb.freebsd.org/changeset/base/300627 Log: Silence false LOR report due to the taskqueue mutex and kqueue lock named the same. Reported by: Doug Luce Sponsored by: The FreeBSD Foundation Modified: head/

svn commit: r300626 - in head: sys/kern tests/sys/aio

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 21:09:05 2016 New Revision: 300626 URL: https://svnweb.freebsd.org/changeset/base/300626 Log: Return the correct status when a partially completed request is cancelled. After the previous changes to fix requests on blocking sockets to complete across multiple

svn commit: r300625 - head/sys/rpc

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 20:06:41 2016 New Revision: 300625 URL: https://svnweb.freebsd.org/changeset/base/300625 Log: Remove unnecessary memset(.., 0, ..)'s The mem_alloc macro calls calloc (userspace) / malloc(.., M_WAITOK|M_ZERO) under the covers, so zeroing out memory is already

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

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 19:52:05 2016 New Revision: 300624 URL: https://svnweb.freebsd.org/changeset/base/300624 Log: Fix up r300385 I accidentally glossed over the fact that tmp is manipulated via strchr, so if we tried to free `tmp` after r300385, it would have crashed. Creat

svn commit: r300622 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 19:20:30 2016 New Revision: 300622 URL: https://svnweb.freebsd.org/changeset/base/300622 Log: In vm_page_cache(), only drop the vnode after radix insert failure for empty page cache when the object type if OBJT_VNODE. Reported and tested by: pho Review

Re: svn commit: r300620 - head/lib/libc/rpc

2016-05-24 Thread Ngie Cooper (yaneurabeya)
> On May 24, 2016, at 11:49, Conrad Meyer wrote: > > On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote: >> Author: ngie >> Date: Tue May 24 18:44:50 2016 >> New Revision: 300620 >> URL: https://svnweb.freebsd.org/changeset/base/300620 >> >> Log: >> Use reallocf instead of malloc to fix l

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

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 18:53:06 2016 New Revision: 300621 URL: https://svnweb.freebsd.org/changeset/base/300621 Log: Remove redundant NULLing of outbuf_pmap If reallocf ever failed, outbuf_pmap would already be NULL MFC after: 1 week X-MFC with: r300620 Reported by: cem Sp

Re: svn commit: r300620 - head/lib/libc/rpc

2016-05-24 Thread Conrad Meyer
On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote: > Author: ngie > Date: Tue May 24 18:44:50 2016 > New Revision: 300620 > URL: https://svnweb.freebsd.org/changeset/base/300620 > > Log: > Use reallocf instead of malloc to fix leak with outbuf_pmap > > ... > > Add a outbuf_pmap = NULL in

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

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 18:44:50 2016 New Revision: 300620 URL: https://svnweb.freebsd.org/changeset/base/300620 Log: Use reallocf instead of malloc to fix leak with outbuf_pmap The previous code overwrote outbuf_pmap's memory with malloc once per loop iteration, which leaked its me

svn commit: r300619 - head/sys/cddl/dev/dtrace/aarch64

2016-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 24 17:38:27 2016 New Revision: 300619 URL: https://svnweb.freebsd.org/changeset/base/300619 Log: Try to unbreak the build after r300611 by including the header defining VM_MIN_KERNEL_ADDRESS. Sponsored by: DARPA/AFRL Modified: head/sys/cddl/dev/dtrace/aarch64/d

RE: svn commit: r300617 - head/sys/conf

2016-05-24 Thread Cy Schubert
>From the commit log it would appear that parallel builds worked whereas >sequential (non-parallel) builds did not. That's kind of strange. Sent from my cellphone, ~Cy -Original Message- From: Ruslan Bukin Sent: 24/05/2016 09:30 To: src-committ...@freebsd.org; svn-src-...@freebsd.org; s

svn commit: r300618 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/contrib/opensolaris/lib/libdtrace/riscv cddl/lib cddl/lib/libdtrace cddl/usr.sbin sys/cddl/contrib/opensolaris/uts/...

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 16:41:37 2016 New Revision: 300618 URL: https://svnweb.freebsd.org/changeset/base/300618 Log: Add initial DTrace support for RISC-V. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Added: head/cddl/contrib/opensolaris/lib/libdtrace/riscv/ head/cddl/contrib/o

svn commit: r300617 - head/sys/conf

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 16:30:05 2016 New Revision: 300617 URL: https://svnweb.freebsd.org/changeset/base/300617 Log: Set dependencies for genassym.c. This fixes non-parallel build. Modified: head/sys/conf/Makefile.riscv Modified: head/sys/conf/Makefile.riscv ==

Re: svn commit: r300557 - head/usr.sbin/apmd

2016-05-24 Thread John Baldwin
On Monday, May 23, 2016 09:24:41 PM Alan Somers wrote: > On Mon, May 23, 2016 at 9:15 PM, Peter Wemm wrote: > > > Author: peter > > Date: Tue May 24 03:15:46 2016 > > New Revision: 300557 > > URL: https://svnweb.freebsd.org/changeset/base/300557 > > > > Log: > > It seems is a new prerequisite

svn commit: r300616 - head/sys/dev/bhnd/soc

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 15:39:57 2016 New Revision: 300616 URL: https://svnweb.freebsd.org/changeset/base/300616 Log: [bhnd] fix compilation due to incompatible types Submitted by: Michael Zhilin Differential Revision: https://reviews.freebsd.org/D6532 Modified: head/sys/dev/b

Re: svn commit: r300423 - in head/sys: fs/ext2fs ufs/ffs

2016-05-24 Thread Pedro Giffuni
On 05/24/16 07:20, Bruce Evans wrote: On Sun, 22 May 2016, Kevin Lo wrote: Log: arc4random() returns 0 to (2**32)−1, use an alternative to initialize i_gen if it's zero rather than a divide by 2. With inputs from delphij, mckusick, rmacklem Reviewed by:mckusick ... Modified: head/s

svn commit: r300615 - head/sys/dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 14:34:36 2016 New Revision: 300615 URL: https://svnweb.freebsd.org/changeset/base/300615 Log: Add kern.icl.iser_offloads sysctl. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified: head/sys/dev/iscsi/ic

svn commit: r300613 - head/release/doc/en_US.ISO8859-1/relnotes

2016-05-24 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue May 24 13:58:07 2016 New Revision: 300613 URL: https://svnweb.freebsd.org/changeset/base/300613 Log: Bump copyright year Approved by: gjb@ (implicit) Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/

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

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 13:59:13 2016 New Revision: 300614 URL: https://svnweb.freebsd.org/changeset/base/300614 Log: Store the original value of stack pointer to the exception frame (the value we had before supervisor exception occurred). This helps consumers (e.g. DTrace) to not procee

svn commit: r300611 - head/sys/cddl/dev/dtrace/aarch64

2016-05-24 Thread Andrew Turner
Author: andrew Date: Tue May 24 13:57:23 2016 New Revision: 300611 URL: https://svnweb.freebsd.org/changeset/base/300611 Log: Mark all memory before the kernel as toxic to DTrace. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/dev/dtr

svn commit: r300612 - head/sys/dev/an

2016-05-24 Thread Sean Bruno
Author: sbruno Date: Tue May 24 13:57:23 2016 New Revision: 300612 URL: https://svnweb.freebsd.org/changeset/base/300612 Log: Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater than sc->areq. This is a bounds check to ensure we're not just cramming arbitrarily sized nons

svn commit: r300610 - head/sys/dev/ntb/if_ntb

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 12:40:03 2016 New Revision: 300610 URL: https://svnweb.freebsd.org/changeset/base/300610 Log: Re-enable write combining, disabled by default at r295486. if_ntb(4) strongly benefits from WC, improving throughput from 350Mbit/s to 8-10Gbit/s on my tests. MF

svn commit: r300609 - in head/sys/dev/sfxge: . common

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:20:23 2016 New Revision: 300609 URL: https://svnweb.freebsd.org/changeset/base/300609 Log: sfxge(4): enable Medford support Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://r

Re: svn commit: r300423 - in head/sys: fs/ext2fs ufs/ffs

2016-05-24 Thread Bruce Evans
On Sun, 22 May 2016, Kevin Lo wrote: Log: arc4random() returns 0 to (2**32)???1, use an alternative to initialize i_gen if it's zero rather than a divide by 2. With inputs from delphij, mckusick, rmacklem Reviewed by: mckusick ... Modified: head/sys/fs/ext2fs/ext2_alloc.c ==

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:19:14 2016 New Revision: 300608 URL: https://svnweb.freebsd.org/changeset/base/300608 Log: sfxge(4): bump driver version to the closest out-of-tree version Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified: head/sys/dev

svn commit: r300607 - in head: share/man/man4 sys/dev/sfxge sys/dev/sfxge/common

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:16:57 2016 New Revision: 300607 URL: https://svnweb.freebsd.org/changeset/base/300607 Log: sfxge(4): cleanup: update copyright to 2016 Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.free

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:15:30 2016 New Revision: 300606 URL: https://svnweb.freebsd.org/changeset/base/300606 Log: sfxge(4): provide option to disable not a local MAC address check Option EFSYS_OPT_ALLOW_UNCONFIGURED_NIC disables check that the adapter MAC address is not a lo

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:14:19 2016 New Revision: 300605 URL: https://svnweb.freebsd.org/changeset/base/300605 Log: sfxge(4): be ready to receive events immediately after event queues are created Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare C

svn commit: r300604 - head/sys/kern

2016-05-24 Thread Andrew Turner
Author: andrew Date: Tue May 24 12:06:56 2016 New Revision: 300604 URL: https://svnweb.freebsd.org/changeset/base/300604 Log: Limit calling pmc_hook to when the interrupt comes while running userspace. We may enable interrupts from within the callback, e.g. in a data abort during copyin. If

svn commit: r300603 - head/sys/net

2016-05-24 Thread Michael Tuexen
Author: tuexen Date: Tue May 24 11:47:14 2016 New Revision: 300603 URL: https://svnweb.freebsd.org/changeset/base/300603 Log: Allow an MTU of 65535 bytes to be set via TUN[SG]IFINFO. This requires changing the type on the mtu field in struct tuninfo from short to unsigned short. This is us

svn commit: r300602 - head/lib/libradius

2016-05-24 Thread Dag-Erling Smørgrav
Author: des Date: Tue May 24 11:44:43 2016 New Revision: 300602 URL: https://svnweb.freebsd.org/changeset/base/300602 Log: The NAS-Identifier attribute is a string, not an integer. MFC after:1 week Modified: head/lib/libradius/radlib.h Modified: head/lib/libradius/radlib.h =

svn commit: r300596 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:21:39 2016 New Revision: 300596 URL: https://svnweb.freebsd.org/changeset/base/300596 Log: In vm_page_alloc_contig(), on vm_page_insert() failure, mark each freed page as VPO_UNMANAGED. Otherwise vm_pge_free_toq() insists on owning the page lock. Previou

svn commit: r300595 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:16:03 2016 New Revision: 300595 URL: https://svnweb.freebsd.org/changeset/base/300595 Log: Remove Giant around allocation of the swap pager with non-NULL handle. Existing issue of not protecting pager_object_list iteration in vm_pager_object_lookup() by sw_all

svn commit: r300594 - head/sys/compat/linuxkpi/common/include/linux

2016-05-24 Thread Kevin Lo
Author: kevlo Date: Tue May 24 09:23:04 2016 New Revision: 300594 URL: https://svnweb.freebsd.org/changeset/base/300594 Log: Add __iowrite32_copy() to the Linux kernel compatibility layer. Reviewed by: hselasky Modified: head/sys/compat/linuxkpi/common/include/linux/io.h Modified: head

svn commit: r300593 - head/sys/dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:54:41 2016 New Revision: 300593 URL: https://svnweb.freebsd.org/changeset/base/300593 Log: Rename kern.icl.drivers to kern.icl.offloads, for consistency. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Mod

svn commit: r300592 - in head/sys: cam/ctl dev/cxgbe/cxgbei dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:44:45 2016 New Revision: 300592 URL: https://svnweb.freebsd.org/changeset/base/300592 Log: Add mechanism for choosing iSER-capable ICL modules. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c

svn commit: r300591 - head/sys/compat/linuxkpi/common/src

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:52:53 2016 New Revision: 300591 URL: https://svnweb.freebsd.org/changeset/base/300591 Log: Use the DROP_GIANT() and PICKUP_GIANT() macros instead of making assumptions about how the Giant mutex is locked. MFC after:1 week Sponsored by: Mellanox T

svn commit: r300590 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:46:20 2016 New Revision: 300590 URL: https://svnweb.freebsd.org/changeset/base/300590 Log: Set "current" for all PCI enumeration callbacks. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/c

svn commit: r300576 - head/sys/dev/hyperv/vmbus

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 24 07:07:11 2016 New Revision: 300576 URL: https://svnweb.freebsd.org/changeset/base/300576 Log: hyperv/vmbus: Free message taskqueue during interrupt teardown MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.fre

svn commit: r300575 - head/sys/compat/linuxkpi/common/include/linux

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:06:04 2016 New Revision: 300575 URL: https://svnweb.freebsd.org/changeset/base/300575 Log: Use make_dev_s() instead of make_dev() to avoid race setting "si_drv1". Convert panic() into regular error while at it. Suggested by: jhb @ MFC after:1 wee