svn commit: r260222 - head/lib/libnv

2014-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 3 09:07:03 2014 New Revision: 260222 URL: http://svnweb.freebsd.org/changeset/base/260222 Log: MFp4 @1189711: Fix resource leaks on nvlist_destroy(). Reported by: Mariusz Zaborski MFC after:3 days Modified: head/lib/libnv/nvlist.c Modified: head/l

svn commit: r260223 - head/lib/libcasper

2014-01-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Jan 3 09:10:04 2014 New Revision: 260223 URL: http://svnweb.freebsd.org/changeset/base/260223 Log: MFp4 @1189741: - Add missing nvlist_destroy(). - Don't override nvlout. Submitted by: Mariusz Zaborski MFC after:3 days Modified: head/lib/libcasper/lib

Re: svn commit: r260163 - head/sys/dev/ahci

2014-01-03 Thread Zbigniew Bodek
2014/1/2 John Baldwin : > On Wednesday, January 01, 2014 3:18:03 pm Zbigniew Bodek wrote: >> Author: zbb >> Date: Wed Jan 1 20:18:03 2014 >> New Revision: 260163 >> URL: http://svnweb.freebsd.org/changeset/base/260163 >> >> Log: >> Do not attach to PCI bridges in AHCI driver >> >> Some vendors

svn commit: r260224 - head/sys/netinet

2014-01-03 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 3 11:03:12 2014 New Revision: 260224 URL: http://svnweb.freebsd.org/changeset/base/260224 Log: Make failure of ifpromisc() a non-fatal error. This makes it possible to run carp(4) on vtnet(4). Sponsored by: Nginx, Inc. Modified: head/sys/netinet/ip_carp.c

svn commit: r260225 - head/sys/netgraph

2014-01-03 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 3 12:06:54 2014 New Revision: 260225 URL: http://svnweb.freebsd.org/changeset/base/260225 Log: Fix circular math macro. Submitted by: Lutz Donnerhacke via Dmitry Luhtionov German lesson at: http://lutz.donnerhacke.de/Blog/Der-Fluch-der-Stabilita

svn commit: r260228 - head/sys/net

2014-01-03 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Jan 3 14:33:25 2014 New Revision: 260228 URL: http://svnweb.freebsd.org/changeset/base/260228 Log: Remove useless register variable modifiers. Do some more style(9). MFC after:2 weeks Modified: head/sys/net/radix.c Modified: head/sys/net/radix.c ===

svn commit: r260229 - in head/sys: fs/nfs fs/nfsserver rpc

2014-01-03 Thread Alexander Motin
Author: mav Date: Fri Jan 3 15:09:59 2014 New Revision: 260229 URL: http://svnweb.freebsd.org/changeset/base/260229 Log: Rework NFS Duplicate Request Cache cleanup logic. - Introduce additional hash to group requests by hash of sockref. This allows to process TCP acknowledgements witho

svn commit: r260232 - head/sys/kern

2014-01-03 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 3 16:34:16 2014 New Revision: 260232 URL: http://svnweb.freebsd.org/changeset/base/260232 Log: Don't check for fd limits in fdgrowtable_exp. Callers do that already and additional check races with process decreasing limits and can result in not growing the table

svn commit: r260233 - head/sys/kern

2014-01-03 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 3 16:36:55 2014 New Revision: 260233 URL: http://svnweb.freebsd.org/changeset/base/260233 Log: Plug a memory leak in dup2 when both old and new fd have ioctl caps. Reviewed by: pjd MFC after:3 days Modified: head/sys/kern/kern_descrip.c Modified: head/s

Re: svn commit: r260165 - head/sys/dev/ahci

2014-01-03 Thread Ian Lepore
On Wed, 2014-01-01 at 22:32 +0200, Konstantin Belousov wrote: > On Wed, Jan 01, 2014 at 08:26:08PM +, Zbigniew Bodek wrote: > > Author: zbb > > Date: Wed Jan 1 20:26:08 2014 > > New Revision: 260165 > > URL: http://svnweb.freebsd.org/changeset/base/260165 > > > > Log: > > Use only mapped BI

svn commit: r260234 - head/sys/cddl/compat/opensolaris/sys

2014-01-03 Thread Alexander Motin
Author: mav Date: Fri Jan 3 18:08:31 2014 New Revision: 260234 URL: http://svnweb.freebsd.org/changeset/base/260234 Log: Remove extra conversion to nanoseconds from ddi_get_lbolt64(). As result this uses one multiplication and shifts instead of one division and two multiplications. Modi

Re: svn commit: r260165 - head/sys/dev/ahci

2014-01-03 Thread Konstantin Belousov
On Fri, Jan 03, 2014 at 09:49:12AM -0700, Ian Lepore wrote: > On Wed, 2014-01-01 at 22:32 +0200, Konstantin Belousov wrote: > > On Wed, Jan 01, 2014 at 08:26:08PM +, Zbigniew Bodek wrote: > > > Author: zbb > > > Date: Wed Jan 1 20:26:08 2014 > > > New Revision: 260165 > > > URL: http://svnweb.

svn commit: r260235 - head/sys/boot/fdt/dts

2014-01-03 Thread Ian Lepore
Author: ian Date: Fri Jan 3 18:36:19 2014 New Revision: 260235 URL: http://svnweb.freebsd.org/changeset/base/260235 Log: Update the dockstar DTS to reflect just NAND flash (no SPI NOR flash, and the LED specification was just misplaced). The rather odd memory mappings that were in place us

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

2014-01-03 Thread Alexander Motin
Author: mav Date: Fri Jan 3 18:44:37 2014 New Revision: 260236 URL: http://svnweb.freebsd.org/changeset/base/260236 Log: In dmu_zfetch_stream_reclaim() replace division with multiplication and move it out of the loop and lock. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/d

Re: svn commit: r260165 - head/sys/dev/ahci

2014-01-03 Thread Ian Lepore
On Fri, 2014-01-03 at 20:21 +0200, Konstantin Belousov wrote: > On Fri, Jan 03, 2014 at 09:49:12AM -0700, Ian Lepore wrote: > > On Wed, 2014-01-01 at 22:32 +0200, Konstantin Belousov wrote: > > > On Wed, Jan 01, 2014 at 08:26:08PM +, Zbigniew Bodek wrote: > > > > Author: zbb > > > > Date: Wed J

svn commit: r260237 - head/sys/amd64/vmm/io

2014-01-03 Thread Neel Natu
Author: neel Date: Fri Jan 3 19:25:52 2014 New Revision: 260237 URL: http://svnweb.freebsd.org/changeset/base/260237 Log: Fix a bug in the HPET emulation where a timer interrupt could be lost when the guest disables the HPET. The HPET timer interrupt is triggered from the callout handler

svn commit: r260238 - head/sys/amd64/vmm/intel

2014-01-03 Thread Neel Natu
Author: neel Date: Fri Jan 3 19:29:33 2014 New Revision: 260238 URL: http://svnweb.freebsd.org/changeset/base/260238 Log: Use the same label name for ENTRY() and END() macros for 'vmx_enter_guest'. Pointed out by: rmh@ Modified: head/sys/amd64/vmm/intel/vmx_support.S Modified: he

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

2014-01-03 Thread Peter Grehan
Author: grehan Date: Fri Jan 3 19:31:40 2014 New Revision: 260239 URL: http://svnweb.freebsd.org/changeset/base/260239 Log: Cosmetic change - switch over to vertical SRCS to make it easier to keep files in alpha order. Reviewed by: neel Modified: head/usr.sbin/bhyve/Makefile Modifie

Re: svn commit: r260165 - head/sys/dev/ahci

2014-01-03 Thread Konstantin Belousov
On Fri, Jan 03, 2014 at 12:08:01PM -0700, Ian Lepore wrote: > On Fri, 2014-01-03 at 20:21 +0200, Konstantin Belousov wrote: > > On Fri, Jan 03, 2014 at 09:49:12AM -0700, Ian Lepore wrote: > > > On Wed, 2014-01-01 at 22:32 +0200, Konstantin Belousov wrote: > > > > On Wed, Jan 01, 2014 at 08:26:08PM

svn commit: r260243 - head/sys/dev/aacraid

2014-01-03 Thread Sean Bruno
Author: sbruno Date: Fri Jan 3 20:45:56 2014 New Revision: 260243 URL: http://svnweb.freebsd.org/changeset/base/260243 Log: Wrap this debug statement in debug defines. Else, this driver will refuse to load. MFC after:2 weeks Sponsored by: Yahoo! Inc. Modified: head/sys/dev/aacr

Re: svn commit: r260243 - head/sys/dev/aacraid

2014-01-03 Thread Sean Bruno
On Fri, 2014-01-03 at 20:45 +, Sean Bruno wrote: > Author: sbruno > Date: Fri Jan 3 20:45:56 2014 > New Revision: 260243 > URL: http://svnweb.freebsd.org/changeset/base/260243 > > Log: > Wrap this debug statement in debug defines. Else, this driver > will refuse to load. should have rea

svn commit: r260245 - head/sys/arm/ti/am335x

2014-01-03 Thread Ian Lepore
Author: ian Date: Fri Jan 3 21:38:33 2014 New Revision: 260245 URL: http://svnweb.freebsd.org/changeset/base/260245 Log: Fix a typo that caused a loop to run beyond the end of the array it was searching. If you didn't configure a timer capture pin you'd get a data abort as it wandered into

svn commit: r260246 - head/bin/sh

2014-01-03 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 3 22:56:23 2014 New Revision: 260246 URL: http://svnweb.freebsd.org/changeset/base/260246 Log: sh(1): Discourage use of -e. Also, do not say that ! before a pipeline is an operator, because it is syntactically a keyword. Modified: head/bin/sh/sh.1 Modifie

svn commit: r260247 - head/sys/netpfil/ipfw

2014-01-03 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Jan 3 23:11:26 2014 New Revision: 260247 URL: http://svnweb.freebsd.org/changeset/base/260247 Log: Use rnh_matchaddr instead of rnh_lookup for longest-prefix match. rnh_lookup is effectively the same as rnh_matchaddr if called with empy network mask. MFC afte

svn commit: r260248 - head/share/i18n/esdb/UTF

2014-01-03 Thread Peter Wemm
Author: peter Date: Fri Jan 3 23:35:01 2014 New Revision: 260248 URL: http://svnweb.freebsd.org/changeset/base/260248 Log: Revert r258254: Alias WCHAR_T to UCS-4-INTERNAL. Modified: head/share/i18n/esdb/UTF/UTF.alias Modified: head/share/i18n/esdb/UTF/UTF.alias =

svn commit: r260250 - head/usr.sbin/rpc.lockd

2014-01-03 Thread Xin LI
Author: delphij Date: Sat Jan 4 01:08:10 2014 New Revision: 260250 URL: http://svnweb.freebsd.org/changeset/base/260250 Log: Use prototype. Modified: head/usr.sbin/rpc.lockd/kern.c head/usr.sbin/rpc.lockd/lock_proc.c Modified: head/usr.sbin/rpc.lockd/kern.c ===

svn commit: r260251 - head/usr.sbin/rpc.lockd

2014-01-03 Thread Xin LI
Author: delphij Date: Sat Jan 4 01:12:28 2014 New Revision: 260251 URL: http://svnweb.freebsd.org/changeset/base/260251 Log: Make a copy instead using constant string directly when assigning to char *. While I'm there also remove a few prototypes that are unused. Modified: head/usr.sbin