svn commit: r271853 - head/sys/net

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:43:38 2014 New Revision: 271853 URL: http://svnweb.freebsd.org/changeset/base/271853 Log: Increase errors, not queue drops, in cases the module is supplied with a bad packet or if mbuf allocation failes. Modified: head/sys/net/if_gre.c Modified: head/sys

svn commit: r271852 - head/sys/netinet

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:23:47 2014 New Revision: 271852 URL: http://svnweb.freebsd.org/changeset/base/271852 Log: Remove disabled code, that is very unlikely to be ever enabled again, as well as the comment that explains why is it disabled. Modified: head/sys/netinet/ip_output.c

svn commit: r271851 - head/sys/netgraph

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 05:03:11 2014 New Revision: 271851 URL: http://svnweb.freebsd.org/changeset/base/271851 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/netgraph/ng_eiface.c head/sys/netgraph/ng_iface.c head/sys/netgraph/ng_sppp.c Modified: head/sys/netg

Re: svn commit: r271792 - head/include

2014-09-18 Thread Pedro Giffuni
Il giorno 18/set/2014, alle ore 20:52, Kevin Lo ha scritto: > On Thu, Sep 18, 2014 at 05:18:43PM +, Pedro F. Giffuni wrote: >> >> Author: pfg >> Date: Thu Sep 18 17:18:42 2014 >> New Revision: 271792 >> URL: http://svnweb.freebsd.org/changeset/base/271792 >> >> Log: >> unistd: move setpgr

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

2014-09-18 Thread Marcelo Araujo
Hello, I made some tests with the implementation from pfsense and it works like a charm with very few modifications. I'm gonna try to make it in two steps. 1) First only submit the vlan(4) and ifconfig(8) changes. 2) Submit the changes on pf(4) and ipfw(8) in a second stage. I'm going to use pha

svn commit: r271850 - head/sys/dev/sf

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 03:55:19 2014 New Revision: 271850 URL: http://svnweb.freebsd.org/changeset/base/271850 Log: Fix typo. Submitted by: jkim Modified: head/sys/dev/sf/if_sf.c Modified: head/sys/dev/sf/if_sf.c

Re: svn commit: r271841 - head/sys/dev/smc

2014-09-18 Thread Gleb Smirnoff
On Thu, Sep 18, 2014 at 10:10:50PM +, Bjoern A. Zeeb wrote: B> Author: bz B> Date: Thu Sep 18 22:10:49 2014 B> New Revision: 271841 B> URL: http://svnweb.freebsd.org/changeset/base/271841 B> B> Log: B> Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. Thanks! -- Totus tuus, Glebius.

svn commit: r271849 - in head/sys/dev: ae altera/atse an bwi bwn cadence ce cm cp ctau cx dc de ed en ex fatm firewire gxemul/ether hatm hyperv/netvsc if_ndis iicbus ipw iwi iwn le lge malo mge net...

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 19 03:51:26 2014 New Revision: 271849 URL: http://svnweb.freebsd.org/changeset/base/271849 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ae/if_ae.c head/sys/dev/altera/atse/if_atse.c head/sys/dev/an/if_an.c head/sys/dev/bwi/if_bwi.c

Re: svn commit: r271792 - head/include

2014-09-18 Thread Kevin Lo
On Thu, Sep 18, 2014 at 05:18:43PM +, Pedro F. Giffuni wrote: > > 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 t

svn commit: r271848 - stable/10/sys/conf

2014-09-18 Thread Glen Barber
Author: gjb Date: Fri Sep 19 00:03:25 2014 New Revision: 271848 URL: http://svnweb.freebsd.org/changeset/base/271848 Log: Update stable/10 to -BETA2 as part of the 10.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: stable/10/sys/conf/newver

svn commit: r271847 - head/lib/libnv

2014-09-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 18 22:34:52 2014 New Revision: 271847 URL: http://svnweb.freebsd.org/changeset/base/271847 Log: Don't use nvl in case of a failure. Reported by: Coverity CID: 1238922 Modified: head/lib/libnv/nvpair.c Modified: head/lib/libnv/nvpair.c ==

svn commit: r271846 - stable/10/usr.bin/mkimg

2014-09-18 Thread Marcel Moolenaar
Author: marcel Date: Thu Sep 18 22:27:02 2014 New Revision: 271846 URL: http://svnweb.freebsd.org/changeset/base/271846 Log: Be compatible with boot code that starts right after the disk label in the second sector by only clearing the amount of bytes needed for the disklabel in the second se

svn commit: r271845 - in head/sys/cam: ctl scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 22:22:14 2014 New Revision: 271845 URL: http://svnweb.freebsd.org/changeset/base/271845 Log: Allow more commands to pass persistent reservation according to SPC-4 r37. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_cmd_table.c head/sys/cam/scsi/scsi_all

svn commit: r271844 - stable/10/contrib/openbsm/bin/auditdistd

2014-09-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 18 22:17:46 2014 New Revision: 271844 URL: http://svnweb.freebsd.org/changeset/base/271844 Log: MFC r271577: Fix descriptors leak. PR: bin/191002 Reported by: Ryan Steinmetz Submitted by: mjg Approved by: re (gjb) Modified: stable/10/contr

svn commit: r271843 - stable/10/usr.bin/mkimg

2014-09-18 Thread Marcel Moolenaar
Author: marcel Date: Thu Sep 18 22:16:20 2014 New Revision: 271843 URL: http://svnweb.freebsd.org/changeset/base/271843 Log: Fix checksum calculation: 1. Iterate over all partitions counted in the label, which can be more than the number of partitions given to mkimg(1). 2. Start the c

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

2014-09-18 Thread Alan Somers
Author: asomers Date: Thu Sep 18 22:12:52 2014 New Revision: 271842 URL: http://svnweb.freebsd.org/changeset/base/271842 Log: MFC r265092, except for the ATF bits. Fix a panic when removing an IP address from an interface, if the same address exists on another interface. The panic was in

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

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 22:10:49 2014 New Revision: 271841 URL: http://svnweb.freebsd.org/changeset/base/271841 Log: Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. Modified: head/sys/dev/smc/if_smc.c Modified: head/sys/dev/smc/if_smc.c

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

2014-09-18 Thread Alan Somers
Author: asomers Date: Thu Sep 18 21:48:05 2014 New Revision: 271840 URL: http://svnweb.freebsd.org/changeset/base/271840 Log: MFC r264905 and r266860, except for the ATF parts. r266860 Fix unintended KBI change from r264905. Add _fib versions of ifa_ifwithnet() and ifa_ifwithdstaddr()

svn commit: r271839 - in head/sys/cam: ctl scsi

2014-09-18 Thread Alexander Motin
Author: mav Date: Thu Sep 18 21:39:00 2014 New Revision: 271839 URL: http://svnweb.freebsd.org/changeset/base/271839 Log: Add support for "no Data-Out Buffer" (NDOB) flag of WRITE SAME (16) command. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_backend_block.c head/sys/cam/ctl/ctl

svn commit: r271836 - head/sys/dev/cs

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

svn commit: r271838 - head/sys/dev/sf

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

svn commit: r271837 - head/sys/dev/stge

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:16:05 2014 New Revision: 271837 URL: http://svnweb.freebsd.org/changeset/base/271837 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/stge/if_stge.c Modified: head/sys/dev/stge/if_stge.c

svn commit: r271835 - head/sys/dev/ale

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:13:12 2014 New Revision: 271835 URL: http://svnweb.freebsd.org/changeset/base/271835 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c

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

2014-09-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 18 21:13:03 2014 New Revision: 271834 URL: http://svnweb.freebsd.org/changeset/base/271834 Log: Revert r270808, which were changes to common code (i40e_alloc.h). Rather than #define-ing common code function calls to OS-dependent ones, make the osdep versions match

svn commit: r271833 - head/sys/dev/alc

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:11:42 2014 New Revision: 271833 URL: http://svnweb.freebsd.org/changeset/base/271833 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/alc/if_alc.c Modified: head/sys/dev/alc/if_alc.c

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

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:09:22 2014 New Revision: 271832 URL: http://svnweb.freebsd.org/changeset/base/271832 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/usb/net/if_aue.c head/sys/dev/usb/net/if_axe.c head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/n

svn commit: r271831 - head/sys/dev/hme

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:07:05 2014 New Revision: 271831 URL: http://svnweb.freebsd.org/changeset/base/271831 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/hme/if_hme.c Modified: head/sys/dev/hme/if_hme.c

svn commit: r271830 - head/sys/dev/bm

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:05:59 2014 New Revision: 271830 URL: http://svnweb.freebsd.org/changeset/base/271830 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/bm/if_bm.c Modified: head/sys/dev/bm/if_bm.c

svn commit: r271829 - head/sys/dev/bfe

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:03:13 2014 New Revision: 271829 URL: http://svnweb.freebsd.org/changeset/base/271829 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/bfe/if_bfe.c Modified: head/sys/dev/bfe/if_bfe.c

svn commit: r271828 - head/sys/dev/age

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 21:01:41 2014 New Revision: 271828 URL: http://svnweb.freebsd.org/changeset/base/271828 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/age/if_age.c Modified: head/sys/dev/age/if_age.c

svn commit: r271827 - head/sys/dev/my

2014-09-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 18 20:59:59 2014 New Revision: 271827 URL: http://svnweb.freebsd.org/changeset/base/271827 Log: Mechanically convert to if_inc_counter(). Modified: head/sys/dev/my/if_my.c Modified: head/sys/dev/my/if_my.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

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

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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: 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

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: 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 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: 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 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: 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

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

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: 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

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: 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: 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

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: 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

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

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

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

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

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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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

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: 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

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: 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: 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: 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: 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.

  1   2   >