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

2012-06-12 Thread Adrian Chadd
Author: adrian Date: Wed Jun 13 06:57:55 2012 New Revision: 237000 URL: http://svn.freebsd.org/changeset/base/237000 Log: Implement a separate, smaller pool of ath_buf entries for use by management traffic. * Create sc_mgmt_txbuf and sc_mgmt_txdesc, initialise/free them appropriately. *

svn commit: r236999 - head/share/examples/csh

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 06:46:00 2012 New Revision: 236999 URL: http://svn.freebsd.org/changeset/base/236999 Log: Include a warning when using the example code as it may not work in unusual situations. Also slightly optimize the command. Submitted by: Jeremy Chadwick j...@koitsu

svn commit: r236998 - stable/9/usr.sbin/pmcstat

2012-06-12 Thread Fabien Thomas
Author: fabient Date: Wed Jun 13 06:42:36 2012 New Revision: 236998 URL: http://svn.freebsd.org/changeset/base/236998 Log: MFC r236669: Remove spurious ARM symbols from lookup table. Modified: stable/9/usr.sbin/pmcstat/pmcstat_log.c Directory Properties: stable/9/usr.sbin/pmcstat/ (prop

svn commit: r236997 - in head/sys: arm/include dev/hwpmc

2012-06-12 Thread Fabien Thomas
Author: fabient Date: Wed Jun 13 06:38:25 2012 New Revision: 236997 URL: http://svn.freebsd.org/changeset/base/236997 Log: Add ARM callchain support for hwpmc. Sponsored by: NETASQ MFC after:3 days Modified: head/sys/arm/include/pmc_mdep.h head/sys/dev/hwpmc/hwpmc_arm.c Modified

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

2012-06-12 Thread Adrian Chadd
Author: adrian Date: Wed Jun 13 05:47:24 2012 New Revision: 236995 URL: http://svn.freebsd.org/changeset/base/236995 Log: Remove a duplicate definition. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ===

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

2012-06-12 Thread Adrian Chadd
Author: adrian Date: Wed Jun 13 05:41:00 2012 New Revision: 236994 URL: http://svn.freebsd.org/changeset/base/236994 Log: Oops, return the newly allocated buffer to the queue, not the completed buffer. PR: kern/168170 Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath

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

2012-06-12 Thread Adrian Chadd
Author: adrian Date: Wed Jun 13 05:39:16 2012 New Revision: 236993 URL: http://svn.freebsd.org/changeset/base/236993 Log: Replace the direct sc_txbuf manipulation with a pair of functions. This is preparation work for having a separate ath_buf queue for management traffic. PR:

svn commit: r236992 - head/sys/arm/include

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 05:02:51 2012 New Revision: 236992 URL: http://svn.freebsd.org/changeset/base/236992 Log: trim trailing whitespace Modified: head/sys/arm/include/armreg.h head/sys/arm/include/asmacros.h head/sys/arm/include/atomic.h head/sys/arm/include/blockio.h head/sys

svn commit: r236991 - head/sys/arm/arm

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:59:55 2012 New Revision: 236991 URL: http://svn.freebsd.org/changeset/base/236991 Log: Final whitespace trim. Modified: head/sys/arm/arm/bcopyinout_xscale.S head/sys/arm/arm/bootconfig.c head/sys/arm/arm/busdma_machdep.c head/sys/arm/arm/cpufunc.c head/

svn commit: r236990 - in head/sys/arm: mv s3c2xx0 sa11x0

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:59:00 2012 New Revision: 236990 URL: http://svn.freebsd.org/changeset/base/236990 Log: Trim trailing whitespace... Modified: head/sys/arm/mv/mv_machdep.c head/sys/arm/mv/mvwin.h head/sys/arm/s3c2xx0/s3c2410reg.h head/sys/arm/s3c2xx0/s3c2440reg.h head/sy

svn commit: r236989 - head/sys/arm/at91

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:52:19 2012 New Revision: 236989 URL: http://svn.freebsd.org/changeset/base/236989 Log: Strip trailing whitespace before other changes. Modified: head/sys/arm/at91/at91.c head/sys/arm/at91/at91_mci.c head/sys/arm/at91/at91_pio_rm9200.h head/sys/arm/at91/at

svn commit: r236988 - head/sys/arm/conf

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:40:29 2012 New Revision: 236988 URL: http://svn.freebsd.org/changeset/base/236988 Log: Strip trailing whitespace. Modified: head/sys/arm/conf/AVILA head/sys/arm/conf/BWCT head/sys/arm/conf/CAMBRIA head/sys/arm/conf/CNS11XXNAS head/sys/arm/conf/CRB hea

svn commit: r236987 - in head/sys/arm/xscale: i80321 i8134x ixp425 pxa

2012-06-12 Thread Warner Losh
Author: imp Date: Wed Jun 13 04:38:09 2012 New Revision: 236987 URL: http://svn.freebsd.org/changeset/base/236987 Log: trim trailing spaces that have accumulated over the years (these files served as the basis for too many other platforms). Modified: head/sys/arm/xscale/i80321/ep80219_machd

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

2012-06-12 Thread Andrey Chernov
On Wed, Jun 13, 2012 at 12:37:50PM +1000, Bruce Evans wrote: > >> On Mon, 11 Jun 2012, Pawel Jakub Dawidek wrote: > >>> -KASSERT(fd >= 0 && fd < fdp->fd_nfiles, > >>> +KASSERT((unsigned int)fd < fdp->fd_nfiles, > >>> ("file descriptor %d out of range (0, %d)", fd, > >>>

svn commit: r236986 - stable/7/usr.bin/mail

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:41:42 2012 New Revision: 236986 URL: http://svn.freebsd.org/changeset/base/236986 Log: MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) Modified: sta

svn commit: r236985 - stable/8/usr.bin/mail

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:41:22 2012 New Revision: 236985 URL: http://svn.freebsd.org/changeset/base/236985 Log: MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) Modified: sta

svn commit: r236984 - stable/9/usr.bin/mail

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:40:59 2012 New Revision: 236984 URL: http://svn.freebsd.org/changeset/base/236984 Log: MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) Modified: sta

svn commit: r236983 - stable/9/lib/libc/stdio

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:34:42 2012 New Revision: 236983 URL: http://svn.freebsd.org/changeset/base/236983 Log: MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819

svn commit: r236982 - stable/8/lib/libc/stdio

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:30:24 2012 New Revision: 236982 URL: http://svn.freebsd.org/changeset/base/236982 Log: MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819

svn commit: r236981 - stable/7/lib/libc/stdio

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:29:57 2012 New Revision: 236981 URL: http://svn.freebsd.org/changeset/base/236981 Log: MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819

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

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:19:11 2012 New Revision: 236980 URL: http://svn.freebsd.org/changeset/base/236980 Log: MFC r236290: Document daily_status_security_chkportsum_enable PR: docs/167980 Approved by: cperciva (implicit) Modified: stable/8/share/man/man5/

svn commit: r236979 - stable/9/share/man/man5

2012-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 03:18:47 2012 New Revision: 236979 URL: http://svn.freebsd.org/changeset/base/236979 Log: MFC r236290: Document daily_status_security_chkportsum_enable PR: docs/167980 Approved by: cperciva (implicit) Modified: stable/9/share/man/man5/

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

2012-06-12 Thread Bruce Evans
On Tue, 12 Jun 2012, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 12:53:47PM +1000, Bruce Evans wrote: On Mon, 11 Jun 2012, Pawel Jakub Dawidek wrote: -KASSERT(fd >= 0 && fd < fdp->fd_nfiles, +KASSERT((unsigned int)fd < fdp->fd_nfiles, ("file descriptor %d out

Re: svn commit: r236976 - head/sbin/fsck_ffs

2012-06-12 Thread Bjoern A. Zeeb
On 12. Jun 2012, at 21:37 , Konstantin Belousov wrote: > Author: kib > Date: Tue Jun 12 21:37:27 2012 > New Revision: 236976 > URL: http://svn.freebsd.org/changeset/base/236976 > > Log: > For incompleted block allocations or frees, the inode block count usage > must be recalculated. The blk_ch

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

2012-06-12 Thread David Xu
On 2012/6/13 3:18, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 06:01:29PM +0200, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 03:49:50PM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 01:43:35PM +0200, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 12:47:49PM +0200, Mateusz Guz

svn commit: r236978 - stable/9/lib/libc/stdlib

2012-06-12 Thread Andrey A. Chernov
Author: ache Date: Wed Jun 13 00:12:47 2012 New Revision: 236978 URL: http://svn.freebsd.org/changeset/base/236978 Log: Forget to propogate mergeinfo to directories Modified: Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/stdlib/realpath.c (props changed) ___

svn commit: r236977 - head/tools/regression/usr.bin/make/variables/modifier_t

2012-06-12 Thread David E. O'Brien
Author: obrien Date: Tue Jun 12 23:16:00 2012 New Revision: 236977 URL: http://svn.freebsd.org/changeset/base/236977 Log: Add a test for the :tl & :tu modifiers. Added: head/tools/regression/usr.bin/make/variables/modifier_t/ head/tools/regression/usr.bin/make/variables/modifier_t/Makefile

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

2012-06-12 Thread Pawel Jakub Dawidek
On Tue, Jun 12, 2012 at 09:18:28PM +0200, Mateusz Guzik wrote: > On Tue, Jun 12, 2012 at 06:01:29PM +0200, Pawel Jakub Dawidek wrote: > > Look good and you can just add 'In co-operation with: pjd'. > > One minor thing is that fd_first_free() can return 'size' if there are > > no free slots availabl

svn commit: r236976 - head/sbin/fsck_ffs

2012-06-12 Thread Konstantin Belousov
Author: kib Date: Tue Jun 12 21:37:27 2012 New Revision: 236976 URL: http://svn.freebsd.org/changeset/base/236976 Log: For incompleted block allocations or frees, the inode block count usage must be recalculated. The blk_check pass of suj checker explicitely marks inodes which owned such blo

svn commit: r236975 - stable/9/sys/dev/aic7xxx/aicasm

2012-06-12 Thread Dimitry Andric
Author: dim Date: Tue Jun 12 21:03:24 2012 New Revision: 236975 URL: http://svn.freebsd.org/changeset/base/236975 Log: MFC r236578: Fix build of aicasm when CC=clang. This was due to a side-effect of the EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when building

svn commit: r236974 - head/share/misc

2012-06-12 Thread John Baldwin
Author: jhb Date: Tue Jun 12 20:55:57 2012 New Revision: 236974 URL: http://svn.freebsd.org/changeset/base/236974 Log: Add pfg@ as one of my mentees. Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r236973 - svnadmin/conf

2012-06-12 Thread John Baldwin
Author: jhb Date: Tue Jun 12 20:54:55 2012 New Revision: 236973 URL: http://svn.freebsd.org/changeset/base/236973 Log: Release Pedro Giffuni (pfg@) from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ===

svn commit: r236972 - head/lib/libkiconv

2012-06-12 Thread Dimitry Andric
Author: dim Date: Tue Jun 12 20:24:57 2012 New Revision: 236972 URL: http://svn.freebsd.org/changeset/base/236972 Log: Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib, which was inadvertently caused by r236185: if SHLIBDIR is set using the ?= operator, it must be done *bef

svn commit: r236971 - stable/8/usr.sbin/daemon

2012-06-12 Thread Mikolaj Golub
Author: trociny Date: Tue Jun 12 20:05:22 2012 New Revision: 236971 URL: http://svn.freebsd.org/changeset/base/236971 Log: MFC r236550, r236551: r236550: On a child exit, call waitpid(2) to clean up the process table. Submitted by: Andrey Zonov r236551: Document -r opti

svn commit: r236970 - stable/9/usr.sbin/daemon

2012-06-12 Thread Mikolaj Golub
Author: trociny Date: Tue Jun 12 20:04:23 2012 New Revision: 236970 URL: http://svn.freebsd.org/changeset/base/236970 Log: MFC r236550, r236551: r236550: On a child exit, call waitpid(2) to clean up the process table. Submitted by: Andrey Zonov r236551: Document -r opti

svn commit: r236969 - in stable/9/sys: i386/conf modules

2012-06-12 Thread Konstantin Belousov
Author: kib Date: Tue Jun 12 20:01:29 2012 New Revision: 236969 URL: http://svn.freebsd.org/changeset/base/236969 Log: MFC r235859: Enable drm2 modules build. Modified: stable/9/sys/i386/conf/XEN stable/9/sys/modules/Makefile Directory Properties: stable/9/sys/ (props changed) stabl

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

2012-06-12 Thread Mateusz Guzik
On Tue, Jun 12, 2012 at 06:01:29PM +0200, Pawel Jakub Dawidek wrote: > On Tue, Jun 12, 2012 at 03:49:50PM +0200, Mateusz Guzik wrote: > > On Tue, Jun 12, 2012 at 01:43:35PM +0200, Pawel Jakub Dawidek wrote: > > > On Tue, Jun 12, 2012 at 12:47:49PM +0200, Mateusz Guzik wrote: > > > > The problem is

svn commit: r236968 - head/sys/sys

2012-06-12 Thread John Baldwin
Author: jhb Date: Tue Jun 12 18:19:46 2012 New Revision: 236968 URL: http://svn.freebsd.org/changeset/base/236968 Log: Replace a reference to the non-existent SI_ORDER_LAST in a comment with SI_ORDER_ANY. Submitted by: Brandon Gooch brandongooch yahoo com Modified: head/sys/sys/kernel

svn commit: r236967 - head/lib/libcrypt

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:14:19 2012 New Revision: 236967 URL: http://svn.freebsd.org/changeset/base/236967 Log: Stop using auth_getval() now that it always returns NULL. Instead, hardcode the default to what it would be if we didn't hardcode it, i.e. DES if supported and MD5 otherwis

svn commit: r236966 - head/sys/mips/rmi

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:04:56 2012 New Revision: 236966 URL: http://svn.freebsd.org/changeset/base/236966 Log: auth.conf is dead. Modified: head/sys/mips/rmi/rootfs_list.txt Modified: head/sys/mips/rmi/rootfs_list.txt ==

svn commit: r236965 - in head: etc include lib/libutil share/examples/etc

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:02:53 2012 New Revision: 236965 URL: http://svn.freebsd.org/changeset/base/236965 Log: Finally nuke auth.conf, nine years after it was deprecated. The only thing it was still used for was to set the "global default" password hash. Since the stock auth.conf c

svn commit: r236964 - head/contrib/gcc

2012-06-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 12 16:07:03 2012 New Revision: 236964 URL: http://svn.freebsd.org/changeset/base/236964 Log: Space mismatch - typo in r236962. Found by: Dima Panov Approved by: jhb (mentor) MFC after:2 weeks Modified: head/contrib/gcc/config.gcc Modified: head/co

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

2012-06-12 Thread Pawel Jakub Dawidek
On Tue, Jun 12, 2012 at 03:49:50PM +0200, Mateusz Guzik wrote: > On Tue, Jun 12, 2012 at 01:43:35PM +0200, Pawel Jakub Dawidek wrote: > > On Tue, Jun 12, 2012 at 12:47:49PM +0200, Mateusz Guzik wrote: > > > The problem is that fdalloc grows to at most fdp->fd_nfiles * 2, which > > > still may not b

Re: svn commit: r236962 - in head/contrib/gcc: . config/i386 doc

2012-06-12 Thread Pedro Giffuni
On 06/12/12 10:04, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jun 12 15:04:18 2012 New Revision: 236962 URL: http://svn.freebsd.org/changeset/base/236962 Log: Add experimental support for amdfam10/barcelona from the GCC 4.3 branch. Initial support for the AMD barcelona chipsets has bee

Re: svn commit: r236962 - in head/contrib/gcc: . config/i386 doc

2012-06-12 Thread Dima Panov
13.06.2012 2:04, Pedro F. Giffuni написал: @@ -1209,14 +1209,14 @@ i[34567]86-*-solaris2*) # FIXME: -m64 for i[34567]86-*-* should be allowed just # like -m32 for x86_64-*-*. case X"${with_cpu}" in - Xgeneric|Xcore2|Xnocona|Xx86-64|Xk

svn commit: r236963 - head/release/picobsd/tinyware/passwd

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 15:32:14 2012 New Revision: 236963 URL: http://svn.freebsd.org/changeset/base/236963 Log: Remove dead code. Modified: head/release/picobsd/tinyware/passwd/passwd.c Modified: head/release/picobsd/tinyware/passwd/passwd.c ===

svn commit: r236962 - in head/contrib/gcc: . config/i386 doc

2012-06-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 12 15:04:18 2012 New Revision: 236962 URL: http://svn.freebsd.org/changeset/base/236962 Log: Add experimental support for amdfam10/barcelona from the GCC 4.3 branch. Initial support for the AMD barcelona chipsets has been available in the gcc43 branch under GPLv2

svn commit: r236961 - head/sys/netinet

2012-06-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 12 14:56:08 2012 New Revision: 236961 URL: http://svn.freebsd.org/changeset/base/236961 Log: Add a cmsg of type IP_TOS for UDP/IPv4 sockets to specify the TOS byte. MFC after: 3 days Modified: head/sys/netinet/udp_usrreq.c Modified: head/sys/netinet/udp_usrr

svn commit: r236960 - head/cddl/contrib/opensolaris/cmd/zpool

2012-06-12 Thread Martin Matuska
Author: mm Date: Tue Jun 12 14:40:19 2012 New Revision: 236960 URL: http://svn.freebsd.org/changeset/base/236960 Log: Document the -v flag for zpool list. PR: 168970 Suggested by: Marcelo Araujo MFC after:3 days Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8

svn commit: r236959 - in head: share/man/man4 sys/netinet

2012-06-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 12 14:02:38 2012 New Revision: 236959 URL: http://svn.freebsd.org/changeset/base/236959 Log: Add a IP_RECVTOS socket option to receive for received UDP/IPv4 packets a cmsg of type IP_RECVTOS which contains the TOS byte. Much like IP_RECVTTL does for TTL. This all

svn commit: r236958 - head/sys/netinet6

2012-06-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 12 13:57:56 2012 New Revision: 236958 URL: http://svn.freebsd.org/changeset/base/236958 Log: Deliver IPV6_TCLASS, IPV6_HOPLIMIT and IPV6_PKTINFO cmsgs (if requested) on IPV6 sockets, which have been marked to be not IPV6_V6ONLY, for each received IPV4 packet.

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

2012-06-12 Thread Mateusz Guzik
On Tue, Jun 12, 2012 at 01:43:35PM +0200, Pawel Jakub Dawidek wrote: > On Tue, Jun 12, 2012 at 12:47:49PM +0200, Mateusz Guzik wrote: > > The problem is that fdalloc grows to at most fdp->fd_nfiles * 2, which > > still may not be enough to have place for new fd with high number. > > I was under im

svn commit: r236957 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 13:31:32 2012 New Revision: 236957 URL: http://svn.freebsd.org/changeset/base/236957 Log: Fix comment to better reflect how we are cheating and using the csum_data. Also fix style issues with the comments. Modified: head/sys/net/if_gif.c Modified: head/sys/ne

Re: svn commit: r236955 - head/sys/net

2012-06-12 Thread Randall Stewart
That actually will not effect things. Since the packet is on the way out. If the csum_data field gets set on the way in (not out)… so reusing it here I think is safe. R On Jun 12, 2012, at 8:53 AM, Bjoern A. Zeeb wrote: > > On 12. Jun 2012, at 12:44 , Randall Stewart wrote: > >> Author: rrs >>

svn commit: r236956 - head/sys/netinet

2012-06-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 12 13:15:27 2012 New Revision: 236956 URL: http://svn.freebsd.org/changeset/base/236956 Log: Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks. While there: Fix also some minor bugs and prepare for SCTP/DTLS. MFC after: 3 days Modified: head/sy

Re: svn commit: r236955 - head/sys/net

2012-06-12 Thread Bjoern A. Zeeb
On 12. Jun 2012, at 12:44 , Randall Stewart wrote: > Author: rrs > Date: Tue Jun 12 12:44:17 2012 > New Revision: 236955 > URL: http://svn.freebsd.org/changeset/base/236955 > > Log: > Note to self. Have morning coffee *before* committing things. > There is no mac_addr in the mbuf for BSD.. che

svn commit: r236955 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 12:44:17 2012 New Revision: 236955 URL: http://svn.freebsd.org/changeset/base/236955 Log: Note to self. Have morning coffee *before* committing things. There is no mac_addr in the mbuf for BSD.. cheat like we are supposed to and use the csum field since our frien

svn commit: r236954 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 12:40:15 2012 New Revision: 236954 URL: http://svn.freebsd.org/changeset/base/236954 Log: Opps forgot to commit the flag. Modified: head/sys/net/if.h Modified: head/sys/net/if.h == --- he

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 12 12:10:10 2012 New Revision: 236953 URL: http://svn.freebsd.org/changeset/base/236953 Log: Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on n

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
) +++ releng/7.4/UPDATING Tue Jun 12 12:10:10 2012(r236953) @@ -8,6 +8,14 @@ Items affecting the ports and packages s /usr/ports/UPDATING. Please read that file before running portupgrade. +20120612: p9 FreeBSD-SA-12:03.bind + FreeBSD-SA-12:04.sysret

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 12 12:10:10 2012 New Revision: 236953 URL: http://svn.freebsd.org/changeset/base/236953 Log: Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on n

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 12 12:10:10 2012 New Revision: 236953 URL: http://svn.freebsd.org/changeset/base/236953 Log: Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on n

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 12 12:10:10 2012 New Revision: 236953 URL: http://svn.freebsd.org/changeset/base/236953 Log: Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on n

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

2012-06-12 Thread Pawel Jakub Dawidek
On Tue, Jun 12, 2012 at 12:53:47PM +1000, Bruce Evans wrote: > On Mon, 11 Jun 2012, Pawel Jakub Dawidek wrote: > > -KASSERT(fd >= 0 && fd < fdp->fd_nfiles, > > +KASSERT((unsigned int)fd < fdp->fd_nfiles, > > ("file descriptor %d out of range (0, %d)", fd, > > fdp->fd_nf

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

2012-06-12 Thread Pawel Jakub Dawidek
On Tue, Jun 12, 2012 at 12:47:49PM +0200, Mateusz Guzik wrote: > The problem is that fdalloc grows to at most fdp->fd_nfiles * 2, which > still may not be enough to have place for new fd with high number. I was under impression that fd_first_free() can return at most fdp->fd_nfiles, but indeed I m

svn commit: r236952 - head/sys/dev/mvs

2012-06-12 Thread Alexander Motin
Author: mav Date: Tue Jun 12 11:08:51 2012 New Revision: 236952 URL: http://svn.freebsd.org/changeset/base/236952 Log: - Limit r214102 workaround to only x86. On arm it causes more problems then solves because of cache coherency issues. This fixes periodic error messages on console and comm

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

2012-06-12 Thread Mateusz Guzik
On Tue, Jun 12, 2012 at 04:26:33PM +0800, David Xu wrote: > On 2012/6/12 6:05, Pawel Jakub Dawidek wrote: > >Author: pjd > >Date: Mon Jun 11 22:05:26 2012 > >New Revision: 236935 > >URL: http://svn.freebsd.org/changeset/base/236935 > > > >Log: > > fdgrowtable() no longer drops the filedesc lock s

svn commit: r236951 - head/sys/net

2012-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 10:44:09 2012 New Revision: 236951 URL: http://svn.freebsd.org/changeset/base/236951 Log: Allow a gif tunnel to be used with ALTq. Reviewed by: gnn Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c =

svn commit: r236950 - head/sys/kern

2012-06-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jun 12 10:25:11 2012 New Revision: 236950 URL: http://svn.freebsd.org/changeset/base/236950 Log: Revert part of the r236935 for now, until I figure out why it doesn't work properly. Reported by: davidxu Modified: head/sys/kern/kern_descrip.c Modified: head/sys/k

Re: svn commit: r236909 - head/sbin/hastd

2012-06-12 Thread Bruce Evans
On Tue, 12 Jun 2012, Hans Petter Selasky wrote: On Tuesday 12 June 2012 05:49:33 Bruce Evans wrote: On Mon, 11 Jun 2012, Hans Petter Selasky wrote: On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: On Mon, Jun 11, 2012 at 07

svn commit: r236949 - head/sys/netinet

2012-06-12 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 12 09:18:28 2012 New Revision: 236949 URL: http://svn.freebsd.org/changeset/base/236949 Log: Small cleanup. MFC after: 3 days Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c

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

2012-06-12 Thread David Xu
On 2012/6/12 6:05, Pawel Jakub Dawidek wrote: Author: pjd Date: Mon Jun 11 22:05:26 2012 New Revision: 236935 URL: http://svn.freebsd.org/changeset/base/236935 Log: fdgrowtable() no longer drops the filedesc lock so it is enough to retry finding free file descriptor only once after fdgrowt

svn commit: r236948 - in stable/8/sys/dev: ahci ata mvs siis

2012-06-12 Thread Alexander Motin
Author: mav Date: Tue Jun 12 08:10:14 2012 New Revision: 236948 URL: http://svn.freebsd.org/changeset/base/236948 Log: MFC r236847: Partially revert r23: Return PROTO_ATA protocol in response to XPT_PATH_INQ. smartmontools uses it to identify ATA devices and I don't know any other

svn commit: r236947 - in stable/9/sys/dev: ahci ata mvs siis

2012-06-12 Thread Alexander Motin
Author: mav Date: Tue Jun 12 08:08:33 2012 New Revision: 236947 URL: http://svn.freebsd.org/changeset/base/236947 Log: MFC r236847: Partially revert r23: Return PROTO_ATA protocol in response to XPT_PATH_INQ. smartmontools uses it to identify ATA devices and I don't know any other

svn commit: r236946 - stable/8/sys/dev/ae

2012-06-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 12 07:53:39 2012 New Revision: 236946 URL: http://svn.freebsd.org/changeset/base/236946 Log: MFC 236649,236670: Check the return value of pci_find_extcap() Modified: stable/8/sys/dev/ae/if_ae.c Directory Properties: stable/8/sys/ (props changed) stable/

Re: svn commit: r236909 - head/sbin/hastd

2012-06-12 Thread Hans Petter Selasky
On Tuesday 12 June 2012 05:49:33 Bruce Evans wrote: > On Mon, 11 Jun 2012, Hans Petter Selasky wrote: > > On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: > >> On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > >>> On Mon, Jun 11, 2012 at 07:21:00PM +, Hans Petter Selasky wr

svn commit: r236945 - stable/8/sys/dev/jme

2012-06-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 12 07:43:01 2012 New Revision: 236945 URL: http://svn.freebsd.org/changeset/base/236945 Log: MFC r236700: Fix a logic error when use PCIY_PMG capability Modified: stable/8/sys/dev/jme/if_jme.c Directory Properties: stable/8/sys/ (props changed) stable/8

svn commit: r236944 - head/lib/libusb

2012-06-12 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 12 07:28:25 2012 New Revision: 236944 URL: http://svn.freebsd.org/changeset/base/236944 Log: LibUSB v1.0 API compiliance and bugfixes. - Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC does not wrap into negative in near future. This f