svn commit: r249038 - head/sys/vm

2013-04-03 Thread Alan Cox
Author: alc Date: Wed Apr 3 06:37:25 2013 New Revision: 249038 URL: http://svnweb.freebsd.org/changeset/base/249038 Log: Replace the remaining uses of vm_radix_node_page() by vm_radix_isleaf() and vm_radix_topage(). This transformation eliminates some unnecessary conditional branches from

svn commit: r249039 - in head/sys/dev/usb: . misc

2013-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 3 06:45:21 2013 New Revision: 249039 URL: http://svnweb.freebsd.org/changeset/base/249039 Log: Add new USB ID. MFC after:1 week Submitted by: Bruce Simpson b...@fastmail.net Modified: head/sys/dev/usb/misc/udbp.c head/sys/dev/usb/usbdevs

Re: svn commit: r249035 - head/lib/libc/stdlib

2013-04-03 Thread Bruce Evans
On Tue, 2 Apr 2013, Xin LI wrote: Log: Replace access to /dev/random with the kernel pseudo-random number source sysctl(KERN_ARND) and remove the fallback code. Obtained from: OpenBSD Reviewed by: secteam Really? Modified: head/lib/libc/stdlib/rand.3

Re: svn commit: r249035 - head/lib/libc/stdlib

2013-04-03 Thread Andrey Chernov
On 03.04.2013 11:04, Bruce Evans wrote: +mib[0] = CTL_KERN; +mib[1] = KERN_ARND; +sysctl(mib, 2, (void *)next, len, NULL, 0); } The sysctl() is certain to fail on old kernels (like open of /dev/random on even older kernels), but there is no longer any error checking or

svn commit: r249041 - in head/sys/dev/drm2: . i915

2013-04-03 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Wed Apr 3 08:27:35 2013 New Revision: 249041 URL: http://svnweb.freebsd.org/changeset/base/249041 Log: drm and i915: Left-shift iic_msg.slave at creation time This is required because, in the radeon driver, we can't left-shift in a central place, like it was done

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

2013-04-03 Thread Martin Matuska
Author: mm Date: Wed Apr 3 09:52:30 2013 New Revision: 249042 URL: http://svnweb.freebsd.org/changeset/base/249042 Log: Fix possible pool hold leak in dmu_send_impl() Problem reported to vendor: https://www.illumos.org/issues/3645 Reported by: Andriy Gapon a...@freebsd.org MFC

svn commit: r249043 - head/sys/dev/usb

2013-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 3 10:31:13 2013 New Revision: 249043 URL: http://svnweb.freebsd.org/changeset/base/249043 Log: Add missing ifdef's for reduced feature compilations. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c

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

2013-04-03 Thread Andriy Gapon
Author: avg Date: Wed Apr 3 11:06:26 2013 New Revision: 249047 URL: http://svnweb.freebsd.org/changeset/base/249047 Log: spa_open_common: fix argument to zvol_create_minors Prior to r248571 spa_open was always called with a bare pool name, but now it is called with a dataset name

svn commit: r249048 - in head/sys/cam: ata scsi

2013-04-03 Thread Alexander Motin
Author: mav Date: Wed Apr 3 11:30:18 2013 New Revision: 249048 URL: http://svnweb.freebsd.org/changeset/base/249048 Log: Add xpt_release_ccb()'s missed at r248872. That made `shutdown -p` stuck on controller with small number of queue slots and several disks connected. Modified:

svn commit: r249052 - head/sys/dev/ata

2013-04-03 Thread Alexander Motin
Author: mav Date: Wed Apr 3 14:10:37 2013 New Revision: 249052 URL: http://svnweb.freebsd.org/changeset/base/249052 Log: Add some more ATA_CAM ifdefs. Submitted by: marius (partially) MFC after:1 week Modified: head/sys/dev/ata/ata-all.c head/sys/dev/ata/ata-all.h Modified:

Re: svn commit: r249035 - head/lib/libc/stdlib

2013-04-03 Thread Pawel Jakub Dawidek
On Wed, Apr 03, 2013 at 06:04:37PM +1100, Bruce Evans wrote: On Tue, 2 Apr 2013, Xin LI wrote: void sranddev() { - int fd, done; + int mib[2]; + size_t len; - done = 0; - fd = _open(/dev/random, O_RDONLY | O_CLOEXEC, 0); - if (fd = 0) { - if (_read(fd,

svn commit: r249062 - in head/sys/dev/ata: . chipsets

2013-04-03 Thread Alexander Motin
Author: mav Date: Wed Apr 3 18:30:09 2013 New Revision: 249062 URL: http://svnweb.freebsd.org/changeset/base/249062 Log: Since ATA_CAM mode has no implemented support for serializing access to the different ATA channels, required for acard and pc98 ATA controllers, block access to second

svn commit: r249063 - head/bin/dd

2013-04-03 Thread Brooks Davis
Author: brooks Date: Wed Apr 3 19:19:45 2013 New Revision: 249063 URL: http://svnweb.freebsd.org/changeset/base/249063 Log: IFP4 change 222074. Introduce an explicit close of the output descriptor so that work done on close is accounted for in the summary output triggered at exit

svn commit: r249064 - head/sys/ufs/ffs

2013-04-03 Thread Kirk McKusick
Author: mckusick Date: Wed Apr 3 19:26:32 2013 New Revision: 249064 URL: http://svnweb.freebsd.org/changeset/base/249064 Log: The code in clear_remove() and clear_inodedeps() skips one entry in the pagedep and inodedep hash tables. An entry in the table is skipped because 'pagedep_hash'

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

2013-04-03 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Apr 3 20:26:52 2013 New Revision: 249065 URL: http://svnweb.freebsd.org/changeset/base/249065 Log: Fix locking problem in ctl_maintenance_in() - one cannot use M_WAITOK or call ctl_done() with mutex held. Reviewed by: ken Sponsored by: FreeBSD Foundation

svn commit: r249066 - head/sys/ofed/drivers/infiniband/ulp/sdp

2013-04-03 Thread John Baldwin
Author: jhb Date: Wed Apr 3 20:31:10 2013 New Revision: 249066 URL: http://svnweb.freebsd.org/changeset/base/249066 Log: Check for SS_NBIO in the socket state field rather than socket buffer flags. Submitted by: Vijay Singh MFC after:1 week Modified:

svn commit: r249067 - head/sbin/nvmecontrol

2013-04-03 Thread Jim Harris
Author: jimharris Date: Wed Apr 3 20:52:17 2013 New Revision: 249067 URL: http://svnweb.freebsd.org/changeset/base/249067 Log: Fix typo (devicde - device). Modified: head/sbin/nvmecontrol/nvmecontrol.c Modified: head/sbin/nvmecontrol/nvmecontrol.c

svn commit: r249070 - in head: share/man/man4 sys/dev/e1000

2013-04-03 Thread Sean Bruno
Author: sbruno Date: Wed Apr 3 21:55:19 2013 New Revision: 249070 URL: http://svnweb.freebsd.org/changeset/base/249070 Log: Update man page for igb(4) with a little bit of information about hw.igb.num_queues for those so inclined. PR: kern/177384 Submitted by:

svn commit: r249071 - in head/sys: conf kern

2013-04-03 Thread Brooks Davis
Author: brooks Date: Wed Apr 3 22:24:36 2013 New Revision: 249071 URL: http://svnweb.freebsd.org/changeset/base/249071 Log: MFP4 change 210763 Allow boothowto and bootverbose to be set via kernel options, which is useful on architectures that are unable to rely on a boot loader to

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

2013-04-03 Thread Jack F Vogel
Author: jfv Date: Wed Apr 3 23:39:54 2013 New Revision: 249074 URL: http://svnweb.freebsd.org/changeset/base/249074 Log: Correct the multicast handling in the E1000 drivers as was done in ixgbe, thanks to Mike Karels for this fix. When exiting promiscuous mode MPE bit was being

Re: svn commit: r249035 - head/lib/libc/stdlib

2013-04-03 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 4/3/13 12:31 AM, Andrey Chernov wrote: On 03.04.2013 11:04, Bruce Evans wrote: +mib[0] = CTL_KERN; +mib[1] = KERN_ARND; + sysctl(mib, 2, (void *)next, len, NULL, 0); } The sysctl() is certain to fail on old kernels (like open of