svn commit: r271249 - head/sys/dev/iwn

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Mon Sep 8 07:16:00 2014 New Revision: 271249 URL: http://svnweb.freebsd.org/changeset/base/271249 Log: Implement htprotmode handling. This is separate to 11g protection - the default is to RTS protect 11n frames, including A-MPDU frames. Tested: * Intel 510

svn commit: r271250 - head/sys/dev/vt

2014-09-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Sep 8 07:37:03 2014 New Revision: 271250 URL: http://svnweb.freebsd.org/changeset/base/271250 Log: vt(4): Change the terminal and buffer sizes, even without a font This fixes a bug where scroll lock would not work for tty #0 when using vt_vga's textmode. The re

svn commit: r271251 - head/sys/libkern

2014-09-08 Thread Bjoern A. Zeeb
Author: bz Date: Mon Sep 8 08:12:09 2014 New Revision: 271251 URL: http://svnweb.freebsd.org/changeset/base/271251 Log: Use __DECONST to avoid compiler warnings (and thus build failures) with gcc on sparc64, mips, and powerpc after r271173. Modified: head/sys/libkern/memmem.c Modified: he

svn commit: r271253 - head/sys/kern

2014-09-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Sep 8 08:44:50 2014 New Revision: 271253 URL: http://svnweb.freebsd.org/changeset/base/271253 Log: pause_sbt(): Take the cold path (ie. use DELAY()) if KDB is active This fixes a panic in the i915 driver when one uses debug.kdb.enter=1 under vt(4). PR:

svn commit: r271254 - head/sys/kern

2014-09-08 Thread Hiroki Sato
Author: hrs Date: Mon Sep 8 09:04:22 2014 New Revision: 271254 URL: http://svnweb.freebsd.org/changeset/base/271254 Log: - Make hhook_run_socket() vnet-aware instead of adding CURVNET_SET() around the function calls. - Fix a memory leak and stats in the case that hhook_run_socket() fails

svn commit: r271255 - head/usr.sbin/unbound/local-setup

2014-09-08 Thread Dag-Erling Smørgrav
Author: des Date: Mon Sep 8 09:16:07 2014 New Revision: 271255 URL: http://svnweb.freebsd.org/changeset/base/271255 Log: Fix support for IPv6 nameservers. PR: 188931 Submitted by: Takefu MFC after:3 days Modified: head/usr.sbin/unbound/local-setup/local-unbound-setup.

svn commit: r271256 - head/lib/libpam/modules/pam_login_access

2014-09-08 Thread Dag-Erling Smørgrav
Author: des Date: Mon Sep 8 09:19:01 2014 New Revision: 271256 URL: http://svnweb.freebsd.org/changeset/base/271256 Log: Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set. PR: 83099 MFC after:3 days Modified: head/lib/libpam/modules/pam_login_access/pam_l

svn commit: r271257 - in head/etc: defaults rc.d

2014-09-08 Thread Dag-Erling Smørgrav
Author: des Date: Mon Sep 8 09:33:43 2014 New Revision: 271257 URL: http://svnweb.freebsd.org/changeset/base/271257 Log: Use the correct idiom for default values, and ensure that the script works correctly if the user overrides them. PR: 193255 Submitted by: hrs@ MFC after:

Re: svn commit: r271257 - in head/etc: defaults rc.d

2014-09-08 Thread yaneurabeya
On Sep 8, 2014, at 2:33, Dag-Erling Smørgrav wrote: > Author: des > Date: Mon Sep 8 09:33:43 2014 > New Revision: 271257 > URL: http://svnweb.freebsd.org/changeset/base/271257 > > Log: > Use the correct idiom for default values, and ensure that the script > works correctly if the user overrid

Re: svn commit: r271257 - in head/etc: defaults rc.d

2014-09-08 Thread Dag-Erling Smørgrav
yaneurab...@gmail.com writes: > Dag-Erling Smørgrav writes: > > +local_unbound_flags="-c${local_unbound_config}" > > +local_unbound_forwardconf="${local_unbound_workdir}/forward.conf}” > Is this a typo (dangling “}” at the end)? Ouch, yes. Peter also pointed out a nit in the line right before th

svn commit: r271258 - head/contrib/smbfs/mount_smbfs

2014-09-08 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 8 10:57:43 2014 New Revision: 271258 URL: http://svnweb.freebsd.org/changeset/base/271258 Log: Make mount_smbfs(8) preserve the "automounted" mount flag. The issue here is that we have to pass this flag as a string, in iov, because it doesn't fit in mntflags,

svn commit: r271259 - head/contrib/smbfs/lib/smb

2014-09-08 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 8 11:01:57 2014 New Revision: 271259 URL: http://svnweb.freebsd.org/changeset/base/271259 Log: Make it possible to use empty user name ("-U ''") for mount_smbfs(8). It's just like "-U guest", except that it actually works, at least with Samba 4, which seems to re

Re: svn commit: r270874 - in head/sys: dev/netmap net

2014-09-08 Thread Luigi Rizzo
Just noticed this. I would appreciate if you and others could inform me _before_ touching netmap-related stuff, and also, if you make changes make sure they are visible to the preprocessor so i can use conditional compilations. This is because this code is supposed to be the same on various FreeB

svn commit: r271261 - head/sys/dev/ahci

2014-09-08 Thread Alexander Motin
Author: mav Date: Mon Sep 8 12:11:49 2014 New Revision: 271261 URL: http://svnweb.freebsd.org/changeset/base/271261 Log: Bunch of microoptimizations to reduce dereferences and cache collisions. Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ahci/ahci.h head/sys/dev/ahci/ahciem.c Modifi

svn commit: r271262 - in head/etc: defaults rc.d

2014-09-08 Thread Dag-Erling Smørgrav
Author: des Date: Mon Sep 8 12:26:52 2014 New Revision: 271262 URL: http://svnweb.freebsd.org/changeset/base/271262 Log: Revert r271257 after several issues were pointed out. An updated patch will be committed at a later date. Modified: head/etc/defaults/rc.conf head/etc/rc.d/local_unbo

Re: svn commit: r271173 - in head/sys: conf gdb libkern sys

2014-09-08 Thread Julian Elischer
On 9/6/14, 12:40 AM, Benno Rice wrote: Author: benno Date: Fri Sep 5 16:40:47 2014 New Revision: 271173 URL: http://svnweb.freebsd.org/changeset/base/271173 Log: Add support for gdb's memory searching capabilities to our in-kernel gdb server. Submitted by: Daniel O'Connor Revi

svn commit: r271278 - head/tools

2014-09-08 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 8 17:01:30 2014 New Revision: 271278 URL: http://svnweb.freebsd.org/changeset/base/271278 Log: Avoid rs(1) hitting LINE_MAX with custom trees that have large dependencies. Modified: head/tools/make_libdeps.sh Modified: head/tools/make_libdeps.sh ==

svn commit: r271282 - head/contrib/llvm/tools/clang/lib/CodeGen

2014-09-08 Thread Ed Maste
Author: emaste Date: Mon Sep 8 18:43:33 2014 New Revision: 271282 URL: http://svnweb.freebsd.org/changeset/base/271282 Log: Merge Clang debug info crash fix rev 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() ne

svn commit: r271283 - head/contrib/llvm/patches

2014-09-08 Thread Ed Maste
Author: emaste Date: Mon Sep 8 18:48:54 2014 New Revision: 271283 URL: http://svnweb.freebsd.org/changeset/base/271283 Log: Add clang patch for r271282 Note that r271282 contains only the src change from Clang rev 200797. This patch file includes two follow-on changes to the test case, w

svn commit: r271284 - head/crypto/heimdal/tools

2014-09-08 Thread Glen Barber
Author: gjb Date: Mon Sep 8 19:00:13 2014 New Revision: 271284 URL: http://svnweb.freebsd.org/changeset/base/271284 Log: Include the gssapi_krb5 library in KRB5_LDFLAGS. PR: 156245 MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/crypto/heimdal/tool

svn commit: r271285 - in head/sys/boot: arm/uboot uboot/common

2014-09-08 Thread Ian Lepore
Author: ian Date: Mon Sep 8 19:19:10 2014 New Revision: 271285 URL: http://svnweb.freebsd.org/changeset/base/271285 Log: Add a 'ubenv import' command to import environment variables from the u-boot env into the loader(8) env (which also gets them into the kernel env). You can import select

svn commit: r271286 - head/sys/dev/ixgbe

2014-09-08 Thread Christian Brueffer
Author: brueffer Date: Mon Sep 8 19:24:25 2014 New Revision: 271286 URL: http://svnweb.freebsd.org/changeset/base/271286 Log: Use the right constants in comparisons. This is currently a nop, as MIN_RXD == MIN_TXD and MAX_RXD == MAX_TXD. Reviewed by: Eric Joyner @ Intel MFC after:

svn commit: r271287 - head/contrib/libc-vis

2014-09-08 Thread Brooks Davis
Author: brooks Date: Mon Sep 8 19:26:21 2014 New Revision: 271287 URL: http://svnweb.freebsd.org/changeset/base/271287 Log: Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length internally) PR:

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

2014-09-08 Thread John Baldwin
On Sunday, September 07, 2014 04:56:49 PM Slawa Olhovchenkov wrote: > PS: very bad that 'data limit' don't anymore reflect application > memory consumer. and very small application can adapt to 'no memory' > from system. You can use RLIMIT_AS instead of RLIMIT_DATA. jemalloc can also be configure

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

2014-09-08 Thread Slawa Olhovchenkov
On Fri, Sep 05, 2014 at 12:23:26PM +0300, Andriy Gapon wrote: > on 04/09/2014 04:18 Steven Hartland said the following: > > Indeed that would be interesting, but we might find that its quite memory > > size > > dependent given the scaling so confirming HW details would be nice too. > > > > I'd a

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

2014-09-08 Thread Nikolai Lifanov
On 2014-09-03 21:18, Steven Hartland wrote: - Original Message - From: "Andriy Gapon" on 03/09/2014 23:22 Nikolai Lifanov said the following: On 09/03/14 15:22, John Baldwin wrote: On Wednesday, September 03, 2014 11:05:04 AM Nikolai Lifanov wrote: On 09/03/14 04:09, Steven Hartlan

svn commit: r271291 - head/sys/netinet

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 00:19:02 2014 New Revision: 271291 URL: http://svnweb.freebsd.org/changeset/base/271291 Log: Add a flag to ip_output() - IP_NODEFAULTFLOWID - which prevents it from overriding an existing flowid/flowtype field in the outbound mbuf with the inp_flowid/inp_flowt

svn commit: r271292 - head/sys/netinet6

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 00:21:21 2014 New Revision: 271292 URL: http://svnweb.freebsd.org/changeset/base/271292 Log: Add IP_NODEFAULTFLOWID awareness to ip6_output(). Differential Revision:https://reviews.freebsd.org/D527 Modified: head/sys/netinet6/ip6_output.c Modified

svn commit: r271293 - head/sys/netinet

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 01:45:39 2014 New Revision: 271293 URL: http://svnweb.freebsd.org/changeset/base/271293 Log: Add support for receiving and setting flowtype, flowid and RSS bucket information as part of recvmsg(). This is primarily used for debugging/verification of the var

svn commit: r271296 - head/tools/regression/lib/msun

2014-09-08 Thread Garrett Cooper
Author: ngie Date: Tue Sep 9 02:58:58 2014 New Revision: 271296 URL: http://svnweb.freebsd.org/changeset/base/271296 Log: Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma This mutes warnings with clang Approved by: rpaulo (mentor) Reviewed by: das, kargl (both as part of a

Re: svn commit: r271296 - head/tools/regression/lib/msun

2014-09-08 Thread yaneurabeya
On Sep 8, 2014, at 19:58, Garrett Cooper wrote: > Author: ngie > Date: Tue Sep 9 02:58:58 2014 > New Revision: 271296 > URL: http://svnweb.freebsd.org/changeset/base/271296 > > Log: > Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma > > This mutes warnings with clang > > Approved

svn commit: r271297 - head/sys/netinet

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 03:10:21 2014 New Revision: 271297 URL: http://svnweb.freebsd.org/changeset/base/271297 Log: Implement IPv4 RSS software hash functions to use during packet ingress and egress. * rss_mbuf_software_hash_v4 - look at the IPv4 mbuf to fetch the IPv4 details

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

2014-09-08 Thread Peter Grehan
Author: grehan Date: Tue Sep 9 04:11:54 2014 New Revision: 271299 URL: http://svnweb.freebsd.org/changeset/base/271299 Log: Add a callback to be notified about negotiated features. Submitted by: luigi Obtained from:Vincenzo Maffione, Universita` di Pisa MFC after:3 days Mo

svn commit: r271300 - in head/sys: net netinet

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 04:18:20 2014 New Revision: 271300 URL: http://svnweb.freebsd.org/changeset/base/271300 Log: Update the IPv4 input path to handle reassembled frames and incoming frames with no RSS hash. When doing RSS: * Create a new IPv4 netisr which expects the fram

svn commit: r271301 - head/sys/netinet

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 04:19:36 2014 New Revision: 271301 URL: http://svnweb.freebsd.org/changeset/base/271301 Log: Calculate the RSS hash for outbound UDPv4 frames. Differential Revision:https://reviews.freebsd.org/D527 Reviewed by: grehan Modified: head/sys/netinet/

svn commit: r271302 - head/sys/netinet6

2014-09-08 Thread Adrian Chadd
Author: adrian Date: Tue Sep 9 04:20:53 2014 New Revision: 271302 URL: http://svnweb.freebsd.org/changeset/base/271302 Log: Add basic RSS awareness for the UDPv6 send path. This doesn't include the same kind of userland overriding that the IPv4 path has; nor does it yet know about 2-tupl

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

2014-09-08 Thread Kevin Lo
Author: kevlo Date: Tue Sep 9 05:21:31 2014 New Revision: 271303 URL: http://svnweb.freebsd.org/changeset/base/271303 Log: Drop frames that have larger than MCLBYTES. Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c ==