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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Sat May 14 05:59:18 2016 New Revision: 299718 URL: https://svnweb.freebsd.org/changeset/base/299718 Log: sfxge(4): rename falconsiena_filter types Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

svn commit: r299715 - in head/sys/arm/nvidia: . tegra124

2016-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat May 14 05:00:17 2016 New Revision: 299715 URL: https://svnweb.freebsd.org/changeset/base/299715 Log: Use OF_prop_free instead of direct call to free(9) Reviewed by: mmel@ Modified: head/sys/arm/nvidia/as3722_gpio.c

svn commit: r299714 - in head/sys/dev/extres: clk hwreset phy regulator

2016-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat May 14 04:59:36 2016 New Revision: 299714 URL: https://svnweb.freebsd.org/changeset/base/299714 Log: Use OF_prop_free instead of direct call to free(9) Reviewed by: mmel@ Modified: head/sys/dev/extres/clk/clk.c head/sys/dev/extres/clk/clk_fixed.c

svn commit: r299713 - head/usr.sbin/timed/timed

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 14 04:29:13 2016 New Revision: 299713 URL: https://svnweb.freebsd.org/changeset/base/299713 Log: Undo the bogus gethostname() change from r299709. The "- 1" is there specifically to enable checking for NUL termination. I should also admit the rest change was

svn commit: r299712 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Sat May 14 04:13:28 2016 New Revision: 299712 URL: https://svnweb.freebsd.org/changeset/base/299712 Log: Fix some trivial clang/gcc warnings in bsnmptc.c - By definition, `enum snmp_tc` can't be false (the implied starting sequence index for the enum is 0). Don't

Re: svn commit: r299709 - head/usr.sbin/timed/timed

2016-05-13 Thread Bruce Evans
On Sat, 14 May 2016, Pedro F. Giffuni wrote: Log: timed(8): Use strlcpy() for bounds checking. Prevent some theorical buffer overruns reported by Coverity. Cleanup a use of gethostname() while here. CID: 1006713, 1011166, 1011167, 1011168, This has minor unimprovements except it

svn commit: r299711 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Sat May 14 04:00:17 2016 New Revision: 299711 URL: https://svnweb.freebsd.org/changeset/base/299711 Log: Fold two malloc + memset(.., 0, ..) calls into equivalent calloc calls MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r299710 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Sat May 14 03:57:18 2016 New Revision: 299710 URL: https://svnweb.freebsd.org/changeset/base/299710 Log: Staticize global variables only used in bsnmpimport.c to fix -Wmissing-variable-declarations warnings MFC after: 3 weeks Reported by: clang Sponsored by: EMC /

svn commit: r299709 - head/usr.sbin/timed/timed

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 14 02:42:09 2016 New Revision: 299709 URL: https://svnweb.freebsd.org/changeset/base/299709 Log: timed(8): Use strlcpy() for bounds checking. Prevent some theorical buffer overruns reported by Coverity. Cleanup a use of gethostname() while here. CID:

svn commit: r299708 - head/usr.sbin/timed/timed

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 14 01:12:23 2016 New Revision: 299708 URL: https://svnweb.freebsd.org/changeset/base/299708 Log: timed(8): Use stronger random number generator. Using arc4random simplifies the code by not having to worry about seeds which ironically depend on the time.

svn commit: r299707 - in head/usr.sbin/timed: timed timedc

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 14 00:46:38 2016 New Revision: 299707 URL: https://svnweb.freebsd.org/changeset/base/299707 Log: timed(8): use NULL instead of zero for pointers. Modified: head/usr.sbin/timed/timed/acksend.c head/usr.sbin/timed/timed/master.c head/usr.sbin/timed/timed/readmsg.c

svn commit: r299704 - in head: etc/mtree lib/libc/iconv lib/libc/tests lib/libc/tests/iconv

2016-05-13 Thread Eric van Gyzen
Author: vangyzen Date: Sat May 14 00:35:35 2016 New Revision: 299704 URL: https://svnweb.freebsd.org/changeset/base/299704 Log: iconvctl(3): remove superfluous NULL pointer tests convname and dst are guaranteed to be non-NULL by iconv_open(3). src is an array. Remove these tests for NULL

svn commit: r299703 - in head/sys/arm/allwinner: . clk

2016-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri May 13 22:28:02 2016 New Revision: 299703 URL: https://svnweb.freebsd.org/changeset/base/299703 Log: Use OF_prop_free instead of direct call to free(9) Approved by: jmcneill Modified: head/sys/arm/allwinner/a10_gpio.c head/sys/arm/allwinner/clk/aw_cpuclk.c

svn commit: r299702 - in head/sys/arm: at91 freescale/imx mv

2016-05-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri May 13 22:05:16 2016 New Revision: 299702 URL: https://svnweb.freebsd.org/changeset/base/299702 Log: Use OF_prop_free instead of direct call to free(9) Modified: head/sys/arm/at91/at91_pinctrl.c head/sys/arm/freescale/imx/imx_iomux.c head/sys/arm/mv/mv_localbus.c

svn commit: r299701 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 21:26:12 2016 New Revision: 299701 URL: https://svnweb.freebsd.org/changeset/base/299701 Log: Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h It was used in bsnmpmap.c but was stored in bsnmptools.c; moving the extern to the header allows us to

svn commit: r299700 - in head/contrib/jemalloc: . include/jemalloc/internal

2016-05-13 Thread Jason Evans
Author: jasone Date: Fri May 13 21:18:10 2016 New Revision: 299700 URL: https://svnweb.freebsd.org/changeset/base/299700 Log: Work around invalid gcc warning (explicit cast apparently lost). Modified: head/contrib/jemalloc/FREEBSD-diffs

svn commit: r299699 - head/lib/libbsnmp

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 21:17:49 2016 New Revision: 299699 URL: https://svnweb.freebsd.org/changeset/base/299699 Log: Remove NO_WERROR from libbsnmp/Makefile.inc This has been compiling without warnings with clang/gcc for a while now Tested with: clang 3.8.0, gcc 4.2.x, gcc 5.x

svn commit: r299694 - head/sys/dev/sym

2016-05-13 Thread Mark Johnston
Author: markj Date: Fri May 13 20:54:54 2016 New Revision: 299694 URL: https://svnweb.freebsd.org/changeset/base/299694 Log: Fix a bug in r298340: "sim" was referenced after being unset. Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c

Re: svn commit: r299587 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2016-05-13 Thread Jason Evans
On May 12, 2016, at 9:03 PM, Jason Evans wrote: > > Author: jasone > Date: Fri May 13 04:03:20 2016 > New Revision: 299587 > URL: https://svnweb.freebsd.org/changeset/base/299587 > > Log: > Update jemalloc to 4.2.0. > > [...] This trips on an invalid gcc warning for at

svn commit: r299693 - in head/sys: amd64/amd64 riscv/riscv

2016-05-13 Thread Alan Cox
Author: alc Date: Fri May 13 20:14:41 2016 New Revision: 299693 URL: https://svnweb.freebsd.org/changeset/base/299693 Log: Eliminate an unused #include. For a brief period of time, _unrhdr.h was used to implement PCID support on amd64. Reviewed by: kib Modified:

svn commit: r299692 - head/sys/dev/bhnd/tools

2016-05-13 Thread Ed Maste
Author: emaste Date: Fri May 13 18:56:56 2016 New Revision: 299692 URL: https://svnweb.freebsd.org/changeset/base/299692 Log: Use awk to run bhnd's awk script, to allow noexec src dir PR: 209435 Submitted by: Landon Fuller Differential Revision:

svn commit: r299691 - head/sys/dev/isp

2016-05-13 Thread Alexander Motin
Author: mav Date: Fri May 13 18:55:03 2016 New Revision: 299691 URL: https://svnweb.freebsd.org/changeset/base/299691 Log: Fix FCP_CMD LENGTH mask in ATIO7 IOCB. This caused "long IU length (16384) ignored" errors following by others. MFC after:2 weeks Modified:

svn commit: r299690 - head/sys/conf

2016-05-13 Thread Ed Maste
Author: emaste Date: Fri May 13 18:54:48 2016 New Revision: 299690 URL: https://svnweb.freebsd.org/changeset/base/299690 Log: Remove sh accidentally added to dependency lines in r299684 Submitted by: Landon Fuller Modified: head/sys/conf/files Modified:

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

2016-05-13 Thread John Baldwin
On Friday, May 13, 2016 10:10:44 AM Hans Petter Selasky wrote: > @@ -190,6 +258,7 @@ > #define smp_processor_id() PCPU_GET(cpuid) > #define num_possible_cpus() mp_ncpus > #define num_online_cpus() mp_ncpus > +#define cpu_has_clflush (1) This is only

Re: svn commit: r299590 - head/sys/dev/bxe

2016-05-13 Thread John Baldwin
On Friday, May 13, 2016 05:57:22 AM Scott Long wrote: > Author: scottl > Date: Fri May 13 05:57:21 2016 > New Revision: 299590 > URL: https://svnweb.freebsd.org/changeset/base/299590 > > Log: > Don't jam the softc in the device_probe routine. The softc isn't owned by > the driver here, so it

svn commit: r299689 - head/sys/dev/bwn

2016-05-13 Thread Adrian Chadd
Author: adrian Date: Fri May 13 18:41:36 2016 New Revision: 299689 URL: https://svnweb.freebsd.org/changeset/base/299689 Log: [bwn] add N-PHY related register defintions. * Add the siba bus phy/mac/bandwidth clock definitions (TGSLOW*) * Add the PHY-N register gateway (BWN_PHY_N()) *

svn commit: r299688 - in head/sys: arm/allwinner arm/allwinner/clk arm/allwinner/h3 arm/conf conf

2016-05-13 Thread Emmanuel Vadot
Author: manu Date: Fri May 13 18:20:54 2016 New Revision: 299688 URL: https://svnweb.freebsd.org/changeset/base/299688 Log: Add support for Allwinner H3 SoC. For now clocks, GPIO, Pinmux, UART, MMC, EHCI is supported. Tested on OrangePi-One Reviewed by: jmcneill Approved by: cognet

svn commit: r299687 - head/usr.sbin/binmiscctl

2016-05-13 Thread Don Lewis
Author: truckman Date: Fri May 13 17:48:04 2016 New Revision: 299687 URL: https://svnweb.freebsd.org/changeset/base/299687 Log: Another attempt at resolving CID 1305629. The test of cmd == -1 may make Coverity think that other negative values of cmd (used as an index) are possible.

svn commit: r299685 - in head/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware

2016-05-13 Thread Navdeep Parhar
Author: np Date: Fri May 13 17:38:59 2016 New Revision: 299685 URL: https://svnweb.freebsd.org/changeset/base/299685 Log: cxgbe(4): Update T5 and T4 firmwares to 1.15.37.0. These firmwares were obtained from the "Chelsio T5/T4 Unified Wire v2.12.0.3 for Linux" release. Changes since

svn commit: r299686 - head

2016-05-13 Thread Bryan Drewery
Author: bdrewery Date: Fri May 13 17:44:20 2016 New Revision: 299686 URL: https://svnweb.freebsd.org/changeset/base/299686 Log: Support libsoft for restage. This is essentially fixing a merge conflict. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r299588 - head/usr.sbin/binmiscctl

2016-05-13 Thread Don Lewis
On 14 May, Bruce Evans wrote: > On Fri, 13 May 2016, Don Lewis wrote: > >> Log: >> Revert r299584: >>Mark usage() as __dead2 so that Coverity doesn't think that execution >>continues after the call and uses a negative array subscript. >> >> Requested by: bde > > Thanks. > > What

svn commit: r299684 - head/sys/conf

2016-05-13 Thread Dimitry Andric
Author: dim Date: Fri May 13 16:35:37 2016 New Revision: 299684 URL: https://svnweb.freebsd.org/changeset/base/299684 Log: After r299241, which added bhnd(4), use sh to run the shell scripts for generating nvram maps, to allow a noexec-mounted source directory. Reported by: Johan

svn commit: r299683 - in head/sys/arm64: arm64 include

2016-05-13 Thread Andrew Turner
Author: andrew Date: Fri May 13 16:03:50 2016 New Revision: 299683 URL: https://svnweb.freebsd.org/changeset/base/299683 Log: Add support to the arm64 busdma to handle the cache. For now this is disabled, however when we enable it it will default to assume memory is not cache-coherent,

svn commit: r299682 - head/usr.sbin/i2c

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 13 15:57:55 2016 New Revision: 299682 URL: https://svnweb.freebsd.org/changeset/base/299682 Log: i2c(8): uninitialized variable (UNINIT). If i2c_opt.width is somehow zero, buf will be left uninitialized and may cause trouble later on. This is a followup to

Re: svn commit: r299678 - head/sys/x86/x86

2016-05-13 Thread Pintér , Olivér
On Fri, May 13, 2016 at 5:16 PM, Ed Maste wrote: > On 13 May 2016 at 11:11, Bjoern A. Zeeb wrote: > > Author: bz > > Date: Fri May 13 15:11:17 2016 > > New Revision: 299678 > > URL: https://svnweb.freebsd.org/changeset/base/299678 > > > ... > >

Re: svn commit: r299588 - head/usr.sbin/binmiscctl

2016-05-13 Thread Bruce Evans
On Fri, 13 May 2016, Don Lewis wrote: Log: Revert r299584: Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript. Requested by: bde Thanks. What was the problem that confused Coverity? This reminds me

svn commit: r299681 - head/sys/conf

2016-05-13 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 13 15:32:16 2016 New Revision: 299681 URL: https://svnweb.freebsd.org/changeset/base/299681 Log: hunt_ev.c was deleted with r299596. Remove it from the files list to (hopefully) unbreak amd64 LINT kernels. MFC after:1 week Modified:

svn commit: r299680 - head/sys/x86/x86

2016-05-13 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 13 15:29:40 2016 New Revision: 299680 URL: https://svnweb.freebsd.org/changeset/base/299680 Log: Remove the extra _RD as _RDTUN already includes it. Submitted by: emaste MFC after:2 weeks Modified: head/sys/x86/x86/mca.c Modified: head/sys/x86/x86/mca.c

Re: svn commit: r299678 - head/sys/x86/x86

2016-05-13 Thread Ed Maste
On 13 May 2016 at 11:11, Bjoern A. Zeeb wrote: > Author: bz > Date: Fri May 13 15:11:17 2016 > New Revision: 299678 > URL: https://svnweb.freebsd.org/changeset/base/299678 > ... > -SYSCTL_INT(_hw_mca, OID_AUTO, erratum383, CTLFLAG_RD, > _erratum383, 0, > +SYSCTL_INT(_hw_mca,

svn commit: r299679 - head/sys/dev/mmc/host

2016-05-13 Thread Andrew Turner
Author: andrew Date: Fri May 13 15:15:54 2016 New Revision: 299679 URL: https://svnweb.freebsd.org/changeset/base/299679 Log: Add DMA sync operations around accessing the dwmmc descriptor ring. Even with it maps as cache-coherent we still need to call bus_dmamap_sync. Obtained from:

svn commit: r299678 - head/sys/x86/x86

2016-05-13 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 13 15:11:17 2016 New Revision: 299678 URL: https://svnweb.freebsd.org/changeset/base/299678 Log: We already turn the AMD erratum383 workaround on for certain VM_GUEST_VM if specific CPU features are not present. Some simulation environments, e.g. gem5, have been

svn commit: r299676 - head/usr.sbin/bhyve

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 13 14:59:02 2016 New Revision: 299676 URL: https://svnweb.freebsd.org/changeset/base/299676 Log: bhyve: consider the bogus case of a negative bar idx. This is a followup to r297472 to squelch Coverity. CID: 1194319 Modified: head/usr.sbin/bhyve/pci_emul.c

svn commit: r299675 - head/usr.sbin/bhyve

2016-05-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 13 14:38:04 2016 New Revision: 299675 URL: https://svnweb.freebsd.org/changeset/base/299675 Log: bhyve: replace uninitialized variable "offset". Use io->io_req.br_offset instead. Suggested by: grehan CID: 1288937 Modified:

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 13:01:02 2016 New Revision: 299674 URL: https://svnweb.freebsd.org/changeset/base/299674 Log: Handle case of class being set, but not parent when calling device_register() in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored

FreeBSD kernel NFS RPCGSS_KRB5 subversion commit

2016-05-13 Thread Αλέξανδρος Περδικομάτης
hello, I am writing to you since I've got no other way in mind to discuss this subject. The reason I am writing is that I know no one to help my project on FreeBSD and the kernel commision from you is a proof tha you know the subject very well. by the way, if you allow me, I would want to

svn commit: r299673 - in head/sys/compat/linuxkpi/common/include: asm linux

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 12:41:21 2016 New Revision: 299673 URL: https://svnweb.freebsd.org/changeset/base/299673 Log: Add more PAGE related defines to the LinuxKPI. Move the definition of "pgprot_t" to "linux/page.h" similar to what Linux does. Obtained from:kmacy @

svn commit: r299672 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:24:39 2016 New Revision: 299672 URL: https://svnweb.freebsd.org/changeset/base/299672 Log: Version update patch. Submitted by: Sumit Saxena Reviewed by:Kashyap Desai MFC after: 3 days

svn commit: r299671 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:21:50 2016 New Revision: 299671 URL: https://svnweb.freebsd.org/changeset/base/299671 Log: Following bugs fixed as part of this patch: .Kernel panic while collecting kdump (reported by Doug A.) .NULL pointer dereference at sertain places .Removed dead

svn commit: r299670 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:18:12 2016 New Revision: 299670 URL: https://svnweb.freebsd.org/changeset/base/299670 Log: Added supprot for Avago Intruder controller. Submitted by: Sumit Saxena Reviewed by:Kashyap Desai

svn commit: r299669 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:15:20 2016 New Revision: 299669 URL: https://svnweb.freebsd.org/changeset/base/299669 Log: Implemented interrupt Config Hook in mrsas(4) to defer some of the tasks, like: riegistering AEN, creating cdev. Submitted by: Sumit Saxena

svn commit: r299668 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:12:09 2016 New Revision: 299668 URL: https://svnweb.freebsd.org/changeset/base/299668 Log: This patch implements driver support for 1MB IO size. NOTE: The FreeBSD system currently restricts the MAX IO size to MAXPHYS which in turn is 128KB. We tested

svn commit: r299667 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:05:02 2016 New Revision: 299667 URL: https://svnweb.freebsd.org/changeset/base/299667 Log: Similar to RAID map for Logical Drives, now JBOD map has been introduced for JBODs. Driver has to sync the JBOD map with firmware and use sequence number as a

svn commit: r299666 - head/sys/dev/mrsas

2016-05-13 Thread Kashyap D Desai
Author: kadesai Date: Fri May 13 12:00:46 2016 New Revision: 299666 URL: https://svnweb.freebsd.org/changeset/base/299666 Log: There was no ERROR handling for firmware command TIMEOUT. This patch takes care of any firmware command timeout scenarios by initiating OCR. Submitted by:

Fashionablyin Jeweller Expo

2016-05-13 Thread Tina Maria
13 May 2016 Friday http://fashionablyin.us1.list-manage.com/track/click?u=8e7d8ec661c4606682b4765dd=c12f5fc516=f2b96bde3b http://fashionablyin.us1.list-manage1.com/track/click?u=8e7d8ec661c4606682b4765dd=00ae60d74a=f2b96bde3b ** Jeweller Expo

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 11:51:43 2016 New Revision: 299665 URL: https://svnweb.freebsd.org/changeset/base/299665 Log: Implement "old_encode_dev()" for the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified:

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 11:42:36 2016 New Revision: 299664 URL: https://svnweb.freebsd.org/changeset/base/299664 Log: Define _IOC_SIZE() in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified:

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 11:30:56 2016 New Revision: 299663 URL: https://svnweb.freebsd.org/changeset/base/299663 Log: Add unlikely() statement to optimise the IS_ERR_VALUE() macro. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r299662 - head/sys/boot/geli

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 11:27:49 2016 New Revision: 299662 URL: https://svnweb.freebsd.org/changeset/base/299662 Log: Fix a -Wformat warning by using %d, not %ld for md_iterations md_iterations is int32_t, not long. Reported by: clang MFC after: 1 week Sponsored by: EMC /

svn commit: r299661 - head/sys/boot/geli

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 11:24:55 2016 New Revision: 299661 URL: https://svnweb.freebsd.org/changeset/base/299661 Log: Add geliboot_crypt(..) definition to geliboot.h to mute a -Wimplicit-function-declaration warning Reported by: clang MFC after: 1 week Sponsored by: EMC /

svn commit: r299660 - head/sys/boot/i386/zfsboot

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 11:20:21 2016 New Revision: 299660 URL: https://svnweb.freebsd.org/changeset/base/299660 Log: Put slba and elba under LOADER_GELI_SUPPORT ifdef to mute warning about them being unused in the non-GELI case MFC after: 1 week Reported by: clang Sponsored

svn commit: r299658 - head/sys/dev/pci

2016-05-13 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 13 11:18:27 2016 New Revision: 299658 URL: https://svnweb.freebsd.org/changeset/base/299658 Log: When using IOPORT with pci_host_generic we are missing setting the rman_end() which leads to end being before start and thus a signed extended very large number of size

svn commit: r299659 - head/sys/boot/i386/zfsboot

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 11:18:29 2016 New Revision: 299659 URL: https://svnweb.freebsd.org/changeset/base/299659 Log: Remove unused const variable MFC after: 1 week Reported by: clang Sponsored by: EMC / Isilon Storage Division Modified: head/sys/boot/i386/zfsboot/zfsboot.c

svn commit: r299657 - head/sys/cddl/boot/zfs

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 11:15:33 2016 New Revision: 299657 URL: https://svnweb.freebsd.org/changeset/base/299657 Log: Include arpa/inet.h to get the htonl(3) definition MFC after: 2 weeks Reported by: clang Sponsored by: EMC / Isilon Storage Division Modified:

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 11:02:02 2016 New Revision: 299656 URL: https://svnweb.freebsd.org/changeset/base/299656 Log: Implement nsecs_to_jiffies() in the LinuxKPI and while at it streamline the rest of the xxx_to_jiffies() functions to have a constant 64-bit argument and use

svn commit: r299655 - head/sys/boot/i386/common

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 10:59:46 2016 New Revision: 299655 URL: https://svnweb.freebsd.org/changeset/base/299655 Log: Add missing prototype for getchar(..) MFC after: 1 week Reported by: clang Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r299654 - head/lib/libc/tests/nss

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 10:52:02 2016 New Revision: 299654 URL: https://svnweb.freebsd.org/changeset/base/299654 Log: Read the contents of the snapshot files properly - Use fgetln instead of fgets; localize complexity related to fgetln(3) inside the loop. - Skip over blank

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 10:10:43 2016 New Revision: 299653 URL: https://svnweb.freebsd.org/changeset/base/299653 Log: Add more Linux defines. Improve some existing ones. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r299575 - head/sys/net80211

2016-05-13 Thread Andriy Voskoboinyk
Fri, 13 May 2016 02:56:56 +0300 було написано Adrian Chadd : It works - but REFCNT_LOC macro is not used since r178354 (multi-vap support). Wait a sec, I thought the DEBUG_REFCNT stuff worked? -a On 12 May 2016 at 15:17, Andriy Voskoboinyk

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

2016-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 13 09:21:22 2016 New Revision: 299641 URL: https://svnweb.freebsd.org/changeset/base/299641 Log: The Linux error defines should all be positive, else frequently used error code checks might fail. ERESTART is in the BSD world defined as -1. While at it add more

svn commit: r299637 - head/sys/netinet

2016-05-13 Thread Michael Tuexen
Author: tuexen Date: Fri May 13 09:11:41 2016 New Revision: 299637 URL: https://svnweb.freebsd.org/changeset/base/299637 Log: Fix a bug introduced by the implementation of I-DATA support. There was the requirement that two structures are in sync, which is not valid anymore. Therefore don't

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:17:38 2016 New Revision: 299612 URL: https://svnweb.freebsd.org/changeset/base/299612 Log: sfxge(4): rename falconsiena_filter_* Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:16:29 2016 New Revision: 299611 URL: https://svnweb.freebsd.org/changeset/base/299611 Log: sfxge(4): rename falconsiena_tx_* Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:15:51 2016 New Revision: 299610 URL: https://svnweb.freebsd.org/changeset/base/299610 Log: sfxge(4): rename falconsiena_rx_* Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:15:02 2016 New Revision: 299609 URL: https://svnweb.freebsd.org/changeset/base/299609 Log: sfxge(4): rename falconsiena_mac_* Falcon support has been removed, so this code only supports Siena. Reviewed by:Andy Moreton Sponsored by:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:12:14 2016 New Revision: 299608 URL: https://svnweb.freebsd.org/changeset/base/299608 Log: sfxge(4): rename falconsiena_intr_* falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:11:36 2016 New Revision: 299607 URL: https://svnweb.freebsd.org/changeset/base/299607 Log: sfxge(4): rename falconsiena_ev_* Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton Sponsored by:

svn commit: r299606 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:10:07 2016 New Revision: 299606 URL: https://svnweb.freebsd.org/changeset/base/299606 Log: sfxge(4): move ef10_vpd_* to ef10_vpd.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299605 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:08:33 2016 New Revision: 299605 URL: https://svnweb.freebsd.org/changeset/base/299605 Log: sfxge(4): move ef10_tx_* to ef10_tx.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299604 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:06:57 2016 New Revision: 299604 URL: https://svnweb.freebsd.org/changeset/base/299604 Log: sfxge(4): move ef10_rx_* to ef10_rx.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299603 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:05:40 2016 New Revision: 299603 URL: https://svnweb.freebsd.org/changeset/base/299603 Log: sfxge(4): move ef10_phy_* to ef10_phy.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299602 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:04:28 2016 New Revision: 299602 URL: https://svnweb.freebsd.org/changeset/base/299602 Log: sfxge(4): move ef10_nvram_* to ef10_nvram.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299601 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:03:04 2016 New Revision: 299601 URL: https://svnweb.freebsd.org/changeset/base/299601 Log: sfxge(4): move ef10_nic_* to ef10_nic.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299600 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 07:00:46 2016 New Revision: 299600 URL: https://svnweb.freebsd.org/changeset/base/299600 Log: sfxge(4): move ef10_mcdi_* to ef10_mcdi.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299599 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:59:20 2016 New Revision: 299599 URL: https://svnweb.freebsd.org/changeset/base/299599 Log: sfxge(4): move ef10_mac_* to ef10_mac.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299598 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:58:20 2016 New Revision: 299598 URL: https://svnweb.freebsd.org/changeset/base/299598 Log: sfxge(4): move ef10_intr_* to ef10_intr.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299597 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:57:08 2016 New Revision: 299597 URL: https://svnweb.freebsd.org/changeset/base/299597 Log: sfxge(4): move ef10_filter_* to ef10_filter.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

svn commit: r299596 - in head/sys: dev/sfxge/common modules/sfxge

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:54:18 2016 New Revision: 299596 URL: https://svnweb.freebsd.org/changeset/base/299596 Log: sfxge(4): move ef10_ev_* to ef10_ev.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Added:

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:47:47 2016 New Revision: 299595 URL: https://svnweb.freebsd.org/changeset/base/299595 Log: sfxge(4): comment on when we assume multicast chaining is available It's the same on Medford as Huntington. Multicast chaining is not always on, even with

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

2016-05-13 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 13 06:47:07 2016 New Revision: 299594 URL: https://svnweb.freebsd.org/changeset/base/299594 Log: sfxge(4): avoid duplicate delivery of packets when changing multicast mode with multicast chaining enabled With multicast chaining, if e.g. a specific multicast

svn commit: r299593 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-13 Thread Don Lewis
Author: truckman Date: Fri May 13 06:45:16 2016 New Revision: 299593 URL: https://svnweb.freebsd.org/changeset/base/299593 Log: Properly compute the size argument to pass to malloc(). Reported by: Coverity CID: 1198856 MFC after:1 week Modified:

svn commit: r299592 - head/usr.sbin/mptutil

2016-05-13 Thread Don Lewis
Author: truckman Date: Fri May 13 06:26:42 2016 New Revision: 299592 URL: https://svnweb.freebsd.org/changeset/base/299592 Log: Move a call to cam_freeccb() to avoid a use after free error and a later double free. Reported by: Coverity CID: 1018507 MFC after:1 week

svn commit: r299591 - head/usr.bin/mail

2016-05-13 Thread Don Lewis
Author: truckman Date: Fri May 13 06:15:05 2016 New Revision: 299591 URL: https://svnweb.freebsd.org/changeset/base/299591 Log: Always return either a dynamically allocated string or NULL from expand(). Never return the name parameter, which could be a the buf[] buffer which is allocated