Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Bruce Simpson
On Thu, 18 Sep 2014, at 07:04, Kevin Lo wrote: > Sorry, I overlooked that. Marcelo has a patch with 802.1p tagging > support, > I thought the patch was committed. I agree the comment change should be reverted. I changed if_ethersubr.c many years ago to decode 802.1p tags into the mbuf packet head

svn commit: r271743 - in head/sys: amd64/linux32 compat/linux conf i386/linux modules/linux

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 08:36:45 2014 New Revision: 271743 URL: http://svnweb.freebsd.org/changeset/base/271743 Log: Implement most of timer_{create,settime,gettime,getoverrun,delete} for amd64/linux32. Fix the entirely bogus (untested) version from r161310 for i386/linux using the same

svn commit: r271744 - in head/sys: amd64/linux32 i386/linux

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 08:40:00 2014 New Revision: 271744 URL: http://svnweb.freebsd.org/changeset/base/271744 Log: Re-gen after r271743 implementing most of timer_{create,settime,gettime,getoverrun,delete}. MFC after:3 days Sponsored by: DARPA, AFRL Modified:

svn commit: r271745 - head/sys/dev/ixl

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 08:56:25 2014 New Revision: 271745 URL: http://svnweb.freebsd.org/changeset/base/271745 Log: For consistency with the shared header file (and to avoid confusion with mbufs normally called *m in one place), rename the function arguments to "mem". This is a non

svn commit: r271746 - in stable/10/sys: arm/conf netinet netinet6

2014-09-18 Thread Michael Tuexen
Author: tuexen Date: Thu Sep 18 08:58:22 2014 New Revision: 271746 URL: http://svnweb.freebsd.org/changeset/base/271746 Log: MFC r270673: Announce SCTP support in the kern.features sysctl variables. MFC r270859: Enable SCTP support. It runs perfectly fine on a Wandboard quad. MFC r

svn commit: r271747 - head/sys/amd64/amd64

2014-09-18 Thread Konstantin Belousov
Author: kib Date: Thu Sep 18 09:13:20 2014 New Revision: 271747 URL: http://svnweb.freebsd.org/changeset/base/271747 Log: - Use NULL instead of 0 for fpcurthread. - Note the quirk with the interrupt enabled state of the dna handler. - Use just panic() instead of printf() and panic(). Print

svn commit: r271748 - stable/10/sys/cam/scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 09:21:29 2014 New Revision: 271748 URL: http://svnweb.freebsd.org/changeset/base/271748 Log: MFC r271644: Add quirks to disable READ CAPACITY (16) for PNY USB 3.0 Flash Drives. Submitted by: Sean Fagan Approved by: re (kib) Modified: stable/10/sys/cam/s

svn commit: r271749 - stable/9/sys/cam/scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 09:22:37 2014 New Revision: 271749 URL: http://svnweb.freebsd.org/changeset/base/271749 Log: MFC r271644: Add quirks to disable READ CAPACITY (16) for PNY USB 3.0 Flash Drives. Submitted by: Sean Fagan Modified: stable/9/sys/cam/scsi/scsi_da.c Directory Pr

svn commit: r271750 - stable/10/sys/netinet

2014-09-18 Thread Michael Tuexen
Author: tuexen Date: Thu Sep 18 09:49:49 2014 New Revision: 271750 URL: http://svnweb.freebsd.org/changeset/base/271750 Log: MFC r271643: Chunk IDs are 8 bit entities, not 16 bit. Thanks to Peter Kasting from Google for drawing my attention to it. MFC r271665: The MTU is handled as

svn commit: r271751 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 09:54:57 2014 New Revision: 271751 URL: http://svnweb.freebsd.org/changeset/base/271751 Log: Add if_inc_counter(), a generic method to update ifnet(9) counter w/o dereferencing the struct. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head

svn commit: r271752 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 10:01:56 2014 New Revision: 271752 URL: http://svnweb.freebsd.org/changeset/base/271752 Log: While not too late rename if_get_counter_compat() to if_get_counter_default(). The compat counters will go away, but the function will remain in its place, and in all

svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 10:33:23 2014 New Revision: 271753 URL: http://svnweb.freebsd.org/changeset/base/271753 Log: Fix typos. Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/autofs/autofs.c Modified: head/sys/fs/autofs/autofs.c ===

svn commit: r271754 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 10:46:51 2014 New Revision: 271754 URL: http://svnweb.freebsd.org/changeset/base/271754 Log: Remove unused ZFS ARC functions * arc_data_buf_alloc * arc_data_buf_free MFC after:1 week Sponsored by: Multiplay Modified: head/sys/cddl/contrib/opensol

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Konstantin Belousov
On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Thu Sep 18 10:33:23 2014 > New Revision: 271753 > URL: http://svnweb.freebsd.org/changeset/base/271753 > > Log: > Fix typos. > > Sponsored by: The FreeBSD Foundation > > Modified: > hea

svn commit: r271755 - stable/10/usr.sbin/ctld

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 11:52:28 2014 New Revision: 271755 URL: http://svnweb.freebsd.org/changeset/base/271755 Log: MFC r271571: Fix two small nits in ctl.conf(5). Approved by: re (glebius) Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/ctld/ctl.conf.5

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

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 12:20:19 2014 New Revision: 271756 URL: http://svnweb.freebsd.org/changeset/base/271756 Log: vt(4): Fix out-of-bounds array access in VT_ACTIVATE ioctl handling CID: 1229964 MFC after:3 days Modified: head/sys/dev/vt/vt_core.c Modified: h

svn commit: r271757 - head/sys/boot/amd64/efi

2014-09-18 Thread Ed Maste
Author: emaste Date: Thu Sep 18 13:00:03 2014 New Revision: 271757 URL: http://svnweb.freebsd.org/changeset/base/271757 Log: Wrap long lines introduced in r268227 Modified: head/sys/boot/amd64/efi/bootinfo.c Modified: head/sys/boot/amd64/efi/bootinfo.c ===

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Edward Tomasz Napierala
On 0918T1421, Konstantin Belousov wrote: > On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Thu Sep 18 10:33:23 2014 > > New Revision: 271753 > > URL: http://svnweb.freebsd.org/changeset/base/271753 > > > > Log: > > Fix typos. > > > > Spon

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

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 13:24:06 2014 New Revision: 271758 URL: http://svnweb.freebsd.org/changeset/base/271758 Log: vt(4): Use strncpy() to copy into a fixed-size buffer CID: 1230007 MFC after:3 days Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt

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

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 13:39:47 2014 New Revision: 271759 URL: http://svnweb.freebsd.org/changeset/base/271759 Log: Add missing links to taskqueue(9). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified: head/share/man/man

svn commit: r271760 - stable/10/usr.sbin/unbound/local-setup

2014-09-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Sep 18 13:53:39 2014 New Revision: 271760 URL: http://svnweb.freebsd.org/changeset/base/271760 Log: MFH (r271255): fix parsing of ipv6 nameserver lines Approved by: re (kib) Modified: stable/10/usr.sbin/unbound/local-setup/local-unbound-setup.sh Directory Propertie

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

2014-09-18 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 18 13:56:32 2014 New Revision: 271761 URL: http://svnweb.freebsd.org/changeset/base/271761 Log: Add missing link to TIMEOUT_TASK_INIT(9). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified: head/share/

Re: svn commit: r271753 - head/sys/fs/autofs

2014-09-18 Thread Konstantin Belousov
On Thu, Sep 18, 2014 at 03:12:16PM +0200, Edward Tomasz Napierala wrote: > On 0918T1421, Konstantin Belousov wrote: > > On Thu, Sep 18, 2014 at 10:33:23AM +, Edward Tomasz Napierala wrote: > > > Author: trasz > > > Date: Thu Sep 18 10:33:23 2014 > > > New Revision: 271753 > > > URL: http://svnw

svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Ed Maste
Author: emaste Date: Thu Sep 18 13:59:36 2014 New Revision: 271762 URL: http://svnweb.freebsd.org/changeset/base/271762 Log: Switch to text mode in UEFI boot The loader previously failed to display on MacBooks and other systems where the UEFI firmware remained in graphics mode. Submi

svn commit: r271763 - head/cddl/contrib/opensolaris/cmd/zpool

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:02:25 2014 New Revision: 271763 URL: http://svnweb.freebsd.org/changeset/base/271763 Log: Fix an assert to tolerate spare parents with more than 2 children. This can occur if a spare is being spared, which would yield three children: the original pool driv

svn commit: r271764 - head/cddl/contrib/opensolaris/lib/libzfs/common

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:09:42 2014 New Revision: 271764 URL: http://svnweb.freebsd.org/changeset/base/271764 Log: zfs_setprop_error(): Handle errno value E2BIG. This errno value is emitted by dsl_props_set_check() in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c, and

Re: svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Bjoern A. Zeeb
On 18 Sep 2014, at 13:59 , Ed Maste wrote: > Author: emaste > Date: Thu Sep 18 13:59:36 2014 > New Revision: 271762 > URL: http://svnweb.freebsd.org/changeset/base/271762 > > Log: > Switch to text mode in UEFI boot > > The loader previously failed to display on MacBooks and other systems >

svn commit: r271766 - stable/10/lib/libpam/modules/pam_login_access

2014-09-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Sep 18 14:27:37 2014 New Revision: 271766 URL: http://svnweb.freebsd.org/changeset/base/271766 Log: MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. Approved by: re (gjb) PR: 83099 Modified: stable/10/lib/libpam/modules/pam_log

svn commit: r271768 - stable/8/lib/libpam/modules/pam_login_access

2014-09-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Sep 18 14:31:28 2014 New Revision: 271768 URL: http://svnweb.freebsd.org/changeset/base/271768 Log: MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. PR: 83099 Modified: stable/8/lib/libpam/modules/pam_login_access/pam_login_acce

svn commit: r271767 - stable/9/lib/libpam/modules/pam_login_access

2014-09-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Sep 18 14:31:18 2014 New Revision: 271767 URL: http://svnweb.freebsd.org/changeset/base/271767 Log: MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. PR: 83099 Modified: stable/9/lib/libpam/modules/pam_login_access/pam_login_access

Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Adrian Chadd
There is in pfsense. Let me see about twisting some arms again... :) -a On 18 September 2014 00:21, Bruce Simpson wrote: > On Thu, 18 Sep 2014, at 07:04, Kevin Lo wrote: >> Sorry, I overlooked that. Marcelo has a patch with 802.1p tagging >> support, >> I thought the patch was committed. > >

svn commit: r271770 - in head/sys: net netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:38:28 2014 New Revision: 271770 URL: http://svnweb.freebsd.org/changeset/base/271770 Log: Add a function to set if_get_counter method for an ifnet. To be used in the drivers that are already converted to "Juniper drvapi". This can be revisited in future.

svn commit: r271769 - in stable/10/sys: dev/drm2 dev/fb dev/vt dev/vt/hw/efifb dev/vt/hw/fb dev/vt/hw/vga kern powerpc/ps3 sys

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 14:38:18 2014 New Revision: 271769 URL: http://svnweb.freebsd.org/changeset/base/271769 Log: vt(4): Merge several bug fixes and improvements SVN revisions in this MFC: 269779 270705 270706 271180 271250 271253 271682 271684 Detailed commit list:

svn commit: r271771 - in head: bin/csh etc/mail lib/libc usr.bin/grep usr.sbin/mtree

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:41:57 2014 New Revision: 271771 URL: http://svnweb.freebsd.org/changeset/base/271771 Log: Fix incremental builds involving non-root users with read-only source files. Makefiles should not assume that source files can be overwritten. This is the common cas

svn commit: r271772 - head/sys/netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:43:23 2014 New Revision: 271772 URL: http://svnweb.freebsd.org/changeset/base/271772 Log: Accidentially, ng_ppp changes leaked out with r271770. The proper commit message should have been: In case if ng_ppp(4) runs only IPv4, with one link, w/o any en

svn commit: r271773 - in stable/10/sys: kern sys

2014-09-18 Thread Peter Grehan
Author: grehan Date: Thu Sep 18 14:44:47 2014 New Revision: 271773 URL: http://svnweb.freebsd.org/changeset/base/271773 Log: MFC tty fixes, r259549 and r259663 Keep tty_makedev as a function to preserve the KBI on 10-stable (it is a macro in CURRENT). The changes for this are direct com

svn commit: r271774 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 14:47:13 2014 New Revision: 271774 URL: http://svnweb.freebsd.org/changeset/base/271774 Log: While not too late rename 'ifnet_counter' to 'ift_counter'. One of the imporant moments that we discussed with Marcel and Anuranjan was that a converted driver should

Re: svn commit: r271762 - in head/sys/boot: amd64/boot1.efi efi/include efi/libefi

2014-09-18 Thread Ed Maste
On 18 September 2014 10:20, Bjoern A. Zeeb wrote: > > Thanks a lot; that massively helps debugging (as you can at least see what’s > going on). Eventually we might want to make that dependent on environment > variables maybe? > > For example on the Mac I have been using this for a while to se

svn commit: r271775 - head/kerberos5/lib/libasn1

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:50:21 2014 New Revision: 271775 URL: http://svnweb.freebsd.org/changeset/base/271775 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified: head/kerberos5/l

svn commit: r271776 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 14:50:50 2014 New Revision: 271776 URL: http://svnweb.freebsd.org/changeset/base/271776 Log: MFC r271429: Persist vdev_resilver_txg changes to avoid panic caused by validation vs a vdev_resilver_txg value from a previous resilver. Approved by: re (glebius)

svn commit: r271777 - stable/10/usr.sbin/bsdinstall/scripts

2014-09-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 18 14:53:30 2014 New Revision: 271777 URL: http://svnweb.freebsd.org/changeset/base/271777 Log: MFC r271552: Make the default choice for the chroot shell at the end be "No". This allows just pressing enter repeatedly to successfully install a reasonable sy

svn commit: r271778 - head/lib/libunbound

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 14:54:20 2014 New Revision: 271778 URL: http://svnweb.freebsd.org/changeset/base/271778 Log: Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after:1 month Modified: head/lib/libunbo

svn commit: r271779 - in stable/10/lib/msun: . ld128 ld80 man src

2014-09-18 Thread Tijl Coosemans
Author: tijl Date: Thu Sep 18 15:10:22 2014 New Revision: 271779 URL: http://svnweb.freebsd.org/changeset/base/271779 Log: MFC r257770 r257818 r257823 r260066 r260067 r260089 r260145 r268587 r268588 r268589 r268590 r268593 r268597 r269758 r270845 r270847 r270893 r270932 r270947 r2711

svn commit: r271781 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 15:37:53 2014 New Revision: 271781 URL: http://svnweb.freebsd.org/changeset/base/271781 Log: bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. If bpobj_space() returned non-zero here, the sublist would have been left open, along with the bon

Re: svn commit: r271735 - head/sys/net

2014-09-18 Thread Marcelo Araujo
Hello Adrian, I have a patch, but it is a hack on PF and some very ugly code. Not generic at all. As my hands are dirty now with it, if you don't have too much time, I can take a look on pfsense implementation. Best Regards, 2014-09-18 22:32 GMT+08:00 Adrian Chadd : > There is in pfsense. > > L

svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 15:56:14 2014 New Revision: 271782 URL: http://svnweb.freebsd.org/changeset/base/271782 Log: - Use if_inc_counter() to increment various counters. - Do not ever set a counter to a value. For those counters that we don't increment, but return directly from h

svn commit: r271783 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 16:17:20 2014 New Revision: 271783 URL: http://svnweb.freebsd.org/changeset/base/271783 Log: Remove a bunch of methods that are superseded by if_inc_counter(). Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/sys/net/if.c head/sys/net/if

svn commit: r271784 - head/sys/dev/e1000

2014-09-18 Thread Adrian Chadd
Author: adrian Date: Thu Sep 18 16:20:17 2014 New Revision: 271784 URL: http://svnweb.freebsd.org/changeset/base/271784 Log: Fix the handling of EOP in status descriptors for if_igb(4) and don't double-free mbufs. Like ixgbe(4) chipsets, EOP is only set on the final descriptor in a chai

svn commit: r271785 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:38:03 2014 New Revision: 271785 URL: http://svnweb.freebsd.org/changeset/base/271785 Log: Reorder sysctls for spa.c global tunables; add sysctl for ccw_retry_interval. MFC after:1 month Sponsored by: Spectra Logic Modified: head/sys/cddl/contrib/ope

svn commit: r271786 - head/sys/compat/linprocfs

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 16:44:28 2014 New Revision: 271786 URL: http://svnweb.freebsd.org/changeset/base/271786 Log: - Use if_get_counter() to fetch ifnet statistics. - Report IFCOUNTER_OQDROPS to linprocfs. Wasn't there before. Sponsored by: Netflix Sponsored by: Nginx, Inc.

svn commit: r271787 - head/release/picobsd/tinyware/simple_httpd

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 16:53:44 2014 New Revision: 271787 URL: http://svnweb.freebsd.org/changeset/base/271787 Log: simple_httpd: cosmetic cleanups. Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable, MFC after:5 weeks Modified: head/re

svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 16:55:41 2014 New Revision: 271788 URL: http://svnweb.freebsd.org/changeset/base/271788 Log: Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. This is primarily only of interest to ZFS developers, but it makes it easier to get additional debuggin

svn commit: r271789 - head/usr.sbin/lpr/lpd

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 17:01:45 2014 New Revision: 271789 URL: http://svnweb.freebsd.org/changeset/base/271789 Log: lpr: replace setpgrp(2) with setpgid(2). setpgid(2) is more portable than setpgrp(2). The BSD variant of setpgrp is a wrapper for setpgid(2) anyways. MFC after:

svn commit: r271790 - stable/10/usr.sbin/bsdinstall/scripts

2014-09-18 Thread Allan Jude
Author: allanjude (doc committer) Date: Thu Sep 18 17:03:52 2014 New Revision: 271790 URL: http://svnweb.freebsd.org/changeset/base/271790 Log: MFC r271563: Make the root-on-zfs part of the installer warn a user who booted the installer via UEFI that we do not support booting ZFS via UEFI ye

Re: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Andriy Gapon
On 18/09/2014 19:55, Will Andrews wrote: > Author: will > Date: Thu Sep 18 16:55:41 2014 > New Revision: 271788 > URL: http://svnweb.freebsd.org/changeset/base/271788 > > Log: > Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. > > This is primarily only of interest to ZFS deve

Re: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Will Andrews
Which one is more idiomatic? Sorry, I never noticed that one. Thanks, --Will. On Thu, Sep 18, 2014 at 11:03 AM, Andriy Gapon wrote: > On 18/09/2014 19:55, Will Andrews wrote: >> Author: will >> Date: Thu Sep 18 16:55:41 2014 >> New Revision: 271788 >> URL: http://svnweb.freebsd.org/changeset/ba

svn commit: r271791 - stable/10/release/arm

2014-09-18 Thread Glen Barber
Author: gjb Date: Thu Sep 18 17:15:38 2014 New Revision: 271791 URL: http://svnweb.freebsd.org/changeset/base/271791 Log: MFC r271676, r271677, r271678: r271676: Catch up with Crochet changes to fix the BEAGLEBONE build. r271677: Catch up with Crochet changes to fix the WAN

svn commit: r271792 - head/include

2014-09-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 18 17:18:42 2014 New Revision: 271792 URL: http://svnweb.freebsd.org/changeset/base/271792 Log: unistd: move setpgrp(2) to the __BSD_VISIBLE section Our setpgrp(2) differs from the specified by POSIX, which only has one argument, and is only meant for compatibili

Re: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Andriy Gapon
On 18/09/2014 20:05, Will Andrews wrote: > Which one is more idiomatic? Sorry, I never noticed that one. I prefer your commit. > > On Thu, Sep 18, 2014 at 11:03 AM, Andriy Gapon wrote: >> On 18/09/2014 19:55, Will Andrews wrote: >>> Author: will >>> Date: Thu Sep 18 16:55:41 2014 >>> New Revis

svn commit: r271793 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:22:42 2014 New Revision: 271793 URL: http://svnweb.freebsd.org/changeset/base/271793 Log: Silence noisy firewire logging. MFC after:1 month Sponsored by: Spectra Logic MFSpectraBSD: 974594 on 2013/08/02 Modified: head/sys/dev/firewire/firewire.c

svn commit: r271794 - head/sys/cam/ctl

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 17:25:20 2014 New Revision: 271794 URL: http://svnweb.freebsd.org/changeset/base/271794 Log: When updating device media size use cached cdevsw pointer. Using pointer from the cdev directly is dangerous since we have no reference on it, and it may change any ti

svn commit: r271795 - head/sys/dev/firewire

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:28:21 2014 New Revision: 271795 URL: http://svnweb.freebsd.org/changeset/base/271795 Log: Start the process of cleaning up FreeBSD's firewire driver. sys/dev/firewire/firewire.c: sys/dev/firewire/firewire.h: sys/dev/firewire/firewirereg.h: sys/dev/fire

svn commit: r271796 - head/tools/regression/pjdfstest

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 17:37:19 2014 New Revision: 271796 URL: http://svnweb.freebsd.org/changeset/base/271796 Log: Use 'cc' for the C compiler instead of 'gcc'. MFC after:1 week Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24 Modified: head/tools/regressio

Re: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Steven Hartland
You don't need a seperate TUNABLE_INT declations any more since the excellent SYSCTL refactor. Regards Steve - Original Message - From: "Will Andrews" To: ; ; Sent: Thursday, September 18, 2014 5:55 PM Subject: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/commo

svn commit: r271797 - head/usr.sbin/ctld

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 17:39:04 2014 New Revision: 271797 URL: http://svnweb.freebsd.org/changeset/base/271797 Log: Make kernel to update LUN size from the backing storage on configuration reload also if that size was not specified in the new configuration. Previously it happened on

svn commit: r271798 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-18 Thread Will Andrews
Author: will Date: Thu Sep 18 18:46:38 2014 New Revision: 271798 URL: http://svnweb.freebsd.org/changeset/base/271798 Log: Remove debug.zfs_flags in favor of the new vfs.zfs.debug_flags. Replace TUNABLE_INT with CTLFLAG_RWTUN. Submitted by: avg (debug.zfs_flags removal), smh (TUNABLE_INT

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Thu Sep 18 15:56:14 2014 T> New Revision: 271782 T> URL: http://svnweb.freebsd.org/changeset/base/271782 T> T> Log: T> - Use if_inc_counter() to increment various counters. T> - Do not ever set a counter

svn commit: r271799 - head/sys/dev/virtio/network

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 19:15:40 2014 New Revision: 271799 URL: http://svnweb.freebsd.org/changeset/base/271799 Log: - Provide if_get_counter() method for vtnet(4). - Do not accumulate statistics on every tick. - Accumulate statistics in vtnet_setup_stat_sysctl() and in vtnet_ge

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Adrian Chadd
On 18 September 2014 12:11, Gleb Smirnoff wrote: > On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: > T> Author: glebius > T> Date: Thu Sep 18 15:56:14 2014 > T> New Revision: 271782 > T> URL: http://svnweb.freebsd.org/changeset/base/271782 > T> > T> Log: > T> - Use if_inc_counter(

svn commit: r271800 - stable/10/sys/dev/nmdm

2014-09-18 Thread Peter Grehan
Author: grehan Date: Thu Sep 18 19:20:08 2014 New Revision: 271800 URL: http://svnweb.freebsd.org/changeset/base/271800 Log: MFC nmdm driver changes, r259550 and r271350 r259550 (glebius): Make nmdm(4) destroy devices when both sides of a pair are disconnected. This makes it possible

Re: svn commit: r271782 - in head/sys/dev: bge bxe e1000 fxp nfe

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 12:18:24PM -0700, Adrian Chadd wrote: A> On 18 September 2014 12:11, Gleb Smirnoff wrote: A> > On Thu, Sep 18, 2014 at 03:56:14PM +, Gleb Smirnoff wrote: A> > T> Author: glebius A> > T> Date: Thu Sep 18 15:56:14 2014 A> > T> New Revision: 271782 A> > T> URL: http://svnw

svn commit: r271801 - head/sys/dev/msk

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 19:57:13 2014 New Revision: 271801 URL: http://svnweb.freebsd.org/changeset/base/271801 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c

svn commit: r271802 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/modules/zfs

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 20:00:36 2014 New Revision: 271802 URL: http://svnweb.freebsd.org/changeset/base/271802 Log: Add dtrace probe support for zfs SET_ERROR(..) MFC after:1 week Sponsored by: Multiplay Added: head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c (con

svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:03:45 2014 New Revision: 271803 URL: http://svnweb.freebsd.org/changeset/base/271803 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/tl/if_tl.c Modified: head/sys/dev/tl/if_tl.c

svn commit: r271804 - head/sys/dev/tx

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:06:10 2014 New Revision: 271804 URL: http://svnweb.freebsd.org/changeset/base/271804 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/tx/if_tx.c Modified: head/sys/dev/tx/if_tx.c

svn commit: r271805 - head/sys/dev/sis

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:09:35 2014 New Revision: 271805 URL: http://svnweb.freebsd.org/changeset/base/271805 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/sis/if_sis.c Modified: head/sys/dev/sis/if_sis.c

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Navdeep Parhar
Consider changing if_inc_counter to be inline and have it take const ints for the counter and increment. The compiler will optimize away all the unneeded code in if_inc_counter. Regards, Navdeep On 09/18/14 13:03, Gleb Smirnoff wrote: Author: glebius Date: Thu Sep 18 20:03:45 2014 New Revis

svn commit: r271806 - head/sys/dev/ep

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:11:28 2014 New Revision: 271806 URL: http://svnweb.freebsd.org/changeset/base/271806 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ep/if_ep.c Modified: head/sys/dev/ep/if_ep.c

svn commit: r271807 - head/sys/dev/fe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:15:53 2014 New Revision: 271807 URL: http://svnweb.freebsd.org/changeset/base/271807 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/fe/if_fe.c Modified: head/sys/dev/fe/if_fe.c

svn commit: r271808 - head/sys/dev/vr

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:17:27 2014 New Revision: 271808 URL: http://svnweb.freebsd.org/changeset/base/271808 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/vr/if_vr.c Modified: head/sys/dev/vr/if_vr.c

svn commit: r271809 - stable/9/sys/netinet

2014-09-18 Thread Alan Somers
Author: asomers Date: Thu Sep 18 20:17:42 2014 New Revision: 271809 URL: http://svnweb.freebsd.org/changeset/base/271809 Log: MFC 263779, except for the ATF test change. Correct ARP update handling when the routes for network interfaces are restricted to a single FIB in a multifib system.

svn commit: r271810 - head/sys/dev/mwl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:18:55 2014 New Revision: 271810 URL: http://svnweb.freebsd.org/changeset/base/271810 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/mwl/if_mwl.c Modified: head/sys/dev/mwl/if_mwl.c

svn commit: r271811 - head/sys/dev/gem

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:21:46 2014 New Revision: 271811 URL: http://svnweb.freebsd.org/changeset/base/271811 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/gem/if_gem.c Modified: head/sys/dev/gem/if_gem.c

svn commit: r271812 - head/sys/dev/nge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:23:34 2014 New Revision: 271812 URL: http://svnweb.freebsd.org/changeset/base/271812 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/nge/if_nge.c Modified: head/sys/dev/nge/if_nge.c

svn commit: r271813 - head/sys/dev/pcn

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:24:47 2014 New Revision: 271813 URL: http://svnweb.freebsd.org/changeset/base/271813 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/pcn/if_pcn.c Modified: head/sys/dev/pcn/if_pcn.c

svn commit: r271814 - head/sys/compat/linprocfs

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:29:17 2014 New Revision: 271814 URL: http://svnweb.freebsd.org/changeset/base/271814 Log: Fix build on 32-bit machines. Pointy hat to:glebius Modified: head/sys/compat/linprocfs/linprocfs.c Modified: head/sys/compat/linprocfs/linprocfs.c =

svn commit: r271815 - head/sys/dev/vge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:30:47 2014 New Revision: 271815 URL: http://svnweb.freebsd.org/changeset/base/271815 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/vge/if_vge.c Modified: head/sys/dev/vge/if_vge.c

svn commit: r271816 - in stable/10/sys: dev/drm2 dev/drm2/i915 modules/drm2/i915kms sys

2014-09-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Thu Sep 18 20:32:40 2014 New Revision: 271816 URL: http://svnweb.freebsd.org/changeset/base/271816 Log: drm/i915: Add HW context support This feature is required by Mesa 9.2+. Without this, a GL application crashes with the following message: # glxinfo n

svn commit: r271817 - head/sys/dev/smc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:33:25 2014 New Revision: 271817 URL: http://svnweb.freebsd.org/changeset/base/271817 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c

svn commit: r271818 - head/sys/dev/xl

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:35:22 2014 New Revision: 271818 URL: http://svnweb.freebsd.org/changeset/base/271818 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

svn commit: r271819 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern

2014-09-18 Thread Steven Hartland
Author: smh Date: Thu Sep 18 20:38:18 2014 New Revision: 271819 URL: http://svnweb.freebsd.org/changeset/base/271819 Log: Remove sys/types.h include as per style (9) SDT requries sys/param.h due to use of NULL Reported by: Garrett Sponsored by: Multiplay Modified: head/share/man/

svn commit: r271820 - head/sys/dev/ie

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:39:23 2014 New Revision: 271820 URL: http://svnweb.freebsd.org/changeset/base/271820 Log: - Mechanically convert to if_inc_counter(). - Cut code that runs a counter backwards. Modified: head/sys/dev/ie/if_ie.c Modified: head/sys/dev/ie/if_ie.c ==

svn commit: r271821 - head/sys/dev/snc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:43:17 2014 New Revision: 271821 URL: http://svnweb.freebsd.org/changeset/base/271821 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/snc/dp83932.c Modified: head/sys/dev/snc/dp83932.c ==

svn commit: r271822 - head/sys/dev/pdq

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:44:53 2014 New Revision: 271822 URL: http://svnweb.freebsd.org/changeset/base/271822 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/pdq/pdq_ifsubr.c Modified: head/sys/dev/pdq/pdq_ifsubr.c

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

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:47:39 2014 New Revision: 271823 URL: http://svnweb.freebsd.org/changeset/base/271823 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_ath_rx.c head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Gleb Smirnoff
Navdeep, On Thu, Sep 18, 2014 at 01:09:05PM -0700, Navdeep Parhar wrote: N> Consider changing if_inc_counter to be inline and have it take const N> ints for the counter and increment. The compiler will optimize away all N> the unneeded code in if_inc_counter. Yep, constifying is a good idea.

svn commit: r271825 - in stable/9/sys: net netinet

2014-09-18 Thread Alan Somers
Author: asomers Date: Thu Sep 18 20:53:36 2014 New Revision: 271825 URL: http://svnweb.freebsd.org/changeset/base/271825 Log: MFC r264887, except for the ATF test change. Also, ifa_switch_loopback_route doesn't exist in stable/9, so the relevant change to that function went into in_scrubpre

svn commit: r271824 - head/sys/dev/cas

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:53:02 2014 New Revision: 271824 URL: http://svnweb.freebsd.org/changeset/base/271824 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/cas/if_cas.c Modified: head/sys/dev/cas/if_cas.c

svn commit: r271826 - head/sys/dev/ffec

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:58:04 2014 New Revision: 271826 URL: http://svnweb.freebsd.org/changeset/base/271826 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ffec/if_ffec.c Modified: head/sys/dev/ffec/if_ffec.c

Re: svn commit: r271803 - head/sys/dev/tl

2014-09-18 Thread Navdeep Parhar
On 09/18/14 13:50, Gleb Smirnoff wrote: Navdeep, On Thu, Sep 18, 2014 at 01:09:05PM -0700, Navdeep Parhar wrote: N> Consider changing if_inc_counter to be inline and have it take const N> ints for the counter and increment. The compiler will optimize away all N> the unneeded code in if_inc_c

  1   2   >