svn commit: r206696 - head/sbin/hastd

2010-04-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Apr 16 06:47:29 2010 New Revision: 206696 URL: http://svn.freebsd.org/changeset/base/206696 Log: Fix control socket leak when worker process exits. Submitted by: Mikolaj Golub to.my.troc...@gmail.com MFC after:3 days Modified: head/sbin/hastd/hastd.c

svn commit: r206697 - head/sbin/hastd

2010-04-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Apr 16 06:49:12 2010 New Revision: 206697 URL: http://svn.freebsd.org/changeset/base/206697 Log: Fix log size calculation which caused message truncation. Submitted by: Mikolaj Golub to.my.troc...@gmail.com MFC after:3 days Modified: head/sbin/hastd/pjdlog.c

svn commit: r206698 - head/sys/fs/devfs

2010-04-16 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 16 07:02:28 2010 New Revision: 206698 URL: http://svn.freebsd.org/changeset/base/206698 Log: Revert r206560. The change doesn't work correctly in all cases with multiple devfs mounts. Modified: head/sys/fs/devfs/devfs_devs.c head/sys/fs/devfs/devfs_int.h

Re: svn commit: r206452 - head/sys/netinet

2010-04-16 Thread Alexander Leidinger
Quoting Bruce Simpson b...@incunabulum.net (from Thu, 15 Apr 2010 18:10:04 +0100): On 04/10/10 13:05, Bruce M Simpson wrote: Log: Fix a few issues related to the legacy 4.4 BSD multicast APIs. IPv4 addresses can and do change during normal operation. Testing by pfSense developers

svn commit: r206699 - stable/8/sys/kern

2010-04-16 Thread Konstantin Belousov
Author: kib Date: Fri Apr 16 08:32:08 2010 New Revision: 206699 URL: http://svn.freebsd.org/changeset/base/206699 Log: MFC r206546: Remove XXX comment. Add another comment, describing why f_vnode assignment is useful. Modified: stable/8/sys/kern/vfs_syscalls.c Directory Properties:

svn commit: r206700 - stable/8/sys/dev/ath/ath_hal/ar5416

2010-04-16 Thread Rui Paulo
Author: rpaulo Date: Fri Apr 16 09:08:19 2010 New Revision: 206700 URL: http://svn.freebsd.org/changeset/base/206700 Log: MFC r206420: Setup the correct RX/TX chainmask when we play with the antenna settings. Sponsored by: iXsystems, inc Modified:

Re: svn commit: r205954 - head/include

2010-04-16 Thread Bruce Evans
On Thu, 15 Apr 2010, David Schultz wrote: On Wed, Mar 31, 2010, Juli Mallett wrote: Be like stdlib.h and bring in a wchar_t definition and use it to prototype wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is necessary to use these functions in C++ where wchar_t is

Re: svn commit: r206452 - head/sys/netinet

2010-04-16 Thread Bruce Simpson
On 04/16/10 09:23, Alexander Leidinger wrote: IP multicast group membership is always scoped to physical links [1]. The 4.4BSD API originally used the primary IP address to identify each link. Unfortunately this is not a persistent identifier, especially so in the use-case which had

Re: svn commit: r206452 - head/sys/netinet

2010-04-16 Thread Bjoern A. Zeeb
On Fri, 16 Apr 2010, Bruce Simpson wrote: On 04/16/10 09:23, Alexander Leidinger wrote: IP multicast group membership is always scoped to physical links [1]. The 4.4BSD API originally used the primary IP address to identify each link. Unfortunately this is not a persistent identifier,

Re: svn commit: r206687 - head/usr.bin/indent

2010-04-16 Thread Bruce Evans
On Thu, 15 Apr 2010, Andriy Gapon wrote: Log: indent(1): don't treat bare '_t' as a type name when -ta is used It seems that identifier _t is sometimes used as a variable name, even in our tree. Not that I endorse that, but still it's better to require at least one character before _t

Re: svn commit: r206687 - head/usr.bin/indent

2010-04-16 Thread Colin Percival
Bruce Evans wrote: On Thu, 15 Apr 2010, Andriy Gapon wrote: It seems that identifier _t is sometimes used as a variable name, even in our tree. [...] Funny. POSIX reserves _t as a suffix in header files, so unless it also requires a non-null prefix, _t is reserved in POSIX. I think you

Re: svn commit: r206687 - head/usr.bin/indent

2010-04-16 Thread Bruce Evans
On Fri, 16 Apr 2010, Colin Percival wrote: Bruce Evans wrote: On Thu, 15 Apr 2010, Andriy Gapon wrote: It seems that identifier _t is sometimes used as a variable name, even in our tree. [...] Funny. POSIX reserves _t as a suffix in header files, so unless it also requires a non-null

svn commit: r206701 - in stable/8/sys: amd64/include conf dev/hwpmc i386/include modules/hwpmc sys

2010-04-16 Thread Fabien Thomas
Author: fabient Date: Fri Apr 16 15:43:24 2010 New Revision: 206701 URL: http://svn.freebsd.org/changeset/base/206701 Log: MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600,

svn commit: r206702 - stable/8/lib/libpmc

2010-04-16 Thread Fabien Thomas
Author: fabient Date: Fri Apr 16 15:45:09 2010 New Revision: 206702 URL: http://svn.freebsd.org/changeset/base/206702 Log: MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600,

svn commit: r206703 - in stable/7/sys: amd64/include conf dev/hwpmc i386/include modules/hwpmc sys

2010-04-16 Thread Fabien Thomas
Author: fabient Date: Fri Apr 16 16:13:49 2010 New Revision: 206703 URL: http://svn.freebsd.org/changeset/base/206703 Log: MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600,

svn commit: r206704 - stable/7/lib/libpmc

2010-04-16 Thread Fabien Thomas
Author: fabient Date: Fri Apr 16 16:15:30 2010 New Revision: 206704 URL: http://svn.freebsd.org/changeset/base/206704 Log: MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600,

Re: svn commit: r206701 - in stable/8/sys: amd64/include conf dev/hwpmc i386/include modules/hwpmc sys

2010-04-16 Thread Bruce Simpson
Right On Commander! On 04/16/10 16:43, Fabien Thomas wrote: Log: MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list

svn commit: r206705 - head/sys/dev/ixgbe

2010-04-16 Thread Jack F Vogel
Author: jfv Date: Fri Apr 16 16:33:05 2010 New Revision: 206705 URL: http://svn.freebsd.org/changeset/base/206705 Log: Remove the tx queue selection based on the cpu whe no flowid is present, this was causing some bad reordering, now just use 0. Also, add a few watchdog bits, and tx

svn commit: r206706 - head/etc/rc.d

2010-04-16 Thread Rui Paulo
Author: rpaulo Date: Fri Apr 16 16:49:42 2010 New Revision: 206706 URL: http://svn.freebsd.org/changeset/base/206706 Log: Add ubthidhci. MFC after:2 days Modified: head/etc/rc.d/Makefile Modified: head/etc/rc.d/Makefile

svn commit: r206707 - stable/8/sys/dev/e1000

2010-04-16 Thread Jack F Vogel
Author: jfv Date: Fri Apr 16 17:27:20 2010 New Revision: 206707 URL: http://svn.freebsd.org/changeset/base/206707 Log: MFC bug fixes to em and igb from HEAD. Modified: stable/8/sys/dev/e1000/if_em.c stable/8/sys/dev/e1000/if_em.h stable/8/sys/dev/e1000/if_igb.c

svn commit: r206708 - head/lib/libz

2010-04-16 Thread Xin LI
Author: delphij Date: Fri Apr 16 20:04:45 2010 New Revision: 206708 URL: http://svn.freebsd.org/changeset/base/206708 Log: MFV: libz 1.2.4.3. Modified: head/lib/libz/ChangeLog head/lib/libz/README head/lib/libz/deflate.c head/lib/libz/gzguts.h head/lib/libz/gzlib.c

svn commit: r206709 - head/lib/libz

2010-04-16 Thread Xin LI
Author: delphij Date: Fri Apr 16 20:07:24 2010 New Revision: 206709 URL: http://svn.freebsd.org/changeset/base/206709 Log: Expose a few symbols as public interface rather than private. Note: the *64 interfaces are no longer exposed via zlib.h but were keep as public interfaces; Note

svn commit: r206710 - head/tools/regression/lib/libc/gen

2010-04-16 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 16 22:15:26 2010 New Revision: 206710 URL: http://svn.freebsd.org/changeset/base/206710 Log: Add some tests for fnmatch(3). MFC after:1 week Added: head/tools/regression/lib/libc/gen/test-fnmatch.c (contents, props changed) Modified:

svn commit: r206711 - in head: lib/libc/gen tools/regression/lib/libc/gen

2010-04-16 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 16 22:29:24 2010 New Revision: 206711 URL: http://svn.freebsd.org/changeset/base/206711 Log: fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen. Example: fnmatch(a*b/*, abbb/.x, FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after:

Re: svn commit: r206408 - in head: etc etc/defaults etc/rc.d share/man/man5

2010-04-16 Thread Bjoern A. Zeeb
On Fri, 9 Apr 2010, Doug Barton wrote: Hi, first off all it would have been easier to figure a few things out, if the several different things had been individual commits or if the commit hadn't happed in the middle of a discussion that died with this. The comments below are on the first four

Re: svn commit: r206408 - in head: etc etc/defaults etc/rc.d share/man/man5

2010-04-16 Thread Doug Barton
Rather than have the discussion about this here I'm going to respond to your message on -current where the most recent discussion about this took place. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the

svn commit: r206712 - head/sys/mips/conf

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Fri Apr 16 23:42:19 2010 New Revision: 206712 URL: http://svn.freebsd.org/changeset/base/206712 Log: Set KERNLOADADDR and TARGET_BIG_ENDIAN for SWARM. Modified: head/sys/mips/conf/SWARM Modified: head/sys/mips/conf/SWARM

svn commit: r206713 - head/sys/mips/include

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Fri Apr 16 23:46:30 2010 New Revision: 206713 URL: http://svn.freebsd.org/changeset/base/206713 Log: o) Fix the intr_* functions to not spam the whole status register, just the IE bit. o) Remove some unused inlines. o) Generate CP0 access functions for 64-bit TLB

svn commit: r206714 - in head/sys/mips: include mips

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Fri Apr 16 23:48:28 2010 New Revision: 206714 URL: http://svn.freebsd.org/changeset/base/206714 Log: o) Use the direct map where possible for uiomove_fromphys, based on code from sparc64. o) Use uiomove_fromphys rather than the broken fpage mechanism for /dev/mem.

svn commit: r206715 - head/sys/mips/include

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Fri Apr 16 23:54:56 2010 New Revision: 206715 URL: http://svn.freebsd.org/changeset/base/206715 Log: Adjust limits and formats for ABIs with 64-bit longs. Modified: head/sys/mips/include/_inttypes.h head/sys/mips/include/_limits.h Modified:

svn commit: r206716 - in head/sys/mips: include mips

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Sat Apr 17 00:05:22 2010 New Revision: 206716 URL: http://svn.freebsd.org/changeset/base/206716 Log: o) Remove code related to VM_ALLOC_WIRED_TLB_PG_POOL, VM_KERNEL_ALLOC_OFFSET and floating pages. They are unused and unsupported. Modified:

svn commit: r206717 - in head: . sys/mips/include sys/mips/mips sys/mips/rmi

2010-04-16 Thread Juli Mallett
/ObsoleteFiles.inc Sat Apr 17 00:05:22 2010(r206716) +++ head/ObsoleteFiles.inc Sat Apr 17 01:17:31 2010(r206717) @@ -14,6 +14,10 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100416: [mips] removed machine/psl.h +.if ${TARGET_ARCH

svn commit: r206718 - in head/sys/mips: conf mips

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Sat Apr 17 01:49:50 2010 New Revision: 206718 URL: http://svn.freebsd.org/changeset/base/206718 Log: o) Back out my previous change to SWARM; some of it was to address an issue that turned out to be unrelated, and the rest was, as pointed out by Neel, just

svn commit: r206721 - in head/sys/mips: cavium cavium/dev/rgmii mips

2010-04-16 Thread Juli Mallett
Author: jmallett Date: Sat Apr 17 03:08:13 2010 New Revision: 206721 URL: http://svn.freebsd.org/changeset/base/206721 Log: o) Add SMP support for Octeon using U-Boot to launch all the processors at the same time. o) Remove some unused trivial uart functions from octeon_machdep now that

svn commit: r206723 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:38:26 2010 New Revision: 206723 URL: http://svn.freebsd.org/changeset/base/206723 Log: Merge of SVN 196507. This optimizes the sack handling a bit and restructures it so its much more readable ;-) Modified: stable/8/sys/netinet/sctp_indata.c Directory

svn commit: r206724 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:40:48 2010 New Revision: 206724 URL: http://svn.freebsd.org/changeset/base/206724 Log: MFC 202516 This gets rid of some stray #ifdef APPLE that drifted in some how. Modified: stable/8/sys/netinet/sctp_constants.h Directory Properties: stable/8/sys/

svn commit: r206725 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:43:02 2010 New Revision: 206725 URL: http://svn.freebsd.org/changeset/base/206725 Log: MFC of 202517 Again gets rid of some rather strange ifdef's for APPLE/USERSPACE that drifted in through our scrubber programs. Modified:

svn commit: r206726 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:44:28 2010 New Revision: 206726 URL: http://svn.freebsd.org/changeset/base/206726 Log: MFC of 202518 More ifdefs that should not be present... Modified: stable/8/sys/netinet/sctp_sysctl.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r206727 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:47:04 2010 New Revision: 206727 URL: http://svn.freebsd.org/changeset/base/206727 Log: MFC of 202520 This aligns us to the socket api of the stream reset with proper naming.. and a define for backward compatibility. Modified:

svn commit: r206728 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:49:21 2010 New Revision: 206728 URL: http://svn.freebsd.org/changeset/base/206728 Log: MFC 202521 More stray ifdef's that had worked their way into the code base somehow (yes thats ifdef Windows going out.. our stack runs on windows .. big thanks for

svn commit: r206729 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:51:13 2010 New Revision: 206729 URL: http://svn.freebsd.org/changeset/base/206729 Log: MFC of 202523 This fixes a closing race condition that is unlikely to ever happen.. but good to fix ;-) Modified: stable/8/sys/netinet/sctp_usrreq.c Directory

svn commit: r206730 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:53:44 2010 New Revision: 206730 URL: http://svn.freebsd.org/changeset/base/206730 Log: MFC of 205502 The firste of Michael and my long fight at the IETF to get the NR sack code fixed and aligned. Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r206731 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:55:49 2010 New Revision: 206731 URL: http://svn.freebsd.org/changeset/base/206731 Log: MFC of 202526 The first round of some of Michael's changes to get the sack processing in better shape. Modified: stable/8/sys/netinet/sctp_header.h

svn commit: r206732 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:57:16 2010 New Revision: 206732 URL: http://svn.freebsd.org/changeset/base/206732 Log: MFC of 202782 Michaels changes that took out [0] - for [] Modified: stable/8/sys/netinet/sctp_auth.h stable/8/sys/netinet/sctp_header.h

svn commit: r206733 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:58:56 2010 New Revision: 206733 URL: http://svn.freebsd.org/changeset/base/206733 Log: MFC of 203503 A fix to how the checksum code works that Michael put in. Modified: stable/8/sys/netinet/sctp_input.c Directory Properties: stable/8/sys/ (props

svn commit: r206734 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:00:57 2010 New Revision: 206734 URL: http://svn.freebsd.org/changeset/base/206734 Log: MFC of 203847 Puts in missing packed declarations (from Michael). It worked only because it was properly aligned anyway ;-) Modified:

svn commit: r206735 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:02:27 2010 New Revision: 206735 URL: http://svn.freebsd.org/changeset/base/206735 Log: MFD 204040 Fixes some argument calsl (u_long vs uint32_t). Modified: stable/8/sys/netinet/sctp_indata.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r206736 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:06:40 2010 New Revision: 206736 URL: http://svn.freebsd.org/changeset/base/206736 Log: MFC of 204096 One of Michaels changes to fix some sign issues and some minor locking. Modified: stable/8/sys/netinet/sctp_usrreq.c stable/8/sys/netinet/sctputil.c

svn commit: r206738 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:08:51 2010 New Revision: 206738 URL: http://svn.freebsd.org/changeset/base/206738 Log: MFC of 204141 Cleans up so we can have a vtag reflected argument. One of Michaels fixes ;-) Modified: stable/8/sys/netinet/sctp_input.c

svn commit: r206739 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:10:29 2010 New Revision: 206739 URL: http://svn.freebsd.org/changeset/base/206739 Log: MFC of 205627 Part II (more to follow) of the great IETF hack-a-thon to fix the NR-Sack code. Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r206740 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:11:45 2010 New Revision: 206740 URL: http://svn.freebsd.org/changeset/base/206740 Log: MFC of 205628 Out goes the nr_mapping_array expand. Modified: stable/8/sys/netinet/sctputil.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r206741 - in stable/8/sys: conf netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:13:52 2010 New Revision: 206741 URL: http://svn.freebsd.org/changeset/base/206741 Log: MFC of 205629 Adds the option of seperating out the sctp stats per processor. This will be refined further and is definetly exploratory (which is why its an option)

svn commit: r206742 - in stable/8/sys: netinet netinet6

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:15:46 2010 New Revision: 206742 URL: http://svn.freebsd.org/changeset/base/206742 Log: MFC of 206137 This is Part III of the great IETF hack-a-thon to fix the NR-Sack code. (the last one on the cpu options was a lull.. i.e MFC 205629).. still 2 more to

svn commit: r206743 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:17:17 2010 New Revision: 206743 URL: http://svn.freebsd.org/changeset/base/206743 Log: MFC of 206151 Modified: stable/8/sys/netinet/sctp_output.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r206744 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:19:18 2010 New Revision: 206744 URL: http://svn.freebsd.org/changeset/base/206744 Log: MFC of 206281 Final MFC of all the IETF hack a-thon.. head and stable are now in sync ;-) Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r206745 - stable/8/share/man/man5

2010-04-16 Thread Hajimu UMEMOTO
Author: ume Date: Sat Apr 17 04:54:38 2010 New Revision: 206745 URL: http://svn.freebsd.org/changeset/base/206745 Log: MFC r206557: Nuke the descriptions about ipv6_firewall_* as they were unified into firewall_*. Modified: stable/8/share/man/man5/rc.conf.5 Directory Properties: