svn commit: r232147 - head/sys/dev/wi

2012-02-25 Thread Adrian Chadd
Author: adrian Date: Sat Feb 25 08:01:29 2012 New Revision: 232147 URL: http://svn.freebsd.org/changeset/base/232147 Log: If an interrupt is received with no vap attached, just fail LINK events. This fixes a NULL pointer dereference which occurs if the vap list is empty but someone brings

svn commit: r232152 - in head/sys: kern sys

2012-02-25 Thread Mikolaj Golub
Author: trociny Date: Sat Feb 25 10:15:41 2012 New Revision: 232152 URL: http://svn.freebsd.org/changeset/base/232152 Log: When detaching an unix domain socket, uipc_detach() checks unp->unp_vnode pointer to detect if there is a vnode associated with (binded to) this socket and does necessar

svn commit: r232154 - head/sys/sys

2012-02-25 Thread Martin Matuska
Author: mm Date: Sat Feb 25 11:03:13 2012 New Revision: 232154 URL: http://svn.freebsd.org/changeset/base/232154 Log: Bump __FreeBSD_version due to libarchive update. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

svn commit: r232156 - head/sys/kern

2012-02-25 Thread Maxim Konovalov
Author: maxim Date: Sat Feb 25 12:06:40 2012 New Revision: 232156 URL: http://svn.freebsd.org/changeset/base/232156 Log: o Reduce chances for integer overflow. o More verbose sysctl description added. MFC after:2 weeks Sponsored by: Nginx, Inc. Modified: head/sys/kern/vfs_cache.c

svn commit: r232157 - in head: bin/expr lib/libc/sys lib/libmemstat lib/libpmc lib/libusb lib/libutil lib/libvgl sbin/iscontrol share/man/man3 share/man/man4 share/man/man5 share/man/man9 sys/boot/...

2012-02-25 Thread Glen Barber
Author: gjb (doc committer) Date: Sat Feb 25 14:31:25 2012 New Revision: 232157 URL: http://svn.freebsd.org/changeset/base/232157 Log: Fix various typos in manual pages. Submitted by: amdmi3 PR: 165431 MFC after:1 week Modified: head/bin/expr/expr.1 head/lib/libc/sys/

svn commit: r232158 - in head: bin/expr lib/libc/sys lib/libpmc sbin/iscontrol share/man/man4 share/man/man5 sys/boot/forth

2012-02-25 Thread Glen Barber
Author: gjb (doc committer) Date: Sat Feb 25 15:21:43 2012 New Revision: 232158 URL: http://svn.freebsd.org/changeset/base/232158 Log: Whitespace cleanup: o Wrap sentences on to new lines o Cleanup trailing whitespace Found with: textproc/igor MFC after:1 week X-MFC-With:

svn commit: r232159 - head/lib/libpmc

2012-02-25 Thread Glen Barber
Author: gjb (doc committer) Date: Sat Feb 25 16:02:12 2012 New Revision: 232159 URL: http://svn.freebsd.org/changeset/base/232159 Log: Whitespace cleanup: o Wrap sentences on to new lines o Rewrap lines where possible while trying to keep the diff to a minimum Found with: textp

svn commit: r232160 - head/sys/vm

2012-02-25 Thread Alan Cox
Author: alc Date: Sat Feb 25 17:49:59 2012 New Revision: 232160 URL: http://svn.freebsd.org/changeset/base/232160 Log: Simplify vmspace_fork()'s control flow by copying immutable data before the vm map locks are acquired. Also, eliminate redundant initialization of the new vm map's timestam

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

2012-02-25 Thread Adrian Chadd
Author: adrian Date: Sat Feb 25 19:12:54 2012 New Revision: 232163 URL: http://svn.freebsd.org/changeset/base/232163 Log: Attempt to further fix some of the concurrency/reset issues that occur. * ath_reset() is being called in softclock context, which may have the thing sleep on a lock.

svn commit: r232166 - head/sys/vm

2012-02-25 Thread Alan Cox
Author: alc Date: Sat Feb 25 21:06:39 2012 New Revision: 232166 URL: http://svn.freebsd.org/changeset/base/232166 Log: Simplify vm_mmap()'s control flow. Add a comment describing what vm_mmap_to_errno() does. Reviewed by: kib MFC after:3 weeks X-MFC after: r232071 Modified:

Re: svn commit: r232059 - in head: sys/fs/devfs sys/fs/nullfs sys/kern sys/sys usr.sbin/jail

2012-02-25 Thread Pawel Jakub Dawidek
On Thu, Feb 23, 2012 at 06:51:24PM +, Martin Matuska wrote: > Author: mm > Date: Thu Feb 23 18:51:24 2012 > New Revision: 232059 > URL: http://svn.freebsd.org/changeset/base/232059 > > Log: > To improve control over the use of mount(8) inside a jail(8), introduce > a new jail parameter nod

Re: svn commit: r232156 - head/sys/kern

2012-02-25 Thread Bruce Evans
On Sat, 25 Feb 2012, Maxim Konovalov wrote: Log: o Reduce chances for integer overflow. o More verbose sysctl description added. MFC after: 2 weeks Sponsored by: Nginx, Inc. Modified: head/sys/kern/vfs_cache.c =

Re: svn commit: r232147 - head/sys/dev/wi

2012-02-25 Thread Pawel Jakub Dawidek
On Sat, Feb 25, 2012 at 08:01:29AM +, Adrian Chadd wrote: > Author: adrian > Date: Sat Feb 25 08:01:29 2012 > New Revision: 232147 > URL: http://svn.freebsd.org/changeset/base/232147 > > Log: > If an interrupt is received with no vap attached, just fail LINK events. > > This fixes a NUL

Re: svn commit: r232156 - head/sys/kern

2012-02-25 Thread Rick Macklem
Maxim Konovalov wrote: > Author: maxim > Date: Sat Feb 25 12:06:40 2012 > New Revision: 232156 > URL: http://svn.freebsd.org/changeset/base/232156 > > Log: > o Reduce chances for integer overflow. > o More verbose sysctl description added. > > MFC after: 2 weeks > Sponsored by: Nginx, Inc. > > M

Re: svn commit: r232156 - head/sys/kern

2012-02-25 Thread Bruce Evans
On Sat, 25 Feb 2012, Rick Macklem wrote: Log: o Reduce chances for integer overflow. o More verbose sysctl description added. MFC after: 2 weeks Sponsored by: Nginx, Inc. Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ==

svn commit: r232170 - head/sys/dev/ath/ath_rate/sample

2012-02-25 Thread Adrian Chadd
Author: adrian Date: Sun Feb 26 06:04:44 2012 New Revision: 232170 URL: http://svn.freebsd.org/changeset/base/232170 Log: Add in some debugging code to check whether the current rate table has been bait-and-switched from the rate control code. This will avoid the panic that I saw and will

Re: svn commit: r232147 - head/sys/dev/wi

2012-02-25 Thread Adrian Chadd
Good point.. Adiran On 25 February 2012 00:01, Adrian Chadd wrote: > Author: adrian > Date: Sat Feb 25 08:01:29 2012 > New Revision: 232147 > URL: http://svn.freebsd.org/changeset/base/232147 > > Log: >  If an interrupt is received with no vap attached, just fail LINK events. > >  This fixes a