svn commit: r218211 - in head/sys: conf netinet

2011-02-03 Thread Randall Stewart
Author: rrs Date: Thu Feb 3 10:05:30 2011 New Revision: 218211 URL: http://svn.freebsd.org/changeset/base/218211 Log: Adds an experimental option to create a pool of threads. These serve as input threads and are queued packets based on the V-tag number. This is similar to what a modern

svn commit: r218215 - head/sbin/hastctl

2011-02-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 3 10:44:40 2011 New Revision: 218215 URL: http://svn.freebsd.org/changeset/base/218215 Log: Drop privileges after connecting to hastd, but before sending or receiving anything. MFC after:1 week Modified: head/sbin/hastctl/hastctl.c Modified:

svn commit: r218217 - head/sbin/hastd

2011-02-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 3 11:33:32 2011 New Revision: 218217 URL: http://svn.freebsd.org/changeset/base/218217 Log: Add missing locking after moving keepalive_send() to remote send thread in r214692. MFC after:1 week Modified: head/sbin/hastd/primary.c Modified:

svn commit: r218218 - head/sbin/hastd

2011-02-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 3 11:39:49 2011 New Revision: 218218 URL: http://svn.freebsd.org/changeset/base/218218 Log: Setup another socketpair between parent and child, so that primary sandboxed worker can ask the main privileged process to connect in worker's behalf and then we can

svn commit: r218219 - head/sys/netinet

2011-02-03 Thread Randall Stewart
Author: rrs Date: Thu Feb 3 11:52:22 2011 New Revision: 218219 URL: http://svn.freebsd.org/changeset/base/218219 Log: Fix the per CPU stats so that: 1) They don't use the giant MAX_CPU define and instead are allocated dynamically based on mp_ncpus 2) Will zero with the netstat -z -s

svn commit: r218221 - head/sys/x86/x86

2011-02-03 Thread John Baldwin
Author: jhb Date: Thu Feb 3 13:09:22 2011 New Revision: 218221 URL: http://svn.freebsd.org/changeset/base/218221 Log: Use a dedicated taskqueue with a thread that runs at a software-interrupt priority for the periodic polling of the machine check registers. Modified:

Re: svn commit: r218195 - in head/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sun4v/sun4v sys ufs/ffs

2011-02-03 Thread Bruce Evans
On Wed, 2 Feb 2011, Juli Mallett wrote: On Wed, Feb 2, 2011 at 08:35, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Wed Feb ?2 16:35:10 2011 New Revision: 218195 URL: http://svn.freebsd.org/changeset/base/218195 Log: ?Put the general logic for being a CPU hog into a new function

Re: svn commit: r218195 - in head/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sun4v/sun4v sys ufs/ffs

2011-02-03 Thread John Baldwin
On Thursday, February 03, 2011 2:47:20 am Juli Mallett wrote: On Wed, Feb 2, 2011 at 08:35, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Wed Feb 2 16:35:10 2011 New Revision: 218195 URL: http://svn.freebsd.org/changeset/base/218195 Log: Put the general logic for

svn commit: r218223 - head/sys/kern

2011-02-03 Thread Alan Cox
Author: alc Date: Thu Feb 3 14:42:46 2011 New Revision: 218223 URL: http://svn.freebsd.org/changeset/base/218223 Log: Eliminate unnecessary page hold_count checks. These checks predate r90944, which introduced a general mechanism for handling the freeing of held pages. Reviewed by:

svn commit: r218225 - head/contrib/bsnmp

2011-02-03 Thread Hartmut Brandt
Author: harti Date: Thu Feb 3 15:19:18 2011 New Revision: 218225 URL: http://svn.freebsd.org/changeset/base/218225 Log: Bring the list of OIDs up-to-date to prevent conflicts. Modified: head/contrib/bsnmp/oid-list Modified: head/contrib/bsnmp/oid-list

Re: svn commit: r218195 - in head/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sun4v/sun4v sys ufs/ffs

2011-02-03 Thread mdf
On Thu, Feb 3, 2011 at 4:50 AM, John Baldwin j...@freebsd.org wrote: On Thursday, February 03, 2011 2:47:20 am Juli Mallett wrote: On Wed, Feb 2, 2011 at 08:35, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Wed Feb  2 16:35:10 2011 New Revision: 218195 URL:

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

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 3 17:35:16 2011 New Revision: 218227 URL: http://svn.freebsd.org/changeset/base/218227 Log: Accept r1 as having the metadata pointer argument if r0 is 0. This provides backward compatibility with Juniper loaders. Sponsored by: Juniper Networks Modified:

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

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 3 18:07:05 2011 New Revision: 218228 URL: http://svn.freebsd.org/changeset/base/218228 Log: The FDT describes the host controller directly. There's no need to get properties from the parent. The parent is in fact the FDT bus itself and will therefore not have

svn commit: r218229 - in head/sys/dev/usb: . serial

2011-02-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 3 18:25:55 2011 New Revision: 218229 URL: http://svn.freebsd.org/changeset/base/218229 Log: Fix for detection of MTK 3329 GPS USB devices. Submitted by: Mykhaylo Yehorov PR: usb/153929 Approved by: thompsa (mentor) Modified:

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

2011-02-03 Thread Randall Stewart
John: Ahh.. thanks for the information .. I did not know that. I will change it to use it.. Before it was using the define.. which as Julian said a while ago was a bad idea. R On Feb 3, 2011, at 7:45 AM, John Baldwin wrote: On Thursday, February 03, 2011 6:52:22 am Randall Stewart wrote:

svn commit: r218232 - head/sys/netinet

2011-02-03 Thread Randall Stewart
Author: rrs Date: Thu Feb 3 19:22:21 2011 New Revision: 218232 URL: http://svn.freebsd.org/changeset/base/218232 Log: 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from Michael) 3) a couple of copyright updates on the effected files. MFC

svn commit: r218235 - head/sys/netinet

2011-02-03 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 3 19:59:00 2011 New Revision: 218235 URL: http://svn.freebsd.org/changeset/base/218235 Log: Make sure that changing the ECN sysctl does not affect exisiting associations and endpoints. MFC after: 3 months. Modified: head/sys/netinet/sctp_input.c

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

2011-02-03 Thread Adrian Chadd
Author: adrian Date: Thu Feb 3 20:26:26 2011 New Revision: 218238 URL: http://svn.freebsd.org/changeset/base/218238 Log: Disable the code I previously added from Rui's 802.11n branch. A-MPDU RX interferes with packet retransmission/reordering. In local testing, I was seeing A-MPDU being

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

2011-02-03 Thread Adrian Chadd
Author: adrian Date: Thu Feb 3 20:30:17 2011 New Revision: 218240 URL: http://svn.freebsd.org/changeset/base/218240 Log: Modify the TX path to set and use the 11n rate scenario bits. This isn't strictly required to TX (at least non-agg and non-HT40, non-short-GI) frames; but as it needs

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

2011-02-03 Thread John Baldwin
On Thursday, February 03, 2011 2:22:21 pm Randall Stewart wrote: Author: rrs Date: Thu Feb 3 19:22:21 2011 New Revision: 218232 URL: http://svn.freebsd.org/changeset/base/218232 Log: 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from

svn commit: r218241 - head/sys/netinet

2011-02-03 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 3 20:44:49 2011 New Revision: 218241 URL: http://svn.freebsd.org/changeset/base/218241 Log: Fix several bugs in the stream schedulers. From Robin Seggelmann. MFC after: 3 months. Modified: head/sys/netinet/sctp_output.c

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

2011-02-03 Thread Juli Mallett
On Thu, Feb 3, 2011 at 12:29, John Baldwin j...@freebsd.org wrote:               ip = mtod(m, struct ip *);               offset = off + sizeof(*sh);               if (SCTP_BUF_LEN(m) offset) { @@ -5944,7 +5947,7 @@ sctp_input(struct mbuf *m, int off)                       ip = mtod(m,

Re: svn commit: r218238 - head/sys/dev/ath

2011-02-03 Thread Bruce Cran
On Thu, Feb 03, 2011 at 08:26:26PM +, Adrian Chadd wrote: if (ni != NULL) { +#if NOTYET /* tag AMPDU aggregates for reorder processing */ This seems to have broken the build because NOTYET isn't defined. -- Bruce Cran

svn commit: r218242 - head/bin/sh

2011-02-03 Thread Jilles Tjoelker
Author: jilles Date: Thu Feb 3 23:38:11 2011 New Revision: 218242 URL: http://svn.freebsd.org/changeset/base/218242 Log: sh: Return only 126 or 127 for execve() failures. Do not return 2 for errors other than [EACCES] or [ENOENT]. Modified: head/bin/sh/exec.c Modified:

svn commit: r218246 - head/sys/boot/fdt/dts

2011-02-03 Thread Marcel Moolenaar
Author: marcel Date: Fri Feb 4 01:09:02 2011 New Revision: 218246 URL: http://svn.freebsd.org/changeset/base/218246 Log: Add PEX0 and select the first serial port as console. Modified: head/sys/boot/fdt/dts/db78100.dts Modified: head/sys/boot/fdt/dts/db78100.dts

Re: svn commit: r218238 - head/sys/dev/ath

2011-02-03 Thread Bruce Evans
On Thu, 3 Feb 2011, Bruce Cran wrote: On Thu, Feb 03, 2011 at 08:26:26PM +, Adrian Chadd wrote: if (ni != NULL) { +#if NOTYET /* tag AMPDU aggregates for reorder processing */ This seems to have broken the build because NOTYET isn't defined. It is a

Re: svn commit: r218211 - in head/sys: conf netinet

2011-02-03 Thread Robert Watson
On Thu, 3 Feb 2011, Randall Stewart wrote: Author: rrs Date: Thu Feb 3 10:05:30 2011 New Revision: 218211 URL: http://svn.freebsd.org/changeset/base/218211 Log: Adds an experimental option to create a pool of threads. These serve as input threads and are queued packets based on the V-tag