Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-05 Thread Garrett Cooper
On Thu, Jan 5, 2012 at 6:58 PM, Doug Barton wrote: > On 01/05/2012 14:48, Guy Helmer wrote: >>   Allow daemon(8) to run pidfile_open() before relenquishing privileges >>   so pid files can be written in /var/run when started as root. > > I'm not sure how useful this is since when daemon is exiting

svn commit: r229689 - stable/9/sys/dev/vte

2012-01-05 Thread Kevin Lo
Author: kevlo Date: Fri Jan 6 05:51:00 2012 New Revision: 229689 URL: http://svn.freebsd.org/changeset/base/229689 Log: MFC r227871: Remove unused variable mii. This variable is initialized but not used. Reviewed by: yongari Modified: stable/9/sys/dev/vte/if_vte.c Modified: stable

svn commit: r229688 - in stable/9/usr.sbin/bsdinstall: distextract distfetch partedit

2012-01-05 Thread Kevin Lo
Author: kevlo Date: Fri Jan 6 05:48:52 2012 New Revision: 229688 URL: http://svn.freebsd.org/changeset/base/229688 Log: MFC r228048: Plug memory leaks and fix open(2) error check. Reviewed by: nwhitehorn Modified: stable/9/usr.sbin/bsdinstall/distextract/distextract.c stable/9/usr.

svn commit: r229687 - stable/9/sys/dev/uart

2012-01-05 Thread Kevin Lo
Author: kevlo Date: Fri Jan 6 05:45:23 2012 New Revision: 229687 URL: http://svn.freebsd.org/changeset/base/229687 Log: MFC r229379: Add support for Intel EG20T serial ports Modified: stable/9/sys/dev/uart/uart_bus_pci.c Modified: stable/9/sys/dev/uart/uart_bus_pci.c =

svn commit: r229686 - stable/9/release/doc/en_US.ISO8859-1/readme

2012-01-05 Thread Hiroki Sato
Author: hrs Date: Fri Jan 6 05:17:43 2012 New Revision: 229686 URL: http://svn.freebsd.org/changeset/base/229686 Log: - Update copyright year. - Remove a paragraph which describes sysinstall(8). Modified: stable/9/release/doc/en_US.ISO8859-1/readme/article.sgml Modified: stable/9/release/

svn commit: r229684 - in stable/9/release/doc: en_US.ISO8859-1/share/sgml share/examples share/sgml

2012-01-05 Thread Hiroki Sato
Author: hrs Date: Fri Jan 6 05:08:51 2012 New Revision: 229684 URL: http://svn.freebsd.org/changeset/base/229684 Log: Update entities and variables for 9.0R. Modified: stable/9/release/doc/en_US.ISO8859-1/share/sgml/release.dsl stable/9/release/doc/share/examples/Makefile.relnotesng stab

svn commit: r229683 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-05 Thread Hiroki Sato
Author: hrs Date: Fri Jan 6 05:03:22 2012 New Revision: 229683 URL: http://svn.freebsd.org/changeset/base/229683 Log: - Update copyright year. - Add SA-11:0[12456789] and -11:10. - Update the upgrade section. Modified: stable/9/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified:

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-05 Thread Doug Barton
On 01/05/2012 14:48, Guy Helmer wrote: > Allow daemon(8) to run pidfile_open() before relenquishing privileges > so pid files can be written in /var/run when started as root. I'm not sure how useful this is since when daemon is exiting it won't be able to remove the pid file (unless I'm missin

svn commit: r229682 - stable/7/sbin/md5

2012-01-05 Thread Eitan Adler
Author: eadler (ports committer) Date: Fri Jan 6 02:28:21 2012 New Revision: 229682 URL: http://svn.freebsd.org/changeset/base/229682 Log: MFC r227488: - add "check" option to MD5 and friends to compare files against known hash. Approved by: cperciva Modified: stable/7/sbin/md5/md5

svn commit: r229681 - stable/8/sbin/md5

2012-01-05 Thread Eitan Adler
Author: eadler (ports committer) Date: Fri Jan 6 02:27:43 2012 New Revision: 229681 URL: http://svn.freebsd.org/changeset/base/229681 Log: MFC r227488: - add "check" option to MD5 and friends to compare files against known hash. Approved by: cperciva Modified: stable/8/sbin/md5/md5

svn commit: r229680 - stable/9/sbin/md5

2012-01-05 Thread Eitan Adler
Author: eadler (ports committer) Date: Fri Jan 6 02:24:29 2012 New Revision: 229680 URL: http://svn.freebsd.org/changeset/base/229680 Log: MFC r227488: - add "check" option to MD5 and friends to compare files against known hash. Approved by: cperciva Modified: stable/9/sbin/md5/md5

svn commit: r229679 - stable/8/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 6 02:23:33 2012 New Revision: 229679 URL: http://svn.freebsd.org/changeset/base/229679 Log: MFC: r227796 Clean up some cruft in the NFSv4 client left over from the OpenBSD port, so that it is more readable. No logic change is made by this commit. Modified:

svn commit: r229678 - stable/9/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 6 01:57:41 2012 New Revision: 229678 URL: http://svn.freebsd.org/changeset/base/229678 Log: MFC: r227796 Clean up some cruft in the NFSv4 client left over from the OpenBSD port, so that it is more readable. No logic change is made by this commit. Modified:

svn commit: r229677 - in head/sys/mips: cavium cavium/cryptocteon include mips

2012-01-05 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jan 6 01:23:26 2012 New Revision: 229677 URL: http://svn.freebsd.org/changeset/base/229677 Log: - Add better COP2 (crypto coprocessor) context handler for Octeon. Keep COP2 disabled and lazily allocate COP2 context structure in exception handler. Keep kernel

svn commit: r229676 - in stable/8/sys/fs: nfs nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 6 01:20:48 2012 New Revision: 229676 URL: http://svn.freebsd.org/changeset/base/229676 Log: MFC: r227760 Add two arguments to the nfsrpc_rellockown() function in the NFSv4 client. This does not change the client's behaviour, but prepares the code so that nfs

svn commit: r229675 - head/tools/bsdbox

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Fri Jan 6 00:56:31 2012 New Revision: 229675 URL: http://svn.freebsd.org/changeset/base/229675 Log: Import the first cut of "bsdbox". This uses the existing crunchgen infrastructure to build a series of tools designed to replace the base and networking tools on an

svn commit: r229674 - in stable/9/sys/fs: nfs nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Fri Jan 6 00:42:32 2012 New Revision: 229674 URL: http://svn.freebsd.org/changeset/base/229674 Log: MFC: r227760 Add two arguments to the nfsrpc_rellockown() function in the NFSv4 client. This does not change the client's behaviour, but prepares the code so that nfs

svn commit: r229673 - head

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Fri Jan 6 00:34:27 2012 New Revision: 229673 URL: http://svn.freebsd.org/changeset/base/229673 Log: Fix the broken non-cross compile build. Oops! Another pointy hat to:adrian, for stirring up more trouble. Modified: head/Makefile.inc1 Modified: head/Makefil

svn commit: r229672 - head/sys/netinet

2012-01-05 Thread Sergey Kandaurov
Author: pluknet Date: Fri Jan 6 00:23:17 2012 New Revision: 229672 URL: http://svn.freebsd.org/changeset/base/229672 Log: Fix a typo. X-MFC-with: 229665 Modified: head/sys/netinet/tcp_timewait.c Modified: head/sys/netinet/tcp_timewait.c ===

svn commit: r229671 - in head/sys/dev: ahci ata ata/chipsets

2012-01-05 Thread Jim Harris
Author: jimharris Date: Fri Jan 6 00:22:55 2012 New Revision: 229671 URL: http://svn.freebsd.org/changeset/base/229671 Log: Add 0x2826 device ID for C600 (Patsburg) SATA controller in RAID mode. Reviewed by: mav Approved by: scottl Modified: head/sys/dev/ahci/ahci.c head/sys/dev/ata

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

2012-01-05 Thread Sergey Kandaurov
On 6 January 2012 02:29, John Baldwin wrote: > Author: jhb > Date: Thu Jan  5 22:29:11 2012 > New Revision: 229665 > URL: http://svn.freebsd.org/changeset/base/229665 > > Log: >  Remove the assertion from tcp_input() that rcv_nxt is always greater >  than or equal to rcv_adv and fix tcp_twstart()

svn commit: r229669 - head/contrib/pf/pfctl

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 23:11:05 2012 New Revision: 229669 URL: http://svn.freebsd.org/changeset/base/229669 Log: Replace an OpenBSDism with a FreeBSDism in the pfctl(8) man page: we put configuration file man pages in section 5, and we prefer rc.conf to rc.conf.local. MFC afte

svn commit: r229668 - head/usr.bin/newgrp

2012-01-05 Thread Guy Helmer
Author: ghelmer Date: Thu Jan 5 23:08:11 2012 New Revision: 229668 URL: http://svn.freebsd.org/changeset/base/229668 Log: Fix a memory leak in addgroup() by ensuring the allocated memory is freed if an error occurs. PR: bin/161510 MFC after:4 weeks Modified: head/usr.b

svn commit: r229667 - head/usr.sbin/daemon

2012-01-05 Thread Guy Helmer
Author: ghelmer Date: Thu Jan 5 22:48:36 2012 New Revision: 229667 URL: http://svn.freebsd.org/changeset/base/229667 Log: Allow daemon(8) to run pidfile_open() before relenquishing privileges so pid files can be written in /var/run when started as root. I do not expect this to cause any

svn commit: r229666 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 22:31:25 2012 New Revision: 229666 URL: http://svn.freebsd.org/changeset/base/229666 Log: MFC r226617 (pjd): zfs vdev_file_io_start: validate vdev before using vdev_tsd vdev_tsd can be NULL for certain vdev states. At least in userland testing with ztest.

svn commit: r229665 - head/sys/netinet

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:29:11 2012 New Revision: 229665 URL: http://svn.freebsd.org/changeset/base/229665 Log: Remove the assertion from tcp_input() that rcv_nxt is always greater than or equal to rcv_adv and fix tcp_twstart() to handle this case by assuming the last window was zero

svn commit: r229664 - in stable/8/cddl/contrib/opensolaris: cmd/zdb cmd/zpool cmd/ztest head lib/libzfs/common lib/libzpool/common

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 22:28:40 2012 New Revision: 229664 URL: http://svn.freebsd.org/changeset/base/229664 Log: MFC ZFS userland to reduce diff with stable/9: r224170, r224526, r226583, r226613, r226615, r226616 MFC r224170 (gibbs): Correct reporting of missing leaf vdevs so that

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

2012-01-05 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jan 5 22:16:41 2012 New Revision: 229663 URL: http://svn.freebsd.org/changeset/base/229663 Log: - Allow to change vfs.zfs.arc_meta_limit at runtime. - Change vfs.zfs.arc_meta_used from CTLFLAG_RDTUN to CTLFLAG_RD, as it is not a tunable. MFC after:3 days Mo

svn commit: r229662 - stable/8/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:14:49 2012 New Revision: 229662 URL: http://svn.freebsd.org/changeset/base/229662 Log: MFC 227577: The sys/sysctl.h header is needed when MFI_DEBUG is defined. Modified: stable/8/sys/dev/mfi/mfi_debug.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r229661 - stable/9/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 22:14:18 2012 New Revision: 229661 URL: http://svn.freebsd.org/changeset/base/229661 Log: MFC 227577: The sys/sysctl.h header is needed when MFI_DEBUG is defined. Modified: stable/9/sys/dev/mfi/mfi_debug.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r229660 - head/sys/powerpc/conf

2012-01-05 Thread Andreas Tobler
Author: andreast Date: Thu Jan 5 22:06:01 2012 New Revision: 229660 URL: http://svn.freebsd.org/changeset/base/229660 Log: Fix build on powerpc64 too. The same as r229640. Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GENERIC64 ===

svn commit: r229659 - head

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 21:50:50 2012 New Revision: 229659 URL: http://svn.freebsd.org/changeset/base/229659 Log: Allow extra directories to be added to the build-tools target. Things such as "sh" require local tools to be built before cross-compiling. This allows for extra softwa

svn commit: r229658 - head/share/mk

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 21:49:43 2012 New Revision: 229658 URL: http://svn.freebsd.org/changeset/base/229658 Log: Allow crunchgen binary link generation to be disabled. If CRUNCH_GENERATE_LINKS is set to "no", then no links will be generated. This defaults to "yes" so things

svn commit: r229657 - in head/share/man: man4 man5

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:43:33 2012 New Revision: 229657 URL: http://svn.freebsd.org/changeset/base/229657 Log: Apply Typo-B-Gone 2000 [TM] Modified: head/share/man/man4/apic.4 head/share/man/man4/carp.4 head/share/man/man5/ar.5 Modified: head/share/man/man4/apic.4 ===

svn commit: r229656 - head/tools/regression/msdosfs

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:53 2012 New Revision: 229656 URL: http://svn.freebsd.org/changeset/base/229656 Log: Convert files over to UTF-8. These files contained various combinations of Big5, eucJP and KOI8-U encoded strings. The byte representations of their respective encodings

svn commit: r229655 - in head: usr.bin/locate/locate usr.bin/mail usr.sbin/bluetooth/sdpd usr.sbin/pkg_install/lib

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:45 2012 New Revision: 229655 URL: http://svn.freebsd.org/changeset/base/229655 Log: Touch up some more small typos missed in the previous round. Reported by: Ben Kaduk et al. Modified: head/usr.bin/locate/locate/util.c head/usr.bin/mail/main.c hea

svn commit: r229654 - head/usr.sbin/newsyslog

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:36 2012 New Revision: 229654 URL: http://svn.freebsd.org/changeset/base/229654 Log: Further fix a typo and spelling classic correctly in function names, too. Submitted by: Ben Kaduk Modified: head/usr.sbin/newsyslog/newsyslog.c Modified: head/usr.sb

svn commit: r229653 - head/usr.sbin/bsnmpd/modules/snmp_wlan

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:28 2012 New Revision: 229653 URL: http://svn.freebsd.org/changeset/base/229653 Log: Partial backout of r228990, restore original MIB object name. It's too late to change this in 9.0 -- so we have a release with the misspelling in the wild and should not

svn commit: r229652 - head/sbin/recoverdisk

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:20 2012 New Revision: 229652 URL: http://svn.freebsd.org/changeset/base/229652 Log: Document the detrimental effect of kern.cam.XX.retry_count for recoverdisk(1) recoverdisk(1) wants to know about read errors when doing the 1MB/64k reads as fast as possi

svn commit: r229651 - in head: contrib/groff/tmac lib/libstdthreads share/man/man3

2012-01-05 Thread Ulrich Spoerlein
Author: uqs Date: Thu Jan 5 21:36:12 2012 New Revision: 229651 URL: http://svn.freebsd.org/changeset/base/229651 Log: Pull up vendor changes to mdoc(7) This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as don

svn commit: r229650 - stable/7/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 21:18:34 2012 New Revision: 229650 URL: http://svn.freebsd.org/changeset/base/229650 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229649 - stable/8/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 21:17:06 2012 New Revision: 229649 URL: http://svn.freebsd.org/changeset/base/229649 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229648 - stable/9/sys/dev/ed

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:49:48 2012 New Revision: 229648 URL: http://svn.freebsd.org/changeset/base/229648 Log: MFC r228286: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero

svn commit: r229647 - in stable/8/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 20:41:40 2012 New Revision: 229647 URL: http://svn.freebsd.org/changeset/base/229647 Log: MFC 224169 (gibbs): cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c: o Add zpool_pool_state_to_name() A

svn commit: r229646 - stable/7/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:42 2012 New Revision: 229646 URL: http://svn.freebsd.org/changeset/base/229646 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/7/share/man/man4/bge.4 Directory Properties: stable/7/share/man/man4/ (props changed)

svn commit: r229645 - stable/8/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:28 2012 New Revision: 229645 URL: http://svn.freebsd.org/changeset/base/229645 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/8/share/man/man4/bge.4 Directory Properties: stable/8/share/man/man4/ (props changed)

svn commit: r229644 - stable/9/share/man/man4

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:37:13 2012 New Revision: 229644 URL: http://svn.freebsd.org/changeset/base/229644 Log: MFC r228205: Add more controllers that support jumbo frame. Modified: stable/9/share/man/man4/bge.4 Directory Properties: stable/9/share/man/man4/ (props changed)

svn commit: r229643 - stable/7/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:33:20 2012 New Revision: 229643 URL: http://svn.freebsd.org/changeset/base/229643 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229642 - stable/8/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:31:58 2012 New Revision: 229642 URL: http://svn.freebsd.org/changeset/base/229642 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229641 - stable/9/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 20:30:16 2012 New Revision: 229641 URL: http://svn.freebsd.org/changeset/base/229641 Log: MFC r228086: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) contro

svn commit: r229640 - head/sys/powerpc/conf

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 20:19:33 2012 New Revision: 229640 URL: http://svn.freebsd.org/changeset/base/229640 Log: Fix build. Modified: head/sys/powerpc/conf/GENERIC Modified: head/sys/powerpc/conf/GENERIC ==

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

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 20:18:01 2012 New Revision: 229639 URL: http://svn.freebsd.org/changeset/base/229639 Log: Add missing options so modules build/load correctly. Modified: head/sys/arm/conf/KB920X Modified: head/sys/arm/conf/KB920X ===

svn commit: r229638 - stable/8/sys/netinet6

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:56:54 2012 New Revision: 229638 URL: http://svn.freebsd.org/changeset/base/229638 Log: MFC 228866: Fix a bug where TAILQ_FIRST(&V_ifnet) was accessed without holding the proper lock. Modified: stable/8/sys/netinet6/icmp6.c Directory Properties: stable/8/s

svn commit: r229637 - stable/9/sys/netinet6

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:56:30 2012 New Revision: 229637 URL: http://svn.freebsd.org/changeset/base/229637 Log: MFC 228866: Fix a bug where TAILQ_FIRST(&V_ifnet) was accessed without holding the proper lock. Modified: stable/9/sys/netinet6/icmp6.c Directory Properties: stable/9/s

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

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:53:17 2012 New Revision: 229636 URL: http://svn.freebsd.org/changeset/base/229636 Log: MFC 228593: Fire a kevent if necessary after seeking on a regular file. This fixes a case where a kevent would not fire on a regular file if an application read to EOF an

svn commit: r229635 - stable/9/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:53:01 2012 New Revision: 229635 URL: http://svn.freebsd.org/changeset/base/229635 Log: MFC 228593: Fire a kevent if necessary after seeking on a regular file. This fixes a case where a kevent would not fire on a regular file if an application read to EOF an

svn commit: r229634 - stable/8/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:50:47 2012 New Revision: 229634 URL: http://svn.freebsd.org/changeset/base/229634 Log: MFC 228089: Change the if_vlan driver to use if_transmit for forwarding packets to the parent interface. This avoids the overhead of queueing a packet to an IFQ only to i

svn commit: r229633 - stable/9/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:50:12 2012 New Revision: 229633 URL: http://svn.freebsd.org/changeset/base/229633 Log: MFC 228089: Change the if_vlan driver to use if_transmit for forwarding packets to the parent interface. This avoids the overhead of queueing a packet to an IFQ only to i

svn commit: r229628 - stable/8/sys/fs/devfs

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:36:38 2012 New Revision: 229628 URL: http://svn.freebsd.org/changeset/base/229628 Log: MFC 228361: Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if

svn commit: r229627 - stable/9/sys/fs/devfs

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:36:23 2012 New Revision: 229627 URL: http://svn.freebsd.org/changeset/base/229627 Log: MFC 228361: Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if

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

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:18:41 2012 New Revision: 229626 URL: http://svn.freebsd.org/changeset/base/229626 Log: MFC 228496: Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via id

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

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:18:20 2012 New Revision: 229625 URL: http://svn.freebsd.org/changeset/base/229625 Log: MFC 228496: Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via id

svn commit: r229624 - stable/8/usr.sbin/mfiutil

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:14:11 2012 New Revision: 229624 URL: http://svn.freebsd.org/changeset/base/229624 Log: MFC 228278: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. Modified: stable/8/usr.sbin/mfiutil/mfi_evt.c Directory Properties: stab

svn commit: r229623 - stable/9/usr.sbin/mfiutil

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:14:02 2012 New Revision: 229623 URL: http://svn.freebsd.org/changeset/base/229623 Log: MFC 228278: Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP arguments. Modified: stable/9/usr.sbin/mfiutil/mfi_evt.c Directory Properties: stab

svn commit: r229622 - head/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:02:52 2012 New Revision: 229622 URL: http://svn.freebsd.org/changeset/base/229622 Log: Fix a logic bug in change 228207 in the check for a thread's new user priority being a realtime priority. MFC after:3 days Modified: head/sys/kern/kern_resource.c

svn commit: r229621 - in head/sys: kern net netatalk netinet netinet6 netipx

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 19:00:36 2012 New Revision: 229621 URL: http://svn.freebsd.org/changeset/base/229621 Log: Convert all users of IF_ADDR_LOCK to use new locking macros that specify either a read lock or write lock. Reviewed by: bz MFC after:2 weeks Modified: head/sys/

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

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:56:23 2012 New Revision: 229620 URL: http://svn.freebsd.org/changeset/base/229620 Log: MFC 228207: When changing the user priority of a thread, change the real priority in addition to the user priority for threads whose current real priority is equal to the

svn commit: r229619 - stable/9/sys/kern

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:55:59 2012 New Revision: 229619 URL: http://svn.freebsd.org/changeset/base/229619 Log: MFC 228207: When changing the user priority of a thread, change the real priority in addition to the user priority for threads whose current real priority is equal to the

svn commit: r229618 - in stable/8/sys: fs/nfsserver nfsserver

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:50:37 2012 New Revision: 229618 URL: http://svn.freebsd.org/changeset/base/229618 Log: MFC 228185: Enhance the sequential access heuristic used to perform readahead in the NFS server and reuse it for writes as well to allow writes to the backing store to be

svn commit: r229617 - in stable/9/sys: fs/nfsserver nfsserver

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:50:12 2012 New Revision: 229617 URL: http://svn.freebsd.org/changeset/base/229617 Log: MFC 228185: Enhance the sequential access heuristic used to perform readahead in the NFS server and reuse it for writes as well to allow writes to the backing store to be

svn commit: r229616 - stable/8/sbin/sysctl

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:38:23 2012 New Revision: 229616 URL: http://svn.freebsd.org/changeset/base/229616 Log: MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Modified: stable/8/sbin/sysctl/sysctl.c Dir

svn commit: r229615 - stable/9/sbin/sysctl

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:38:13 2012 New Revision: 229615 URL: http://svn.freebsd.org/changeset/base/229615 Log: MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Modified: stable/9/sbin/sysctl/sysctl.c Dir

svn commit: r229614 - head/sys/net

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:35:49 2012 New Revision: 229614 URL: http://svn.freebsd.org/changeset/base/229614 Log: Add new variants of the IF_ADDR_*LOCK*() macros used for protecting interface address lists that distinguish read locks from write locks. To preserve the KPI, the previous o

svn commit: r229613 - in head/sys/dev: bxe qlxgb sfxge

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:32:37 2012 New Revision: 229613 URL: http://svn.freebsd.org/changeset/base/229613 Log: Update recently added drivers to use the if_*addr_r*lock() wrapper functions instead of using the IF_ADDR_LOCK directly. The wrapper functions are the supported interface f

svn commit: r229612 - stable/8/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:31:08 2012 New Revision: 229612 URL: http://svn.freebsd.org/changeset/base/229612 Log: MFC 227562: Add single-message MSI support to mfi(4). It is disabled by default but can be enabled via the hw.mfi.msi tunable. Many mfi(4) controllers also support MSI-X

svn commit: r229611 - stable/9/sys/dev/mfi

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:30:48 2012 New Revision: 229611 URL: http://svn.freebsd.org/changeset/base/229611 Log: MFC 227562: Add single-message MSI support to mfi(4). It is disabled by default but can be enabled via the hw.mfi.msi tunable. Many mfi(4) controllers also support MSI-X

svn commit: r229610 - in stable/8: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 18:26:44 2012 New Revision: 229610 URL: http://svn.freebsd.org/changeset/base/229610 Log: MFC 227507: Finish making 'wcommitsize' an NFS client mount option. Modified: stable/8/sbin/mount_nfs/mount_nfs.8 stable/8/sbin/mount_nfs/mount_nfs.c stable/8/sys/fs/nfsc

svn commit: r229609 - stable/7/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:24:02 2012 New Revision: 229609 URL: http://svn.freebsd.org/changeset/base/229609 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

svn commit: r229608 - stable/8/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:22:48 2012 New Revision: 229608 URL: http://svn.freebsd.org/changeset/base/229608 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

svn commit: r229607 - stable/9/sys/dev/vr

2012-01-05 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 5 18:21:17 2012 New Revision: 229607 URL: http://svn.freebsd.org/changeset/base/229607 Log: MFC r228084: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_D

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

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 17:30:15 2012 New Revision: 229606 URL: http://svn.freebsd.org/changeset/base/229606 Log: When extracting the VLAN tag from if_em and if_lem receive descriptor rings, copy the whole VLAN tag, not just the VLAN ID. This fixes a problem in which VLAN priority

svn commit: r229605 - head/sys/ia64/conf

2012-01-05 Thread Adrian Chadd
Author: adrian Date: Thu Jan 5 17:28:05 2012 New Revision: 229605 URL: http://svn.freebsd.org/changeset/base/229605 Log: Flip on IEEE80211_SUPPORT_MESH and AH_SUPPORT_AR5416, the wlan and ath modules respectively assume this is set. Pointy hat to:adrian Modified: head/sys/ia64

svn commit: r229604 - in stable/9: sbin/mount_nfs sys/fs/nfsclient sys/nfsclient

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 17:22:32 2012 New Revision: 229604 URL: http://svn.freebsd.org/changeset/base/229604 Log: MFC 227507: Finish making 'wcommitsize' an NFS client mount option. Modified: stable/9/sbin/mount_nfs/mount_nfs.8 stable/9/sbin/mount_nfs/mount_nfs.c stable/9/sys/fs/nfsc

svn commit: r229603 - stable/8/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 5 17:20:03 2012 New Revision: 229603 URL: http://svn.freebsd.org/changeset/base/229603 Log: MFC: r227744 Since the nfscl_cleanup() function isn't used by the FreeBSD NFSv4 client, delete the code and fix up the related comments. This should not have any func

svn commit: r229602 - in stable/9/sys: conf modules/ce

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:14:13 2012 New Revision: 229602 URL: http://svn.freebsd.org/changeset/base/229602 Log: MFC r228971: For sys/dev/ce/tau32-ddk.c, disable the following warning when building with clang: sys/dev/ce/tau32-ddk.c:1228:37: warning: implicit truncation from 'i

svn commit: r229601 - in stable/9/sys/dev: ce cp

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:12:20 2012 New Revision: 229601 URL: http://svn.freebsd.org/changeset/base/229601 Log: MFC r228963: Fix clang warnings in sys/dev/ce/if_ce.c and sys/dev/cp/if_cp.c, using jkim's last patch (reviewed by bde) from here: http://docs.freebsd.org/cgi/mid.cg

svn commit: r229600 - head/sys/fs/nullfs

2012-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 17:06:04 2012 New Revision: 229600 URL: http://svn.freebsd.org/changeset/base/229600 Log: In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode pointer 'lowervp' instead of 'vp', which is uninitialized at that point. Reviewed by: kib MFC afte

svn commit: r229599 - stable/9/sys/fs/nfsclient

2012-01-05 Thread Rick Macklem
Author: rmacklem Date: Thu Jan 5 16:43:54 2012 New Revision: 229599 URL: http://svn.freebsd.org/changeset/base/229599 Log: MFC: r227744 Since the nfscl_cleanup() function isn't used by the FreeBSD NFSv4 client, delete the code and fix up the related comments. This should not have any func

svn commit: r229598 - head/sys/dev/ichwd

2012-01-05 Thread John Baldwin
Author: jhb Date: Thu Jan 5 16:27:32 2012 New Revision: 229598 URL: http://svn.freebsd.org/changeset/base/229598 Log: Remove use of explicit bus space tags and handles and use methods that operate on resource objects instead. MFC after:1 week Modified: head/sys/dev/ichwd/ichwd.c

svn commit: r229597 - stable/9/lib/libc/sys

2012-01-05 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jan 5 14:51:43 2012 New Revision: 229597 URL: http://svn.freebsd.org/changeset/base/229597 Log: MFC r228970: Fix manual section for acl_get(3) and mac_get(3) family functions. Modified: stable/9/lib/libc/sys/cap_new.2 Directory Properties: stable/9/lib/libc/

svn commit: r229596 - in stable/8: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 12:57:14 2012 New Revision: 229596 URL: http://svn.freebsd.org/changeset/base/229596 Log: MFC r228797: Use contrib sources for building libarchive, tar and cpio. Make "make test" fully operational. Deleted: stable/8/lib/libarchive/COPYING stable/8/lib/libarch

svn commit: r229595 - in stable/9: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 12:52:05 2012 New Revision: 229595 URL: http://svn.freebsd.org/changeset/base/229595 Log: MFC r228797: Use contrib sources for building libarchive, tar and cpio. Make "make test" fully operational. Deleted: stable/9/lib/libarchive/COPYING stable/9/lib/libarch

svn commit: r229594 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:09:39 2012 New Revision: 229594 URL: http://svn.freebsd.org/changeset/base/229594 Log: Remove redundant inclusion of . Mea culpa. Modified: head/include/complex.h Modified: head/include/complex.h

svn commit: r229591 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:06:49 2012 New Revision: 229591 URL: http://svn.freebsd.org/changeset/base/229591 Log: Remove _Complex_I workaround from . This removes the use of __typeof() from this header, thus making it work with a plain C11 compiler. Modified: head/include/tgmath.h

svn commit: r229590 - head/include

2012-01-05 Thread Ed Schouten
Author: ed Date: Thu Jan 5 12:05:48 2012 New Revision: 229590 URL: http://svn.freebsd.org/changeset/base/229590 Log: Make _Complex_I a proper float _Complex when using GCC 4.2. It turns out our GCC has quite an interesting bug: typeof(1.0fi) != float _Complex typeof((flo

svn commit: r229589 - in stable/8: lib/libarchive lib/libarchive/test usr.bin/cpio usr.bin/tar

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:45:22 2012 New Revision: 229589 URL: http://svn.freebsd.org/changeset/base/229589 Log: MFC r228744, r228745, r228748: MFC r228744 [1]: Merge vendor revision 3723: Fixes extraction of Zip entries that use length-at-end without specifying either the compre

svn commit: r229588 - in stable/9: lib/libarchive lib/libarchive/test usr.bin/cpio usr.bin/tar

2012-01-05 Thread Martin Matuska
Author: mm Date: Thu Jan 5 11:44:55 2012 New Revision: 229588 URL: http://svn.freebsd.org/changeset/base/229588 Log: MFC r228744, r228745, r228748: MFC r228744 [1]: Merge vendor revision 3723: Fixes extraction of Zip entries that use length-at-end without specifying either the compre

svn commit: r229587 - head/sys/net

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 11:42:34 2012 New Revision: 229587 URL: http://svn.freebsd.org/changeset/base/229587 Log: Refine last comment. Submitted by: joeld Sponsored by: ADARA Networks, Inc. MFC after:3 days Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan

svn commit: r229586 - head/sys/net

2012-01-05 Thread Robert Watson
Author: rwatson Date: Thu Jan 5 11:24:22 2012 New Revision: 229586 URL: http://svn.freebsd.org/changeset/base/229586 Log: Add comment to the VLAN code about its integration with VIMAGE: we see what the code is doing, we recognise the legitimacy of its goal, but we're not quite sure it's goi

svn commit: r229585 - head/share/man/man4

2012-01-05 Thread Christian Brueffer
Author: brueffer Date: Thu Jan 5 11:16:42 2012 New Revision: 229585 URL: http://svn.freebsd.org/changeset/base/229585 Log: Fix typo. MFC after:1 week Modified: head/share/man/man4/bce.4 Modified: head/share/man/man4/bce.4

  1   2   >