svn commit: r251681 - head/sys/netpfil/pf

2013-06-13 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 13 06:07:19 2013 New Revision: 251681 URL: http://svnweb.freebsd.org/changeset/base/251681 Log: Improve locking strategy between keys hash and ID hash. Before this change state creating sequence was: 1) lock wire key hash 2) link state's wire key 3)

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

2013-06-13 Thread Alexander Motin
Author: mav Date: Thu Jun 13 08:34:23 2013 New Revision: 251683 URL: http://svnweb.freebsd.org/changeset/base/251683 Log: Revert r251649: ken@ noticed that with recently added d_gone() disk method GEOM already holds reference on the periph, so we don't need another one. Modified:

svn commit: r251684 - head/sys/kern

2013-06-13 Thread Konstantin Belousov
Author: kib Date: Thu Jun 13 09:33:22 2013 New Revision: 251684 URL: http://svnweb.freebsd.org/changeset/base/251684 Log: Fix two issues with the spin loops in the umtx(2) implementation. - When looping, check for the pending suspension. Otherwise, other usermode thread which races

svn commit: r251685 - head/tools/build/options

2013-06-13 Thread Ed Maste
Author: emaste Date: Thu Jun 13 13:05:08 2013 New Revision: 251685 URL: http://svnweb.freebsd.org/changeset/base/251685 Log: Use portable string comparison We support == in /bin/sh now, but it ought to be avoided, and my use of it was accidental. Modified:

svn commit: r251686 - stable/9/share/mk

2013-06-13 Thread Ed Maste
Author: emaste Date: Thu Jun 13 14:38:29 2013 New Revision: 251686 URL: http://svnweb.freebsd.org/changeset/base/251686 Log: MFC r244224, r248753 Minor refactoring prior to .symbols file changes - Combine .if x and .if !x using .else - Separate out beforelinking dependency

svn commit: r251687 - stable/9/sys/sys

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 15:45:54 2013 New Revision: 251687 URL: http://svnweb.freebsd.org/changeset/base/251687 Log: Bump __FreeBSD_version to bound boostrapping of ctfmerge which was fixed in r249243. Modified: stable/9/sys/sys/param.h Modified: stable/9/sys/sys/param.h

svn commit: r251688 - in stable/9/usr.sbin/makefs: . compat

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 17:13:15 2013 New Revision: 251688 URL: http://svnweb.freebsd.org/changeset/base/251688 Log: MFC r250407: Remove duplicated copies of various NetBSD compatibility shims used by makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead.

svn commit: r251689 - head

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 18:26:04 2013 New Revision: 251689 URL: http://svnweb.freebsd.org/changeset/base/251689 Log: Be more agressive about bootstrapping ctfmerge and ctfconvert so builds from existing releases have a chance of working properly. Sponsored by: DARPA, AFRL MFC

svn commit: r251690 - head/share/mk

2013-06-13 Thread Jung-uk Kim
Author: jkim Date: Thu Jun 13 18:26:12 2013 New Revision: 251690 URL: http://svnweb.freebsd.org/changeset/base/251690 Log: Add a new CPUTYPE supported by Clang 3.3 for AMD Jaguar processors (btver2). Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

svn commit: r251691 - head/share/examples/etc

2013-06-13 Thread Jung-uk Kim
Author: jkim Date: Thu Jun 13 18:31:09 2013 New Revision: 251691 URL: http://svnweb.freebsd.org/changeset/base/251691 Log: - Document GCC support for AMD Family 10h processors (amdfam10). - Document Clang support for AMD Jaguar processors (btver2). Modified:

svn commit: r251692 - head/share/examples/etc

2013-06-13 Thread Jung-uk Kim
Author: jkim Date: Thu Jun 13 18:33:54 2013 New Revision: 251692 URL: http://svnweb.freebsd.org/changeset/base/251692 Log: Add a missing comma. Modified: head/share/examples/etc/make.conf Modified: head/share/examples/etc/make.conf

svn commit: r251694 - head/sys/sys

2013-06-13 Thread Ed Schouten
Author: ed Date: Thu Jun 13 18:40:45 2013 New Revision: 251694 URL: http://svnweb.freebsd.org/changeset/base/251694 Log: Minor improvements to stdatomic.h. - Define __SYNC_ATOMICS in case we're using the __sync_*() API. This is not used by stdatomic.h itself, but may be useful for some

svn commit: r251695 - in head/sys: arm/arm conf

2013-06-13 Thread Ed Schouten
Author: ed Date: Thu Jun 13 18:46:49 2013 New Revision: 251695 URL: http://svnweb.freebsd.org/changeset/base/251695 Log: Add C11 atomic fallbacks for ARM. Basically the situation is as follows: - When using Clang + armv6, we should not need any intrinsics. It should support it,

svn commit: r251693 - head

2013-06-13 Thread Simon J. Gerraty
/malloc.conf.) +20130613: + Some people report the following error after the switch to bmake: + + make: illegal option -- J + usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] + ... + *** [buildworld] Error code 2

svn commit: r251697 - in stable/9: cddl/contrib/dtracetoolkit share share/dtrace

2013-06-13 Thread George V. Neville-Neil
Author: gnn Date: Thu Jun 13 18:47:53 2013 New Revision: 251697 URL: http://svnweb.freebsd.org/changeset/base/251697 Log: MFC: 235380,235454,235455,235456,235457,235613,235614,235628,236567, 238125,238535,238660,238979,239972 Bring all changes to the DTrace Toolkit into FreeBSD 9.

svn commit: r251696 - head/sys/mips/mips

2013-06-13 Thread Ed Schouten
Author: ed Date: Thu Jun 13 18:47:28 2013 New Revision: 251696 URL: http://svnweb.freebsd.org/changeset/base/251696 Log: Bring the stdatomic for MIPS code slightly more in sync with the ARM version. Modified: head/sys/mips/mips/stdatomic.c Modified: head/sys/mips/mips/stdatomic.c

Re: svn commit: r251689 - head

2013-06-13 Thread Dimitry Andric
On Jun 13, 2013, at 20:26, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Thu Jun 13 18:26:04 2013 New Revision: 251689 URL: http://svnweb.freebsd.org/changeset/base/251689 Log: Be more agressive about bootstrapping ctfmerge and ctfconvert so builds from existing releases

svn commit: r251698 - stable/9/sys/rpc

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 19:25:36 2013 New Revision: 251698 URL: http://svnweb.freebsd.org/changeset/base/251698 Log: MFC 249263: Fix a potential socket leak in the NFS server. Modified: stable/9/sys/rpc/svc_vc.c Directory Properties: stable/9/sys/ (props changed) Modified:

svn commit: r251699 - stable/8/sys/rpc

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 19:35:56 2013 New Revision: 251699 URL: http://svnweb.freebsd.org/changeset/base/251699 Log: MFC 249263: Fix a potential socket leak in the NFS server. Modified: stable/8/sys/rpc/svc_vc.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/rpc/

Re: svn commit: r251689 - head

2013-06-13 Thread Brooks Davis
On Thu, Jun 13, 2013 at 08:53:14PM +0200, Dimitry Andric wrote: On Jun 13, 2013, at 20:26, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Thu Jun 13 18:26:04 2013 New Revision: 251689 URL: http://svnweb.freebsd.org/changeset/base/251689 Log: Be more agressive about

svn commit: r251700 - stable/9/sys/dev/pci

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 20:29:06 2013 New Revision: 251700 URL: http://svnweb.freebsd.org/changeset/base/251700 Log: MFC 249315: Proxy allocation requests for the PCI ROM BAR from child devices similar to how the VGA bus driver currently proxies allocation requests for other PCI

svn commit: r251702 - in stable/8/sys/dev/usb: . net

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 20:41:09 2013 New Revision: 251702 URL: http://svnweb.freebsd.org/changeset/base/251702 Log: MFC r251109: Add support for tethering on the iPhone 4S PR: usb/179078 Modified: stable/8/sys/dev/usb/net/if_ipheth.c stable/8/sys/dev/usb/usbdevs

svn commit: r251701 - in stable/9/sys/dev/usb: . net

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 20:40:39 2013 New Revision: 251701 URL: http://svnweb.freebsd.org/changeset/base/251701 Log: MFC r251109: Add support for tethering on the iPhone 4S PR: usb/179078 Modified: stable/9/sys/dev/usb/net/if_ipheth.c stable/9/sys/dev/usb/usbdevs

svn commit: r251704 - stable/9/usr.bin/lockf

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 20:46:29 2013 New Revision: 251704 URL: http://svnweb.freebsd.org/changeset/base/251704 Log: MFC r250462: Add option to lockf to avoid creating a file if it does not exist. PR: bin/170775 Modified: stable/9/usr.bin/lockf/lockf.1

svn commit: r251703 - in head/sys: amd64/amd64 i386/i386 i386/xen kern mips/mips sparc64/sparc64 sys

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 20:46:03 2013 New Revision: 251703 URL: http://svnweb.freebsd.org/changeset/base/251703 Log: - Add a BIT_FFS() macro and use it to replace cpusetffs_obj() Discussed with: attilio Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r251705 - stable/8/usr.bin/lockf

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 20:46:30 2013 New Revision: 251705 URL: http://svnweb.freebsd.org/changeset/base/251705 Log: MFC r250462: Add option to lockf to avoid creating a file if it does not exist. PR: bin/170775 Modified: stable/8/usr.bin/lockf/lockf.1

svn commit: r251706 - stable/8/sys/dev/pci

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 21:01:33 2013 New Revision: 251706 URL: http://svnweb.freebsd.org/changeset/base/251706 Log: MFC 249315: Proxy allocation requests for the PCI ROM BAR from child devices similar to how the VGA bus driver currently proxies allocation requests for other PCI

svn commit: r251707 - stable/9/sbin/dhclient

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 21:02:44 2013 New Revision: 251707 URL: http://svnweb.freebsd.org/changeset/base/251707 Log: MFC 249766: Use a higher TTL (128) for DHCP packets. Modified: stable/9/sbin/dhclient/packet.c Directory Properties: stable/9/sbin/dhclient/ (props changed)

svn commit: r251708 - stable/8/sbin/dhclient

2013-06-13 Thread John Baldwin
Author: jhb Date: Thu Jun 13 21:03:23 2013 New Revision: 251708 URL: http://svnweb.freebsd.org/changeset/base/251708 Log: MFC 249766: Use a higher TTL (128) for DHCP packets. Modified: stable/8/sbin/dhclient/packet.c Directory Properties: stable/8/sbin/dhclient/ (props changed)

svn commit: r251709 - head/sys/vm

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 21:05:38 2013 New Revision: 251709 URL: http://svnweb.freebsd.org/changeset/base/251709 Log: - Convert the slab free item list from a linked array of indices to a bitmap using sys/bitset. This is much simpler, has lower space overhead and is cheaper in

svn commit: r251711 - stable/9/usr.bin/split

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 21:06:17 2013 New Revision: 251711 URL: http://svnweb.freebsd.org/changeset/base/251711 Log: MFC r227183,r229905,r250432,r250451,r250882: - Add missing static keywords to split(1) - Fix warning when compiling with gcc46: error:

svn commit: r251710 - stable/8/usr.bin/split

2013-06-13 Thread Eitan Adler
Author: eadler Date: Thu Jun 13 21:06:17 2013 New Revision: 251710 URL: http://svnweb.freebsd.org/changeset/base/251710 Log: MFC r227183,r229905,r250432,r250451,r250882: - Add missing static keywords to split(1) - Fix warning when compiling with gcc46: error:

svn commit: r251712 - in head/sys/arm: arm include

2013-06-13 Thread Andrew Turner
Author: andrew Date: Thu Jun 13 21:31:33 2013 New Revision: 251712 URL: http://svnweb.freebsd.org/changeset/base/251712 Log: Fix the vfp code to work with the 16 register variants of the VFP unit. We check which variant we are on, and if it is a VFPv3 or v4, and has 32 double registers we

svn commit: r251713 - head/sys/dev/puc

2013-06-13 Thread Marius Strobl
Author: marius Date: Thu Jun 13 21:47:22 2013 New Revision: 251713 URL: http://svnweb.freebsd.org/changeset/base/251713 Log: Fix whitespace and normalize some entries. Modified: head/sys/dev/puc/pucdata.c Modified: head/sys/dev/puc/pucdata.c

svn commit: r251715 - head/sys/dev/puc

2013-06-13 Thread Marius Strobl
Author: marius Date: Thu Jun 13 22:13:41 2013 New Revision: 251715 URL: http://svnweb.freebsd.org/changeset/base/251715 Log: All of Oxford/PLX OX16PCI954, OXm16PCI954 and OXu16PCI954 share the exact same (subsystem) device and vendor IDs. However, the reference design for the OXu16PCI954

Re: svn commit: r251703 - in head/sys: amd64/amd64 i386/i386 i386/xen kern mips/mips sparc64/sparc64 sys

2013-06-13 Thread Bryan Drewery
On 6/13/2013 3:46 PM, Jeff Roberson wrote: Author: jeff Date: Thu Jun 13 20:46:03 2013 New Revision: 251703 URL: http://svnweb.freebsd.org/changeset/base/251703 Log: - Add a BIT_FFS() macro and use it to replace cpusetffs_obj() Discussed with: attilio Sponsored by:

svn commit: r251719 - stable/8/sys/nfsclient

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:02:29 2013 New Revision: 251719 URL: http://svnweb.freebsd.org/changeset/base/251719 Log: MFC: r251089 Add a patch analygous to r248567, r248581, r251079 to the old NFS client to avoid the panic reported in the PR by doing the vnode_pager_setsize()

svn commit: r251720 - in head/sys/amd64: amd64 include

2013-06-13 Thread Neel Natu
Author: neel Date: Fri Jun 14 00:03:43 2013 New Revision: 251720 URL: http://svnweb.freebsd.org/changeset/base/251720 Log: Remove unused macros PTESHIFT, PDESHIFT, PDPESHIFT and PML4ESHIFT. Reviewed by: alc Modified: head/sys/amd64/amd64/genassym.c head/sys/amd64/amd64/pmap.c

svn commit: r251721 - stable/8/usr.sbin/gssd

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:30:11 2013 New Revision: 251721 URL: http://svnweb.freebsd.org/changeset/base/251721 Log: MFC: r250176 Fix the getpwuid_r() call in the gssd daemon so that it handles the ERANGE error return case. Without this fix, authentication of users for certain

svn commit: r251722 - stable/8/kerberos5/lib/libgssapi_krb5

2013-06-13 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 14 00:33:55 2013 New Revision: 251722 URL: http://svnweb.freebsd.org/changeset/base/251722 Log: MFC: r250177 Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so that it handles the ERANGE error return case. Without this fix,

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

2013-06-13 Thread Mark Johnston
Author: markj Date: Fri Jun 14 01:12:59 2013 New Revision: 251723 URL: http://svnweb.freebsd.org/changeset/base/251723 Log: The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}(). MFC after:3 days Modified: head/share/man/man9/pci.9 Modified:

svn commit: r251724 - stable/9/usr.sbin/route6d

2013-06-13 Thread Hiroki Sato
Author: hrs Date: Fri Jun 14 02:21:32 2013 New Revision: 251724 URL: http://svnweb.freebsd.org/changeset/base/251724 Log: MFC 228990,243232,243233: Overhaul of route6d(8): - Use queue(3) for linked-list. - Use a consistent naming scheme for struct members. - Use ANSI C style

svn commit: r251725 - head/sys/kern

2013-06-13 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 14 02:25:40 2013 New Revision: 251725 URL: http://svnweb.freebsd.org/changeset/base/251725 Log: Fix a potential NULL-pointer dereference that would trigger if the hhook registration site did not provide storage for a copy of the hhook_head struct. MFC

svn commit: r251726 - stable/9/lib/libstand

2013-06-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 14 02:51:03 2013 New Revision: 251726 URL: http://svnweb.freebsd.org/changeset/base/251726 Log: MFC r251561: libstand: Reset the seek pointer in ext2fs as done in UFS. Reset the seek pointer to 0 when a file is successfully opened, since otherwise the

svn commit: r251727 - stable/8/lib/libstand

2013-06-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 14 03:21:53 2013 New Revision: 251727 URL: http://svnweb.freebsd.org/changeset/base/251727 Log: MFC r251561: libstand: Reset the seek pointer in ext2fs as done in UFS. PR: 177328 Submitted by: Eric van Gyzen Reviewed by: iedowse Modified:

svn commit: r251728 - stable/8/contrib/gcc

2013-06-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 14 03:28:29 2013 New Revision: 251728 URL: http://svnweb.freebsd.org/changeset/base/251728 Log: MFC r250550, r250566; Update the gcc43 ChangeLog. Add support for d floating-point suffix, as defined by draft N1312 of TR 24732. Modified:

svn commit: r251729 - head/sys/dev/xen/netfront

2013-06-13 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 14 03:31:11 2013 New Revision: 251729 URL: http://svnweb.freebsd.org/changeset/base/251729 Log: sys/dev/xen/netfront/netfront.c: In netif_free(), call ifmedia_removeall() after ether_ifdetach() so that bpf listeners are detached, any link state

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

2013-06-13 Thread Adrian Chadd
Author: adrian Date: Fri Jun 14 03:42:10 2013 New Revision: 251730 URL: http://svnweb.freebsd.org/changeset/base/251730 Log: Initial AR9485/AR933x 1x1 LNA diversity work. * Add the LNA configuration table entries for AR933x/AR9485 * Add a chip-dependent LNA signal level delta in the

svn commit: r251731 - stable/9/sys/fs/ext2fs

2013-06-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 14 03:58:52 2013 New Revision: 251731 URL: http://svnweb.freebsd.org/changeset/base/251731 Log: MFC r251562, r251612: Miscellaneous cleanups for ext2fs: - e2fs_bpg and e2fs_isize are always unsigned. - s/file system/filesystem/g (from ffs r96755)

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

2013-06-13 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 14 04:10:34 2013 New Revision: 251732 URL: http://svnweb.freebsd.org/changeset/base/251732 Log: Add support for non-virtualised hhook points, which are uniquely identified by type and id, as compared to virtualised hook points which are now uniquely identified

svn commit: r251733 - head/sys/dev/bge

2013-06-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Jun 14 05:16:51 2013 New Revision: 251733 URL: http://svnweb.freebsd.org/changeset/base/251733 Log: Fix a typo introduced in r213280. IFM_OPTIONS macro should see current media word. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

svn commit: r251734 - in head/sys/dev: rt usb/net

2013-06-13 Thread Kevin Lo
Author: kevlo Date: Fri Jun 14 05:36:47 2013 New Revision: 251734 URL: http://svnweb.freebsd.org/changeset/base/251734 Log: - Use the consistenly PHY-specific reset routine PHY_RESET() rather than generic mii_phy_reset(). - Return the result of mii_mediachg() rather than blindly returning