svn commit: r243558 - head/sys/netinet

2012-11-26 Thread Michael Tuexen
Author: tuexen Date: Mon Nov 26 08:50:00 2012 New Revision: 243558 URL: http://svnweb.freebsd.org/changeset/base/243558 Log: Allow shutdown() to be used on fds returned from sctp_peeloff(). MFC after: 3 days Modified: head/sys/netinet/sctp_usrreq.c Modified:

Re: svn commit: r243524 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2012-11-26 Thread Ronald Klop
On Sun, 25 Nov 2012 17:39:24 +0100, Pawel Jakub Dawidek p...@freebsd.org wrote: On Sun, Nov 25, 2012 at 04:32:08PM +, Martin Matuska wrote: Author: mm Date: Sun Nov 25 16:32:07 2012 New Revision: 243524 URL: http://svnweb.freebsd.org/changeset/base/243524 Log: MFV r243013 and r243267:

svn commit: r243560 - in head: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-11-26 Thread Martin Matuska
Author: mm Date: Mon Nov 26 12:24:39 2012 New Revision: 243560 URL: http://svnweb.freebsd.org/changeset/base/243560 Log: MFV r243395: Introduce a new dataset aclmode setting restricted to protect ACL's being destroyed or corrupted by a drive-by chmod. illumos-gate 13889:a67716f16746

svn commit: r243561 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2012-11-26 Thread Martin Matuska
Author: mm Date: Mon Nov 26 13:16:55 2012 New Revision: 243561 URL: http://svnweb.freebsd.org/changeset/base/243561 Log: Update manpage dates in zfs.8 and zpool.8 MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8

svn commit: r243562 - stable/9/sys/dev/acpica

2012-11-26 Thread Alexander Motin
Author: mav Date: Mon Nov 26 15:34:28 2012 New Revision: 243562 URL: http://svnweb.freebsd.org/changeset/base/243562 Log: MFC r238943: Add several performance optimizations to acpi_cpu_idle(). For C1 and C2 states use cpu_ticks() to measure sleep time instead of much slower ACPI timer.

svn commit: r243563 - stable/8/sys/dev/acpica

2012-11-26 Thread Alexander Motin
Author: mav Date: Mon Nov 26 16:19:27 2012 New Revision: 243563 URL: http://svnweb.freebsd.org/changeset/base/243563 Log: MFC r238943: Add several performance optimizations to acpi_cpu_idle(). For C1 and C2 states use cpu_ticks() to measure sleep time instead of much slower ACPI timer.

svn commit: r243564 - head/sys/netinet

2012-11-26 Thread Michael Tuexen
Author: tuexen Date: Mon Nov 26 16:43:32 2012 New Revision: 243564 URL: http://svnweb.freebsd.org/changeset/base/243564 Log: Find the endpoint for an incoming packet also if the endpoint comes from sctp_peeloff(). MFC after: 3 days Modified: head/sys/netinet/sctp_pcb.c Modified:

svn commit: r243565 - head/sys/netinet

2012-11-26 Thread Michael Tuexen
Author: tuexen Date: Mon Nov 26 16:44:03 2012 New Revision: 243565 URL: http://svnweb.freebsd.org/changeset/base/243565 Log: Add support for sctp_peeloff() also in the front states of the association. MFC after: 3 days Modified: head/sys/netinet/sctp_peeloff.c Modified:

svn commit: r243566 - stable/9/sbin/mdconfig

2012-11-26 Thread Warren Block
Author: wblock (doc committer) Date: Mon Nov 26 18:10:15 2012 New Revision: 243566 URL: http://svnweb.freebsd.org/changeset/base/243566 Log: MFC r242546: Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg Modified:

svn commit: r243567 - stable/8/sbin/mdconfig

2012-11-26 Thread Warren Block
Author: wblock (doc committer) Date: Mon Nov 26 18:11:41 2012 New Revision: 243567 URL: http://svnweb.freebsd.org/changeset/base/243567 Log: MFC r242546: Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg Modified:

svn commit: r243568 - head/etc

2012-11-26 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 26 19:42:38 2012 New Revision: 243568 URL: http://svnweb.freebsd.org/changeset/base/243568 Log: Fix typo in weekly line which made it to rotated after reaching 1 Kb. PR: conf/173857 Submitted by: Matt Smith matt xtaz.co.uk Modified:

svn commit: r243569 - head/sys/net

2012-11-26 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 26 19:45:01 2012 New Revision: 243569 URL: http://svnweb.freebsd.org/changeset/base/243569 Log: Re-initialize eh pointer after m_adj() Submitted by: Kohji Okuno okuno.kohji jp.panasonic.com Reviewed by: yongari Modified: head/sys/net/if_ethersubr.c

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

2012-11-26 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 26 20:03:57 2012 New Revision: 243570 URL: http://svnweb.freebsd.org/changeset/base/243570 Log: drbr_enqueue() awlays consumes mbuf, no matter did it fail or not. The mbuf pointer is no longer valid, so can't be reused after. Fix igb_mq_start() where

svn commit: r243571 - head/sys/cam/ata

2012-11-26 Thread Alexander Motin
Author: mav Date: Mon Nov 26 20:07:10 2012 New Revision: 243571 URL: http://svnweb.freebsd.org/changeset/base/243571 Log: Fix problem with the Samsung 840 PRO series SSD detection. The device reports support for SATA Asynchronous Notification in its IDENTIFY data, but returns error on

svn commit: r243572 - head/contrib/libc++/include

2012-11-26 Thread Dimitry Andric
Author: dim Date: Mon Nov 26 21:32:31 2012 New Revision: 243572 URL: http://svnweb.freebsd.org/changeset/base/243572 Log: Pull in r168610 from upstream libc++: When using libc++ headers on FreeBSD, in combination with -std=c++98, -ansi or -std=c++03, the long long type is not

svn commit: r243573 - svnadmin/conf

2012-11-26 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Nov 26 21:55:15 2012 New Revision: 243573 URL: http://svnweb.freebsd.org/changeset/base/243573 Log: Release Mateusz Guzik from mentorship. Reviewed by: core (implicit) Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

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

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 26 23:30:47 2012 New Revision: 243575 URL: http://svnweb.freebsd.org/changeset/base/243575 Log: Unbreak building a kernel with EHCI: there's no ehci_atmelarm.c. Modified: head/sys/arm/at91/files.at91 Modified: head/sys/arm/at91/files.at91

Re: svn commit: r243575 - head/sys/arm/at91

2012-11-26 Thread Ian Lepore
On Mon, 2012-11-26 at 23:30 +, Marcel Moolenaar wrote: Author: marcel Date: Mon Nov 26 23:30:47 2012 New Revision: 243575 URL: http://svnweb.freebsd.org/changeset/base/243575 Log: Unbreak building a kernel with EHCI: there's no ehci_atmelarm.c. Modified:

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

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 00:41:39 2012 New Revision: 243576 URL: http://svnweb.freebsd.org/changeset/base/243576 Log: Don't define intr_disable and intr_restore as macros. The macros interfere with structure fields of the same name in drivers, like the intr_disable function pointer

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

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:05:07 2012 New Revision: 243578 URL: http://svnweb.freebsd.org/changeset/base/243578 Log: Remove print_kernel_section_addr(). All statements in that function expand to uncompilable code when the kernel configuration contains options DEBUG, such as it is

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

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:08:05 2012 New Revision: 243579 URL: http://svnweb.freebsd.org/changeset/base/243579 Log: Don't include arm/xscale/i8134x/i81342reg.h when we're compiling LINT. The definitions in i81342reg.h clash with those in i80321reg.h. Modified:

svn commit: r243580 - head/sys/arm/mv

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:10:58 2012 New Revision: 243580 URL: http://svnweb.freebsd.org/changeset/base/243580 Log: Allow building LINT by defining both SAMPLE_AT_RESET on the one hand and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which values they take, as long as

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

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:17:50 2012 New Revision: 243581 URL: http://svnweb.freebsd.org/changeset/base/243581 Log: Add NOTES and Makefile in order to generate LINT. NOTES contains pretty much all the union of all the kernel configuration files, including all the CPU types, Marvell

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

2012-11-26 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 27 01:28:35 2012 New Revision: 243582 URL: http://svnweb.freebsd.org/changeset/base/243582 Log: MFC r243007: enterpgrp: get rid of pgrp2 variable and use KASSERT directly on pgfind result. pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in

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

2012-11-26 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 27 01:30:12 2012 New Revision: 243583 URL: http://svnweb.freebsd.org/changeset/base/243583 Log: MFC r243007: enterpgrp: get rid of pgrp2 variable and use KASSERT directly on pgfind result. pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in

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

2012-11-26 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 27 01:33:23 2012 New Revision: 243584 URL: http://svnweb.freebsd.org/changeset/base/243584 Log: MFC r243234: Fix possible fp reference leak in posix_openpt Modified: stable/9/sys/kern/tty_pts.c Directory Properties: stable/9/sys/ (props changed) Modified:

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

2012-11-26 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 27 01:35:29 2012 New Revision: 243585 URL: http://svnweb.freebsd.org/changeset/base/243585 Log: MFC r243234: Fix possible fp reference leak in posix_openpt Modified: stable/8/sys/kern/tty_pts.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r243586 - in stable/9: . sbin/ipfw share/man/man4 sys/conf sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-11-26 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 27 01:59:51 2012 New Revision: 243586 URL: http://svnweb.freebsd.org/changeset/base/243586 Log: MFC r242079: Remove the IPFIREWALL_FORWARD kernel option and make possible to turn on the related functionality in the runtime via the sysctl variable

svn commit: r243587 - head/sys/contrib/octeon-sdk

2012-11-26 Thread Juli Mallett
Author: jmallett Date: Tue Nov 27 02:03:41 2012 New Revision: 243587 URL: http://svnweb.freebsd.org/changeset/base/243587 Log: Allow this file to build on FreeBSD. Modified: head/sys/contrib/octeon-sdk/cvmx-dma-engine.c Modified: head/sys/contrib/octeon-sdk/cvmx-dma-engine.c

svn commit: r243588 - head/sys/dev/ath/ath_hal/ar5212

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:18:41 2012 New Revision: 243588 URL: http://svnweb.freebsd.org/changeset/base/243588 Log: When programming the beacon timer configuration, be very explicit about what the maximum legal values are. The current beacon timer configuration from TDMA wraps

svn commit: r243589 - head/sys/dev/ath/ath_hal

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:19:35 2012 New Revision: 243589 URL: http://svnweb.freebsd.org/changeset/base/243589 Log: Add a note about the magic values here; don't change them. Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h

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

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:23:45 2012 New Revision: 243590 URL: http://svnweb.freebsd.org/changeset/base/243590 Log: Fix the TDMA nexttbtt programming for 802.11n chips. The existing logic wrapped programming nexttbtt at 65535 TU. This is not good enough for the 11n chips, whose

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

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:24:05 2012 New Revision: 243591 URL: http://svnweb.freebsd.org/changeset/base/243591 Log: Add in specific TDMA logging types. Modified: head/sys/dev/ath/if_ath_alq.h Modified: head/sys/dev/ath/if_ath_alq.h

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

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:27:30 2012 New Revision: 243592 URL: http://svnweb.freebsd.org/changeset/base/243592 Log: Improve the TDMA debugging: * add some further debugging prints, which are quite nice to have * add in ALQ hooks (optional!) to allow for the TDMA information to

svn commit: r243593 - head/tools/tools/ath/athalq

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 02:28:42 2012 New Revision: 243593 URL: http://svnweb.freebsd.org/changeset/base/243593 Log: Add in a totally hacked up copy of the AR5416 descriptor decoding stuff, as well as TDMA related things. I used this to debug TDMA related issues in -HEAD. Added:

svn commit: r243594 - head/sys/netinet

2012-11-26 Thread Alfred Perlstein
Author: alfred Date: Tue Nov 27 03:04:24 2012 New Revision: 243594 URL: http://svnweb.freebsd.org/changeset/base/243594 Log: Auto size the tcbhashsize structure based on max sockets. While here, also make the code that enforces power-of-two more forgiving, instead of just resetting to

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

2012-11-26 Thread Adrian Chadd
Author: adrian Date: Tue Nov 27 05:52:08 2012 New Revision: 243597 URL: http://svnweb.freebsd.org/changeset/base/243597 Log: Fix build Modified: head/sys/dev/ath/if_ath_tdma.c Modified: head/sys/dev/ath/if_ath_tdma.c

svn commit: r243599 - head/sys/kern

2012-11-26 Thread David Xu
Author: davidxu Date: Tue Nov 27 06:07:58 2012 New Revision: 243599 URL: http://svnweb.freebsd.org/changeset/base/243599 Log: Take first active vnode correctly. Reviewed by: kib MFC after:3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r243601 - head/sys/net

2012-11-26 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 27 06:35:26 2012 New Revision: 243601 URL: http://svnweb.freebsd.org/changeset/base/243601 Log: Better safe than sorry: reinitialize eh after ng_ether(4) and if_bridge(4) processing, since mbuf may be modified there. Submitted by: youngari Modified:

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

2012-11-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Nov 27 06:39:32 2012 New Revision: 243602 URL: http://svnweb.freebsd.org/changeset/base/243602 Log: Do not enable data cache until later in kernel init. Stale bits in cache might cause erroneus behavior on early stage. Submitted by: Ian Lepore Tested on:

svn commit: r243603 - head/sys/netinet

2012-11-26 Thread Navdeep Parhar
Author: np Date: Tue Nov 27 06:42:44 2012 New Revision: 243603 URL: http://svnweb.freebsd.org/changeset/base/243603 Log: Make sure that tcp_timer_activate() correctly sees TCP_OFFLOAD (or not). Modified: head/sys/netinet/tcp_timer.c Modified: head/sys/netinet/tcp_timer.c