svn commit: r301242 - head/libexec/rshd

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Fri Jun 3 06:58:20 2016 New Revision: 301242 URL: https://svnweb.freebsd.org/changeset/base/301242 Log: Add blacklist support to rshd Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision:ht

Re: svn commit: r301172 - head/contrib/blacklist

2016-06-02 Thread Jan Beich
Kurt Lidl writes: > Author: lidl > Date: Wed Jun 1 22:04:10 2016 > New Revision: 301172 > URL: https://svnweb.freebsd.org/changeset/base/301172 > > Log: > Import NetBSD's blacklist source from vendor tree > > This import includes The basic blacklist library and utility programs, > to ad

svn commit: r301241 - head/libexec/ftpd

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Fri Jun 3 06:24:03 2016 New Revision: 301241 URL: https://svnweb.freebsd.org/changeset/base/301241 Log: Add blacklist support to ftpd Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision:ht

svn commit: r301240 - in head: tools/build/mk usr.sbin/blacklistd

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Fri Jun 3 06:15:52 2016 New Revision: 301240 URL: https://svnweb.freebsd.org/changeset/base/301240 Log: Add blacklistd.conf manpage Install the blacklistd.conf man page, missed in the original commit. Submitted by: Herbert J. Skuhra ( herbert at mailbox.org ) Revi

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

2016-06-02 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jun 3 05:27:34 2016 New Revision: 301237 URL: https://svnweb.freebsd.org/changeset/base/301237 Log: sfxge(4): support EVQ timer workaround via MCDI Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differen

Re: svn commit: r301236 - head/sys/dev/drm2

2016-06-02 Thread Adrian Chadd
fwiw, this made me cry. a lot. grr. -adrian On 2 June 2016 at 22:01, Adrian Chadd wrote: > Author: adrian > Date: Fri Jun 3 05:01:35 2016 > New Revision: 301236 > URL: https://svnweb.freebsd.org/changeset/base/301236 > > Log: > [drm] fix up hex_dump_to_buffer to not overflow linebuf. > >

svn commit: r301236 - head/sys/dev/drm2

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Fri Jun 3 05:01:35 2016 New Revision: 301236 URL: https://svnweb.freebsd.org/changeset/base/301236 Log: [drm] fix up hex_dump_to_buffer to not overflow linebuf. That check wasn't enough to handle appending a two byte character following it. This prevented my T40

svn commit: r301235 - head/sbin/dhclient

2016-06-02 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 3 03:40:39 2016 New Revision: 301235 URL: https://svnweb.freebsd.org/changeset/base/301235 Log: dhclient(1): correct obvious mismatch in get_char(). Correct switch between current and previous line buffers when encountering a carriage return in the input. C

svn commit: r301230 - head/sys/conf

2016-06-02 Thread Glen Barber
Author: gjb Date: Fri Jun 3 00:06:24 2016 New Revision: 301230 URL: https://svnweb.freebsd.org/changeset/base/301230 Log: Update to ALPHA2 in preparation of a new set of snapshot builds. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/newvers.s

Re: svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread Ian Lepore
On Thu, 2016-06-02 at 14:05 -0700, John Baldwin wrote: > On Thursday, June 02, 2016 01:24:28 PM Ian Lepore wrote: > > On Thu, 2016-06-02 at 21:03 +0200, Zbigniew Bodek wrote: > > > 2016-06-02 20:48 GMT+02:00 Ian Lepore : > > > > > > > On Thu, 2016-06-02 at 18:31 +, Zbigniew Bodek wrote: > > >

Re: svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread John Baldwin
On Thursday, June 02, 2016 01:24:28 PM Ian Lepore wrote: > On Thu, 2016-06-02 at 21:03 +0200, Zbigniew Bodek wrote: > > 2016-06-02 20:48 GMT+02:00 Ian Lepore : > > > > > On Thu, 2016-06-02 at 18:31 +, Zbigniew Bodek wrote: > > > > Author: zbb > > > > Date: Thu Jun 2 18:31:36 2016 > > > > New

Re: New Defects reported by Coverity Scan for FreeBSD

2016-06-02 Thread Ngie Cooper
On Tue, May 31, 2016 at 10:30 AM, wrote: > > Hi, > > Please find the latest report on new defect(s) introduced to FreeBSD found > with Coverity Scan. > > 25 new defect(s) introduced to FreeBSD found with Coverity Scan. > 135 defect(s), reported by Coverity Scan earlier, were marked fixed in the

svn commit: r301229 - in head/sys/ofed/drivers/infiniband: core ulp/ipoib

2016-06-02 Thread George V. Neville-Neil
Author: gnn Date: Thu Jun 2 20:53:43 2016 New Revision: 301229 URL: https://svnweb.freebsd.org/changeset/base/301229 Log: Fix up the Infiniband code to handle the new arpresolve. Modified: head/sys/ofed/drivers/infiniband/core/addr.c head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c

Re: svn commit: r301217 - in head/sys: net netinet netinet6

2016-06-02 Thread George Neville-Neil
On 2 Jun 2016, at 16:21, Ngie Cooper wrote: On Thu, Jun 2, 2016 at 10:51 AM, George V. Neville-Neil wrote: Author: gnn Date: Thu Jun 2 17:51:29 2016 New Revision: 301217 URL: https://svnweb.freebsd.org/changeset/base/301217 Log: This change re-adds L2 caching for TCP and UDP, as original

svn commit: r301228 - head/lib

2016-06-02 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 2 20:31:02 2016 New Revision: 301228 URL: https://svnweb.freebsd.org/changeset/base/301228 Log: Remove libstdc++ again. This was mis-merged in r298107 which missed r289389. Modified: head/lib/Makefile Modified: head/lib/Makefile ==

Re: svn commit: r301217 - in head/sys: net netinet netinet6

2016-06-02 Thread Ngie Cooper
On Thu, Jun 2, 2016 at 10:51 AM, George V. Neville-Neil wrote: > Author: gnn > Date: Thu Jun 2 17:51:29 2016 > New Revision: 301217 > URL: https://svnweb.freebsd.org/changeset/base/301217 > > Log: > This change re-adds L2 caching for TCP and UDP, as originally added in D4306 > but removed du

svn commit: r301227 - in head: contrib/llvm/lib/Target/X86 lib/clang/include/clang/Basic

2016-06-02 Thread Dimitry Andric
Author: dim Date: Thu Jun 2 19:54:38 2016 New Revision: 301227 URL: https://svnweb.freebsd.org/changeset/base/301227 Log: Pull in r271548 from upstream llvm trunk (by me): Only attempt to detect AVG if SSE2 is available Summary: In PR29973 Sanjay Patel reported an assertion fa

Re: svn commit: r301226 - in head: etc etc/defaults etc/periodic/security etc/rc.d lib lib/libblacklist libexec libexec/blacklistd-helper share/mk tools/build/mk usr.sbin usr.sbin/blacklistctl usr.sbi

2016-06-02 Thread Renato Botelho
> On Jun 2, 2016, at 16:24, Renato Botelho wrote: > >> On Jun 2, 2016, at 16:06, Kurt Lidl wrote: >> >> Author: lidl >> Date: Thu Jun 2 19:06:04 2016 >> New Revision: 301226 >> URL: https://svnweb.freebsd.org/changeset/base/301226 >> >> Log: >> Add basic blacklist build support >> >> Reviewe

Re: svn commit: r301226 - in head: etc etc/defaults etc/periodic/security etc/rc.d lib lib/libblacklist libexec libexec/blacklistd-helper share/mk tools/build/mk usr.sbin usr.sbin/blacklistctl usr.sbi

2016-06-02 Thread Renato Botelho
> On Jun 2, 2016, at 16:06, Kurt Lidl wrote: > > Author: lidl > Date: Thu Jun 2 19:06:04 2016 > New Revision: 301226 > URL: https://svnweb.freebsd.org/changeset/base/301226 > > Log: > Add basic blacklist build support > > Reviewed by: rpaulo > Approved by: rpaulo > Relnotes:YES > Spon

Re: svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread Ian Lepore
On Thu, 2016-06-02 at 21:03 +0200, Zbigniew Bodek wrote: > 2016-06-02 20:48 GMT+02:00 Ian Lepore : > > > On Thu, 2016-06-02 at 18:31 +, Zbigniew Bodek wrote: > > > Author: zbb > > > Date: Thu Jun 2 18:31:36 2016 > > > New Revision: 301220 > > > URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r301226 - in head: etc etc/defaults etc/periodic/security etc/rc.d lib lib/libblacklist libexec libexec/blacklistd-helper share/mk tools/build/mk usr.sbin usr.sbin/blacklistctl usr.sbin...

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Thu Jun 2 19:06:04 2016 New Revision: 301226 URL: https://svnweb.freebsd.org/changeset/base/301226 Log: Add basic blacklist build support Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision:

Re: svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread Zbigniew Bodek
2016-06-02 20:48 GMT+02:00 Ian Lepore : > On Thu, 2016-06-02 at 18:31 +, Zbigniew Bodek wrote: > > Author: zbb > > Date: Thu Jun 2 18:31:36 2016 > > New Revision: 301220 > > URL: https://svnweb.freebsd.org/changeset/base/301220 > > > > Log: > > Map CESA SRAM memory in driver attach for Arma

Re: svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread Ian Lepore
On Thu, 2016-06-02 at 18:31 +, Zbigniew Bodek wrote: > Author: zbb > Date: Thu Jun 2 18:31:36 2016 > New Revision: 301220 > URL: https://svnweb.freebsd.org/changeset/base/301220 > > Log: > Map CESA SRAM memory in driver attach for Armada38x > > On other platforms with CESA accelerator

svn commit: r301225 - in head/sys: arm/conf boot/fdt/dts/arm dev/cesa

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:41:33 2016 New Revision: 301225 URL: https://svnweb.freebsd.org/changeset/base/301225 Log: Add support for CESA on Armada38x Changes: - added new SoC ID in CESA attach - allowed crypto driver IDs other than 0 - added CESA nodes to Armada38x .dts files

svn commit: r301224 - head/sys/dev/cesa

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:39:33 2016 New Revision: 301224 URL: https://svnweb.freebsd.org/changeset/base/301224 Log: Add HMAC-SHA256 support in CESA Only HMAC-SHA256 is added as it is the only SHA-2 variant supported by cryptodev. It is not possible to register hardware support for

svn commit: r301223 - head/sys/dev/cesa

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:37:50 2016 New Revision: 301223 URL: https://svnweb.freebsd.org/changeset/base/301223 Log: Truncate HMAC output only if requested by the client The output of HMAC was previously truncated to 12 bytes. This was only correct in case of one particular crypto c

svn commit: r301222 - in head/sys: boot/fdt/dts/arm dev/cesa

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:35:35 2016 New Revision: 301222 URL: https://svnweb.freebsd.org/changeset/base/301222 Log: Split CESA memory resource into TDMA and CESA regs TDMA and CESA registers are placed in different ranges of memory. Split memory resource in DTS to reflect that. Thi

svn commit: r301221 - head/sys/arm/mv

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:33:26 2016 New Revision: 301221 URL: https://svnweb.freebsd.org/changeset/base/301221 Log: Configure CPU window to second CESA SRAM Check if there is a second CESA SRAM node in FDT and add a CPU window for it. Define A38X specific macro for setting device a

svn commit: r301220 - in head/sys: arm/mv dev/cesa

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:31:36 2016 New Revision: 301220 URL: https://svnweb.freebsd.org/changeset/base/301220 Log: Map CESA SRAM memory in driver attach for Armada38x On other platforms with CESA accelerator the SRAM memory is mapped in early init before driver is attached. This m

svn commit: r301219 - head/contrib/blacklist/bin

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Thu Jun 2 18:25:32 2016 New Revision: 301219 URL: https://svnweb.freebsd.org/changeset/base/301219 Log: Fixup path in NetBSD supplied documentation for FreeBSD NetBSD installs the blacklist-helper script in /libexec, and it goes into /usr/libexec on FreeBSD. Update th

svn commit: r301218 - head/sys/boot/fdt/dts/arm

2016-06-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jun 2 18:24:00 2016 New Revision: 301218 URL: https://svnweb.freebsd.org/changeset/base/301218 Log: Revert part of r294418 ("Correct ranges...") Commit was temporary fix due to rman_res_t defined as 32-bit u_long. After redefining it as 64-bit variable workaround is

svn commit: r301217 - in head/sys: net netinet netinet6

2016-06-02 Thread George V. Neville-Neil
Author: gnn Date: Thu Jun 2 17:51:29 2016 New Revision: 301217 URL: https://svnweb.freebsd.org/changeset/base/301217 Log: This change re-adds L2 caching for TCP and UDP, as originally added in D4306 but removed due to other changes in the system. Restore the llentry pointer to the "struct r

svn commit: r301216 - head/usr.bin/sockstat

2016-06-02 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 2 17:31:37 2016 New Revision: 301216 URL: https://svnweb.freebsd.org/changeset/base/301216 Log: Fix two types which resulted in setting the address long wrong for IPv6 addresses. Reported by: pfg@ CID: 1347086 MFC after:1 week Modified: h

svn commit: r301215 - head/lib/libc/iconv

2016-06-02 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 2 17:28:39 2016 New Revision: 301215 URL: https://svnweb.freebsd.org/changeset/base/301215 Log: citrus: Remove redundant code in _citrus_esdb_get_list(). It appears "sorted" may have not been implemented. Sorted or not, we always follow the same action so simpli

svn commit: r301214 - head/sys/netinet6

2016-06-02 Thread Mark Johnston
Author: markj Date: Thu Jun 2 17:21:57 2016 New Revision: 301214 URL: https://svnweb.freebsd.org/changeset/base/301214 Log: Exploit r301213 to fix in6 ifaddr locking in pfxlist_onlink_check(). Reviewed by: ae, hrs MFC after:2 weeks Differential Revision:https://reviews.fre

svn commit: r301213 - head/sys/netinet6

2016-06-02 Thread Mark Johnston
Author: markj Date: Thu Jun 2 17:17:15 2016 New Revision: 301213 URL: https://svnweb.freebsd.org/changeset/base/301213 Log: Always start IPv6 DAD asynchronously. Otherwise we transmit the first neighbour solicitation in the context of the caller of nd6_dad_start(), which can easily resul

svn commit: r301212 - head/sys/vm

2016-06-02 Thread Mark Johnston
Author: markj Date: Thu Jun 2 17:11:24 2016 New Revision: 301212 URL: https://svnweb.freebsd.org/changeset/base/301212 Log: Reset the page busy lock state after failing to insert into the object. Freeing a shared-busy page is not permitted. Reviewed by: kib MFC after:1 week D

svn commit: r301210 - head/sys/vm

2016-06-02 Thread Mark Johnston
Author: markj Date: Thu Jun 2 16:58:47 2016 New Revision: 301210 URL: https://svnweb.freebsd.org/changeset/base/301210 Log: Don't preserve the page's object linkage in vm_page_insert_after(). Per the KASSERT at the beginning of the function, we expect that the page does not belong to any

svn commit: r301202 - head/sys/dev/usb/wlan

2016-06-02 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jun 2 12:01:58 2016 New Revision: 301202 URL: https://svnweb.freebsd.org/changeset/base/301202 Log: urtw: fix unused variable assignments. Append CWmax and retry limitation to tp->maxretry instead of rewriting it (will restore pre-r198194 behavior). Noticed by

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Hans Petter Selasky
On 06/02/16 13:14, Roger Pau Monné wrote: + callout_reset(&rxq->rx_refill, hz/10, xn_alloc_rx_buffers_callout, + rxq); Maybe use callout_reset_curcpu() to take advantage of callout's SMP capabilities ? --HPS ___ svn

svn commit: r301204 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 14:25:10 2016 New Revision: 301204 URL: https://svnweb.freebsd.org/changeset/base/301204 Log: xen-netfront: use callout_reset_curcpu instead of callout_reset This should help distribute the load of the callbacks. Suggested by: hps Sponsored by: Citrix

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Hans Petter Selasky
On 06/02/16 16:28, Roger Pau Monné wrote: Thanks for the clarification. I did get the impression that callout_reset already distributed the callbacks across the number of available CPUs, maybe the man page should be expanded to explain this? Hi, It makes sense that callout_reset() should distr

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
On Thu, Jun 02, 2016 at 03:01:03PM +0200, Hans Petter Selasky wrote: > On 06/02/16 14:54, Roger Pau Monné wrote: > > On Thu, Jun 02, 2016 at 01:19:56PM +0200, Hans Petter Selasky wrote: > > > On 06/02/16 13:14, Roger Pau Monné wrote: > > > > + callout_reset(&rxq->rx_refill, hz/10, >

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

2016-06-02 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 2 15:30:58 2016 New Revision: 301206 URL: https://svnweb.freebsd.org/changeset/base/301206 Log: usb/uhso: Don't bail out on first USB error. CID: 1305680 Submitted by: hselasky MFC after:3 days Modified: head/sys/dev/usb/net/uhso.c Modified: h

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

2016-06-02 Thread Ruslan Bukin
Author: br Date: Thu Jun 2 15:14:40 2016 New Revision: 301205 URL: https://svnweb.freebsd.org/changeset/base/301205 Log: Fix typos. Modified: head/sys/riscv/riscv/elf_machdep.c Modified: head/sys/riscv/riscv/elf_machdep.c =

svn commit: r301201 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:21:00 2016 New Revision: 301201 URL: https://svnweb.freebsd.org/changeset/base/301201 Log: xen-netfront: perform an interface reset when changing options The PV backend will only pick the new options when the interface is detached and reattached again, s

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

2016-06-02 Thread Kashyap D Desai
Author: kadesai Date: Thu Jun 2 12:26:55 2016 New Revision: 301203 URL: https://svnweb.freebsd.org/changeset/base/301203 Log: Added support for Avago/Broadcom Cutlass(12 Gbps- 16 port count) controllers. Submitted by: Sumit Saxena Reviewed by:Kashyap Desai MFC after: 3 days

svn commit: r301198 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:16:35 2016 New Revision: 301198 URL: https://svnweb.freebsd.org/changeset/base/301198 Log: xen-netfront: switch to using an interrupt handler In order to use custom taskqueues we would have to mask the interrupt, which is basically what is already done f

Re: svn commit: r301198 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
On Thu, Jun 02, 2016 at 11:16:36AM +, Roger Pau Monné wrote: > Author: royger > Date: Thu Jun 2 11:16:35 2016 > New Revision: 301198 > URL: https://svnweb.freebsd.org/changeset/base/301198 > > Log: > xen-netfront: switch to using an interrupt handler > > In order to use custom taskqueu

svn commit: r301200 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:19:16 2016 New Revision: 301200 URL: https://svnweb.freebsd.org/changeset/base/301200 Log: xen-netfront: release grant references used for the shared rings Just calling gnttab_end_foreign_access_ref doesn't free the references, instead call gnttab_end_fo

svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:14:26 2016 New Revision: 301197 URL: https://svnweb.freebsd.org/changeset/base/301197 Log: xen-netfront: always keep the Rx ring full of requests This is based on Linux commit 1f3c2eba1e2d866ef99bb9b10ade4096e3d7607c from David Vrabel: A full Rx rin

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

2016-06-02 Thread Bruce Evans
On Wed, 1 Jun 2016, Konstantin Belousov wrote: On Wed, Jun 01, 2016 at 05:44:47PM +0200, Ed Schouten wrote: ... - In our implementation, struct sigevent::sigev_notify_attributes has type "void *" instead of "pthread_attr_t *". My guess is that this was done to prevent pulling in the pt

svn commit: r301187 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:42:28 2016 New Revision: 301187 URL: https://svnweb.freebsd.org/changeset/base/301187 Log: [iwm] add LED blinking for iwm hardware that supports it. Submitted by: Imre Vadasz Obtained from:DragonflyBSD, Linux iwlwifi/mvm Added: head/sys/dev/i

svn commit: r301195 - head/sys/xen

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 07:45:01 2016 New Revision: 301195 URL: https://svnweb.freebsd.org/changeset/base/301195 Log: xen: rewrite Xen error translation Using the public Xen error code header. Submitted by: Akshay Jaggi Reviewed by: royger Modified: head/sys/xen/error.h

svn commit: r301192 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 05:43:16 2016 New Revision: 301192 URL: https://svnweb.freebsd.org/changeset/base/301192 Log: [iwm] Fix several nitpicks in iwm(4). Move some declarations to if_iwmreg.h. Remove iwm_fw_alive(); just call iwm_post_alive() directly. Simplify iwm

svn commit: r301191 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 05:00:52 2016 New Revision: 301191 URL: https://svnweb.freebsd.org/changeset/base/301191 Log: [iwm] Add bit-polling in Rx-DMA init code path. Taken-From: OpenBSD (if_iwm.c r1.80) Submitted by: Imre Vadasz Obtained from:DragonflyBSD ed35558

svn commit: r301182 - head/sys/dev/ath

2016-06-02 Thread George V. Neville-Neil
Author: gnn Date: Thu Jun 2 01:59:41 2016 New Revision: 301182 URL: https://svnweb.freebsd.org/changeset/base/301182 Log: Fix kernel build. Improper definition location of a variable. Modified: head/sys/dev/ath/if_ath_btcoex_mci.c Modified: head/sys/dev/ath/if_ath_btcoex_mci.c

svn commit: r301180 - head/sbin/ipfw

2016-06-02 Thread Don Lewis
Author: truckman Date: Thu Jun 2 00:42:15 2016 New Revision: 301180 URL: https://svnweb.freebsd.org/changeset/base/301180 Log: Belatedly bump .Dd date for Dummynet AQM import in r300779. Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8

svn commit: r301176 - head/sys/vm

2016-06-02 Thread Mark Johnston
Author: markj Date: Wed Jun 1 22:31:35 2016 New Revision: 301176 URL: https://svnweb.freebsd.org/changeset/base/301176 Log: Fix memguard(9) in kernels with INVARIANTS enabled. With r284861, UMA zones use the trash ctor and dtor by default. This is incompatible with memguard, which frees

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

2016-06-02 Thread Mark Johnston
Author: markj Date: Wed Jun 1 22:34:21 2016 New Revision: 301177 URL: https://svnweb.freebsd.org/changeset/base/301177 Log: Remove the BUGS entry in memguard's man page. UMA refcounting is gone as of r296243, so this bug no longer exists. In particular, it's now possible to guard mbuf cl

svn commit: r301174 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2016-06-02 Thread Alan Somers
Author: asomers Date: Wed Jun 1 22:21:42 2016 New Revision: 301174 URL: https://svnweb.freebsd.org/changeset/base/301174 Log: Improve the English in a comment sys/cddl/contrib/opensolaris/uts/common/sys/acl.h: Improve the english in a comment. No functional changes Submitted

svn commit: r301179 - head/share/misc

2016-06-02 Thread Landon J. Fuller
Author: landonf Date: Wed Jun 1 23:20:32 2016 New Revision: 301179 URL: https://svnweb.freebsd.org/changeset/base/301179 Log: Add myself as src commiter. Approved by: adrian (mentor) Differential Revision:https://reviews.freebsd.org/D6686 Modified: head/share/misc/committers-

svn commit: r301173 - head/sys/geom/mirror

2016-06-02 Thread Gleb Smirnoff
Author: glebius Date: Wed Jun 1 22:11:54 2016 New Revision: 301173 URL: https://svnweb.freebsd.org/changeset/base/301173 Log: When we are in panic, always go the asynchronous path in g_mirror_destroy(), otherwise the system will hang. This is a temporarily least intrusive crutch to get c

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

2016-06-02 Thread Jilles Tjoelker
Author: jilles Date: Wed Jun 1 21:58:13 2016 New Revision: 301171 URL: https://svnweb.freebsd.org/changeset/base/301171 Log: thr_*(2): Add xrefs to what libthr implements using each syscall. Add text to thr_exit(2) and thr_new(2) discouraging their use in applications since calling these

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
On Thu, Jun 02, 2016 at 11:14:26AM +, Roger Pau Monné wrote: > Author: royger > Date: Thu Jun 2 11:14:26 2016 > New Revision: 301197 > URL: https://svnweb.freebsd.org/changeset/base/301197 > > Log: > xen-netfront: always keep the Rx ring full of requests > > This is based on Linux comm

svn commit: r301199 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:18:02 2016 New Revision: 301199 URL: https://svnweb.freebsd.org/changeset/base/301199 Log: xen-netfront: fix two hotplug related issues This patch fixes two issues seen on hot-unplug. The first one is a panic caused by calling ether_ifdetach after freein

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Hans Petter Selasky
On 06/02/16 14:54, Roger Pau Monné wrote: On Thu, Jun 02, 2016 at 01:19:56PM +0200, Hans Petter Selasky wrote: On 06/02/16 13:14, Roger Pau Monné wrote: + callout_reset(&rxq->rx_refill, hz/10, xn_alloc_rx_buffers_callout, + rxq); Maybe use callout_reset_curcpu

Re: svn commit: r301197 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
On Thu, Jun 02, 2016 at 01:19:56PM +0200, Hans Petter Selasky wrote: > On 06/02/16 13:14, Roger Pau Monné wrote: > > + callout_reset(&rxq->rx_refill, hz/10, > > xn_alloc_rx_buffers_callout, > > + rxq); > > Maybe use callout_reset_curcpu() to take advantage of callout's SMP

svn commit: r301194 - head/sys/xen

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 07:43:02 2016 New Revision: 301194 URL: https://svnweb.freebsd.org/changeset/base/301194 Log: xen: add missing #define in include guard. Submitted by: Akshay Jaggi Reviewed by: royger Modified: head/sys/xen/gnttab.h Modified: head/sys/xen/gnttab.h ===

svn commit: r301193 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 06:22:59 2016 New Revision: 301193 URL: https://svnweb.freebsd.org/changeset/base/301193 Log: [iwm] valid_{tx,rx}_ant from radio_cfg is only needed for 8000 family. * The "if (!data->valid_tx_ant || !data->valid_rx_ant) {" check was getting triggered with

svn commit: r301189 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:53:28 2016 New Revision: 301189 URL: https://svnweb.freebsd.org/changeset/base/301189 Log: [iwm] Use IWM_MAX_CMD_PAYLOAD_SIZE to improve command length checks. Taken-From: OpenBSD (parts of if_iwm.c r1.57 and if_iwmreg.h r1.10) Obtained from:

svn commit: r301190 - head/sys/dev/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:54:56 2016 New Revision: 301190 URL: https://svnweb.freebsd.org/changeset/base/301190 Log: [iwm] Clean up iwm(4) scanning logic a bit. Submitted by: Imre Vadasz Obtained from:DragonflyBSD 8f3ffab9136e33263d424275ec28f57ad2096437 Modified: hea

svn commit: r301188 - in head/sys: conf modules/iwm

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:42:45 2016 New Revision: 301188 URL: https://svnweb.freebsd.org/changeset/base/301188 Log: [iwm] add if_iwm_led.c into the build. Modified: head/sys/conf/files head/sys/modules/iwm/Makefile Modified: head/sys/conf/files ===

svn commit: r301208 - head/sys/kern

2016-06-02 Thread Mateusz Guzik
Author: mjg Date: Thu Jun 2 15:52:34 2016 New Revision: 301208 URL: https://svnweb.freebsd.org/changeset/base/301208 Log: taskqueue: plug a leak in _taskqueue_create While here make some style fixes and postpone the sprintf so that it is only done when the function can no longer fail.

svn commit: r301185 - head/sbin/ifconfig

2016-06-02 Thread Allan Jude
Author: allanjude Date: Thu Jun 2 03:16:02 2016 New Revision: 301185 URL: https://svnweb.freebsd.org/changeset/base/301185 Log: Address feedback from hrs@ re: r301059 (ifconfig subnet mask) - Use NI_MAXHOST to size buffers for getnameinfo() - remove non-standard 'full' inet6 address prin

svn commit: r301172 - head/contrib/blacklist

2016-06-02 Thread Kurt Lidl
Author: lidl Date: Wed Jun 1 22:04:10 2016 New Revision: 301172 URL: https://svnweb.freebsd.org/changeset/base/301172 Log: Import NetBSD's blacklist source from vendor tree This import includes The basic blacklist library and utility programs, to add a system-wide packet filtering notifi

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

2016-06-02 Thread Alan Somers
Author: asomers Date: Thu Jun 2 15:31:24 2016 New Revision: 301207 URL: https://svnweb.freebsd.org/changeset/base/301207 Log: Fix exit status of "service routing start " etc/rc.d/routing Ignore the exit status of options_{inet,inet6,atm}. It's meaningless. Reviewed by

svn commit: r301196 - head/sys/dev/xen/netfront

2016-06-02 Thread Roger Pau Monné
Author: royger Date: Thu Jun 2 11:12:11 2016 New Revision: 301196 URL: https://svnweb.freebsd.org/changeset/base/301196 Log: xen-netfront: fix receiving TSO packets Currently FreeBSD is not properly fetching the TSO information from the Xen PV ring, and thus the received packets didn't h

svn commit: r301186 - head/sys/dev/ath

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 04:25:54 2016 New Revision: 301186 URL: https://svnweb.freebsd.org/changeset/base/301186 Log: [ath] correctly shift the QCA9565 LNA config into the mci config variable. Tested: * QCA9565, STA + BT mode Modified: head/sys/dev/ath/if_ath_btcoex.c Modif

svn commit: r301181 - in head/sys: conf dev/ath modules/ath

2016-06-02 Thread Adrian Chadd
Author: adrian Date: Thu Jun 2 00:51:36 2016 New Revision: 301181 URL: https://svnweb.freebsd.org/changeset/base/301181 Log: [ath] commit initial bluetooth coexistence support for the MCI NICs. This is the initial framework to call into the MCI HAL routines and drive the basic state engi

Re: svn commit: r301166 - in head: etc etc/ppp libexec/dma/dmagent share/mk usr.sbin/ppp

2016-06-02 Thread Bryan Drewery
On 6/1/2016 1:44 PM, Glen Barber wrote: > Author: gjb > Date: Wed Jun 1 20:44:28 2016 > New Revision: 301166 > URL: https://svnweb.freebsd.org/changeset/base/301166 > > Log: > Revert r301137 and r301163, and implement a correct fix > for the CONFS issue with dma.conf and ppp.conf. Thanks! -