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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 05:24:55 2016 New Revision: 296305 URL: https://svnweb.freebsd.org/changeset/base/296305 Log: hyperv/hn: Make # of rings configurable And since the host may not being able to allocate the # of rings requested by us, save the # of rings allocated by the host

svn commit: r296302 - head/sys/net80211

2016-03-01 Thread Mark Johnston
Author: markj Date: Wed Mar 2 05:01:58 2016 New Revision: 296302 URL: https://svnweb.freebsd.org/changeset/base/296302 Log: Use m_catpkt(9) to avoid a possible use-after-free in ieee80211_defrag(). m is not guaranteed to be valid after m_cat() returns. The effects of this are most

svn commit: r296304 - head/sys/dev/usb/net

2016-03-01 Thread Mark Johnston
Author: markj Date: Wed Mar 2 05:05:02 2016 New Revision: 296304 URL: https://svnweb.freebsd.org/changeset/base/296304 Log: Use m_catpkt(9) to ensure that pkthdr fields are updated properly. Reviewed by: glebius MFC after:1 week Differential Revision:

svn commit: r296303 - head/sys/netipsec

2016-03-01 Thread Mark Johnston
Author: markj Date: Wed Mar 2 05:04:04 2016 New Revision: 296303 URL: https://svnweb.freebsd.org/changeset/base/296303 Log: Set tres to NULL to avoid a double free if the m_pullup() below fails. Reviewed by: glebius MFC after:1 week Differential Revision:

svn commit: r296301 - head/share/man/man9

2016-03-01 Thread Mark Johnston
Author: markj Date: Wed Mar 2 04:58:51 2016 New Revision: 296301 URL: https://svnweb.freebsd.org/changeset/base/296301 Log: Document m_catpkt(), and remove misinformation about m_cat(9). Since m_cat() may copy data from the second mbuf chain into the last mbuf of the first chain, it may

svn commit: r296300 - head/usr.sbin/pw

2016-03-01 Thread Mark Johnston
Author: markj Date: Wed Mar 2 04:56:36 2016 New Revision: 296300 URL: https://svnweb.freebsd.org/changeset/base/296300 Log: Fix a typo that prevented pw(8) from setting a user's UID to 0. MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified:

Re: svn commit: r296299 - head/sys/contrib/ipfilter/netinet

2016-03-01 Thread Cy Schubert
In message , Marcelo Araujo writes: > --001a113c48b0b9a687052d08a983 > 2016-03-02 11:40 GMT+08:00 Don Lewis : > > > On 2 Mar, Cy Schubert wrote: > > > Author: cy > > > Date: Wed Mar 2 03:28:57 2016 > > >

Re: svn commit: r296299 - head/sys/contrib/ipfilter/netinet

2016-03-01 Thread Cy Schubert
In message <201603020340.u223ehi1055...@gw.catspoiler.org>, Don Lewis writes: > On 2 Mar, Cy Schubert wrote: > > Author: cy > > Date: Wed Mar 2 03:28:57 2016 > > New Revision: 296299 > > URL: https://svnweb.freebsd.org/changeset/base/296299 > > > > Log: > > Remove redundant NULL pointer

Re: svn commit: r296299 - head/sys/contrib/ipfilter/netinet

2016-03-01 Thread Marcelo Araujo
2016-03-02 11:40 GMT+08:00 Don Lewis : > On 2 Mar, Cy Schubert wrote: > > Author: cy > > Date: Wed Mar 2 03:28:57 2016 > > New Revision: 296299 > > URL: https://svnweb.freebsd.org/changeset/base/296299 > > > > Log: > > Remove redundant NULL pointer comparison. > > > >

Re: svn commit: r296299 - head/sys/contrib/ipfilter/netinet

2016-03-01 Thread Don Lewis
On 2 Mar, Cy Schubert wrote: > Author: cy > Date: Wed Mar 2 03:28:57 2016 > New Revision: 296299 > URL: https://svnweb.freebsd.org/changeset/base/296299 > > Log: > Remove redundant NULL pointer comparison. > > Reported by: PVS-Studio (V595) in D5245 > Differential

svn commit: r296299 - head/sys/contrib/ipfilter/netinet

2016-03-01 Thread Cy Schubert
Author: cy Date: Wed Mar 2 03:28:57 2016 New Revision: 296299 URL: https://svnweb.freebsd.org/changeset/base/296299 Log: Remove redundant NULL pointer comparison. Reported by: PVS-Studio (V595) in D5245 Differential Revision:D5245 Modified:

svn commit: r296298 - in head/sys/dev: bhnd pci puc quicc scc

2016-03-01 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 2 03:26:56 2016 New Revision: 296298 URL: https://svnweb.freebsd.org/changeset/base/296298 Log: Replace some more default range checks with RMAN_IS_DEFAULT_RANGE(). This is a follow-on to r295832. Modified: head/sys/dev/bhnd/bhnd.c

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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 03:19:59 2016 New Revision: 296297 URL: https://svnweb.freebsd.org/changeset/base/296297 Log: hyperv/hn: Fix typo in comment MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/netvsc/hv_net_vsc.c Modified:

svn commit: r296296 - in head/sys/dev/hyperv: include netvsc

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 03:07:31 2016 New Revision: 296296 URL: https://svnweb.freebsd.org/changeset/base/296296 Log: hyperv/hn: Make read buffer per-channel Submitted by: Hongjiang Zhang Reorganized by: sephe MFC after:1 week Sponsored by: Microsoft OSTC Modified:

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

2016-03-01 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 2 02:29:35 2016 New Revision: 296295 URL: https://svnweb.freebsd.org/changeset/base/296295 Log: Use the m_extadd() function instead of deprecated MEXTADD(). Suggested by: glebius Modified: head/sys/dev/dpaa/if_dtsec_rm.c Modified:

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

2016-03-01 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 2 02:27:53 2016 New Revision: 296294 URL: https://svnweb.freebsd.org/changeset/base/296294 Log: Remove some debug printfs Modified: head/sys/dev/dpaa/bman_fdt.c Modified: head/sys/dev/dpaa/bman_fdt.c

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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 02:27:13 2016 New Revision: 296293 URL: https://svnweb.freebsd.org/changeset/base/296293 Log: hyperv/hn: Pass channel to hv_nv_on_receive_completion() While I'm here, staticize this function. Submitted by: Hongjiang Zhang Modified by: sephe MFC

svn commit: r296292 - head/sys/kern

2016-03-01 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 2 02:12:01 2016 New Revision: 296292 URL: https://svnweb.freebsd.org/changeset/base/296292 Log: Fix regression in r296242 affecting several drivers. For EXT_NET_DRV, EXT_MOD_TYPE, EXT_DISPOSABLE types we should first execute the free callback, then free the

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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 01:40:47 2016 New Revision: 296291 URL: https://svnweb.freebsd.org/changeset/base/296291 Log: hyperv/chan: Factor out the vcpu setting And use it for cpu0 assignment; it does not sound right to assume that cpu0 maps to vcpu0. And this factored out function

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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 01:33:30 2016 New Revision: 296290 URL: https://svnweb.freebsd.org/changeset/base/296290 Log: hyperv/chan: Function renaming; no functional change The renamed function create a sysctl tree for channel, and many non-statistics nodes exists, so don't claim it

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

2016-03-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Mar 2 01:26:05 2016 New Revision: 296289 URL: https://svnweb.freebsd.org/changeset/base/296289 Log: hyperv/chan: Add sysctl node to check whether monitor is allocated or not MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r296287 - head/sys/powerpc/mpc85xx

2016-03-01 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 2 00:18:05 2016 New Revision: 296287 URL: https://svnweb.freebsd.org/changeset/base/296287 Log: Fix 2 bugs in the mpc85xx local bus controller driver. 1) Include opt_platform.h to get QORIQ_DPAA. Otherwise the definition of OCP85XX_TGTIF_LBC is incorrect.

svn commit: r296286 - head/sys/dev/filemon

2016-03-01 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 2 00:13:13 2016 New Revision: 296286 URL: https://svnweb.freebsd.org/changeset/base/296286 Log: Remove filemon->lock wrappers. MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/filemon/filemon.c

svn commit: r296285 - head/sys/kern

2016-03-01 Thread Bryan Drewery
Author: bdrewery Date: Tue Mar 1 23:58:53 2016 New Revision: 296285 URL: https://svnweb.freebsd.org/changeset/base/296285 Log: Correct a comment. Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c

svn commit: r296284 - in head/sys/arm/allwinner: . a31

2016-03-01 Thread Jared McNeill
Author: jmcneill Date: Tue Mar 1 22:54:30 2016 New Revision: 296284 URL: https://svnweb.freebsd.org/changeset/base/296284 Log: Add support for Allwinner A31/A31s EHCI controller and USB PHY. Reviewed by: andrew, Emmanuel Vadot Approved by: gonzo

svn commit: r296283 - head/sys/kern

2016-03-01 Thread John Baldwin
Author: jhb Date: Tue Mar 1 22:51:44 2016 New Revision: 296283 URL: https://svnweb.freebsd.org/changeset/base/296283 Log: Use SCHEDULER_STOPPED() in cv_*wait*() instead of checking panicstr. Reviewed by: kib MFC after:1 month Sponsored by: Netflix Differential Revision:

svn commit: r296281 - in head/share/i18n: csmapper esdb

2016-03-01 Thread Bryan Drewery
Author: bdrewery Date: Tue Mar 1 22:25:49 2016 New Revision: 296281 URL: https://svnweb.freebsd.org/changeset/base/296281 Log: DIRDEPS_BUILD: Fix mapper files building during dirdeps. Sponsored by: EMC / Isilon Storage Division Modified: head/share/i18n/csmapper/Makefile

svn commit: r296282 - head/share/mk

2016-03-01 Thread Bryan Drewery
Author: bdrewery Date: Tue Mar 1 22:25:54 2016 New Revision: 296282 URL: https://svnweb.freebsd.org/changeset/base/296282 Log: CCACHE_BUILD+META_MODE: Lookup and canonicalize the default CCACHE_DIR. This is done to prevent not having CCACHE_DIR causing meta mode with filemon to see

svn commit: r296280 - head/usr.sbin/portsnap/portsnap

2016-03-01 Thread Jason Helfman
Author: jgh (doc,ports committer) Date: Tue Mar 1 22:13:20 2016 New Revision: 296280 URL: https://svnweb.freebsd.org/changeset/base/296280 Log: - update portsnap(8) to direct users to pkg-version PR: 202971 Submitted by: ad...@freebsd.org Reviewed by: bdrewery@ Approved

svn commit: r296279 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm cr...

2016-03-01 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 1 22:08:28 2016 New Revision: 296279 URL: https://svnweb.freebsd.org/changeset/base/296279 Log: Merge OpenSSL 1.0.2g. Relnotes: yes Added: head/crypto/openssl/ssl/sslv2conftest.c - copied unchanged from r296273,

svn commit: r296278 - head/lib/libc/locale

2016-03-01 Thread Pedro F. Giffuni
Author: pfg Date: Tue Mar 1 19:15:34 2016 New Revision: 296278 URL: https://svnweb.freebsd.org/changeset/base/296278 Log: mbtowc(3): set errno to EILSEQ if an incomplete character is passed. According to POSIX, The mbtowc() function shall fail if: [EILSEQ] An invalid character sequence

svn commit: r296277 - in head: share/man/man4 sys/conf sys/kern sys/modules sys/modules/aio sys/sys tests/sys/aio

2016-03-01 Thread John Baldwin
Author: jhb Date: Tue Mar 1 18:12:14 2016 New Revision: 296277 URL: https://svnweb.freebsd.org/changeset/base/296277 Log: Refactor the AIO subsystem to permit file-type-specific handling and improve cancellation robustness. Introduce a new file operation, fo_aio_queue, which is

svn commit: r296272 - in head: . share/man/man9 sys/arm/ti/am335x sys/dev/aac sys/dev/ath sys/dev/bwn sys/dev/bxe sys/dev/drm2 sys/dev/hyperv/vmbus sys/dev/malo sys/dev/nfe sys/dev/oce sys/dev/re s...

2016-03-01 Thread John Baldwin
+38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20160301: Remove taskqueue_enqueue_fast +OLD_FILES+=usr/share/man/man9/taskqueue_enqueue_fast.9.gz # 20160225: Remove casperd and libcapsicum. OLD_FILES+=sbin/casperd OLD_FILES+=etc/rc.d/casperd Modified: head/share/man/man9/Ma

svn commit: r296271 - head/contrib/jemalloc/include/jemalloc/internal

2016-03-01 Thread Ruslan Bukin
Author: br Date: Tue Mar 1 17:43:06 2016 New Revision: 296271 URL: https://svnweb.freebsd.org/changeset/base/296271 Log: Restore configuration for RISC-V. Modified: head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h Modified:

svn commit: r296269 - head/sys/dev/gpio

2016-03-01 Thread Michal Meloun
Author: mmel Date: Tue Mar 1 16:10:15 2016 New Revision: 296269 URL: https://svnweb.freebsd.org/changeset/base/296269 Log: OFW_GPIOBUS: Add utility functions for easier handling of OFW GPIO pins. Reviewed by: ian, loos (paritaly) Modified: head/sys/dev/gpio/gpiobusvar.h

svn commit: r296268 - head/lib/libthr/thread

2016-03-01 Thread Konstantin Belousov
Author: kib Date: Tue Mar 1 15:21:01 2016 New Revision: 296268 URL: https://svnweb.freebsd.org/changeset/base/296268 Log: Add two comments explaining the fine points of the hash implementation. Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential revision:

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

2016-03-01 Thread Ed Maste
Author: emaste Date: Tue Mar 1 14:30:35 2016 New Revision: 296267 URL: https://svnweb.freebsd.org/changeset/base/296267 Log: Regenerate src.conf.5 after r296193 and r296264 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r296266 - head/sys/arm64/arm64

2016-03-01 Thread Wojciech Macek
Author: wma Date: Tue Mar 1 12:50:24 2016 New Revision: 296266 URL: https://svnweb.freebsd.org/changeset/base/296266 Log: Get memory ranges from FDT if no EFI API is available on ARM64 Obtained from: Semihalf Submitted by: Michal Stanek Sponsored

svn commit: r296265 - in head/sys: arm/arm dev/fdt mips/beri

2016-03-01 Thread Andrew Turner
Author: andrew Date: Tue Mar 1 11:39:07 2016 New Revision: 296265 URL: https://svnweb.freebsd.org/changeset/base/296265 Log: Make the memory size returned from fdt_get_mem_regions a 64-bit type. This is the physical memory size so may be larger than a u_long can hold, e.g. on ARM with LPAE

Re: svn commit: r296197 - in head: share/man/man5 usr.sbin/autofs

2016-03-01 Thread Edward Tomasz Napierala
On 0229T1348, Ed Maste wrote: > On 29 February 2016 at 12:14, Edward Tomasz Napierala > wrote: > > Author: trasz > > Date: Mon Feb 29 17:14:04 2016 > > New Revision: 296197 > > URL: https://svnweb.freebsd.org/changeset/base/296197 > > > > Log: > > Autofs is section 5, not 4.

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

2016-03-01 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 1 11:36:10 2016 New Revision: 296264 URL: https://svnweb.freebsd.org/changeset/base/296264 Log: Fix section numbers for autofs(5), kbdcontrol(1), vidcontrol(1), quota(1), and telnet(1) in the right place. MFC after:1 month Sponsored by: The FreeBSD

svn commit: r296263 - head/lib/libpmc

2016-03-01 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 1 11:34:44 2016 New Revision: 296263 URL: https://svnweb.freebsd.org/changeset/base/296263 Log: Connect pmc.haswellxeon(3) to the build; looks like it was missed in r279829. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r296262 - head/sys/kern

2016-03-01 Thread Svatopluk Kraus
Author: skra Date: Tue Mar 1 11:27:58 2016 New Revision: 296262 URL: https://svnweb.freebsd.org/changeset/base/296262 Log: Remove an alternative way for dealing with root interrupt controller which is not complete. Likely, it was forgotten and not removed before committing. Modified:

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

2016-03-01 Thread Svatopluk Kraus
Author: skra Date: Tue Mar 1 10:57:29 2016 New Revision: 296261 URL: https://svnweb.freebsd.org/changeset/base/296261 Log: Mark other parts of interrupt framework as INTR_SOLO option specific. Note that isrc_arg member of struct intr_irqsrc is used only for INTR_SOLO and IPI filter.

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

2016-03-01 Thread Andrew Turner
Author: andrew Date: Tue Mar 1 09:51:36 2016 New Revision: 296258 URL: https://svnweb.freebsd.org/changeset/base/296258 Log: Stop setting the memory size in the arm EFI and FDT code, we don't use it. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/machdep.c Modified:

svn commit: r296257 - in head/sys: arm/mv dev/cesa dev/fdt riscv/riscv

2016-03-01 Thread Andrew Turner
Author: andrew Date: Tue Mar 1 09:45:27 2016 New Revision: 296257 URL: https://svnweb.freebsd.org/changeset/base/296257 Log: Make the fdt_get_mem_regions memsize argument optional. It's only used in by a few callers. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/mv/mv_common.c

svn commit: r296254 - head/sys/net80211

2016-03-01 Thread Andriy Voskoboinyk
Author: avos Date: Tue Mar 1 06:47:21 2016 New Revision: 296254 URL: https://svnweb.freebsd.org/changeset/base/296254 Log: net80211: eliminate copy-paste nearby ieee80211_check_rxseq() Approved by: adrian (mentor) Differential Revision:https://reviews.freebsd.org/D4043

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

2016-03-01 Thread Wojciech Macek
Author: wma Date: Tue Mar 1 08:15:00 2016 New Revision: 296256 URL: https://svnweb.freebsd.org/changeset/base/296256 Log: Enable SRE_EL2 on ARM64 Enable system register access for EL2. Alpine-V2 is the first device requiring this to be enabled. It is also in-sync with Linux

svn commit: r296255 - head/sys/arm64/conf

2016-03-01 Thread Wojciech Macek
Author: wma Date: Tue Mar 1 07:06:36 2016 New Revision: 296255 URL: https://svnweb.freebsd.org/changeset/base/296255 Log: Add uart 8250 device to GENERIC arm64 configuration Obtained from: Semihalf Submitted by: Michal Stanek Sponsored by:

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

2016-03-01 Thread Andriy Voskoboinyk
Tue, 01 Mar 2016 01:09:31 +0200 було написано Gleb Smirnoff : Thanks! Author: glebius Date: Mon Feb 29 23:09:31 2016 New Revision: 296241 URL: https://svnweb.freebsd.org/changeset/base/296241 Log: Fix !IEEE80211_DEBUG build. Modified: