svn commit: r230494 - head/sys/netinet6

2012-01-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jan 24 06:21:38 2012 New Revision: 230494 URL: http://svn.freebsd.org/changeset/base/230494 Log: Remove unnecessary line break. MFC after:3 days Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c =

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

2012-01-23 Thread Adrian Chadd
Author: adrian Date: Tue Jan 24 06:12:48 2012 New Revision: 230493 URL: http://svn.freebsd.org/changeset/base/230493 Log: Fix up some style(9) indenting and reorganise some of the hal methods. There should be no functional change due to this commit. Modified: head/sys/dev/ath/if_athvar.h

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

2012-01-23 Thread Adrian Chadd
Author: adrian Date: Tue Jan 24 06:07:05 2012 New Revision: 230492 URL: http://svn.freebsd.org/changeset/base/230492 Log: Add a missing HAL method macro. I'm using this as part of some personal DFS radar stuff. Modified: head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if_athvar.h =

Re: svn commit: r228424 - in head/sys: kern sys

2012-01-23 Thread Florian Smeets
On 11.12.11 22:02, Andriy Gapon wrote: > Author: avg > Date: Sun Dec 11 21:02:01 2011 > New Revision: 228424 > URL: http://svn.freebsd.org/changeset/base/228424 > > Log: > panic: add a switch and infrastructure for stopping other CPUs in SMP case > Hi, Attilio asked me to verify that this c

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-01-23 Thread Mikolaj Golub
On Mon, 23 Jan 2012 17:34:57 +0200 Jaakko Heinonen wrote: JH> On 2012-01-22, Mikolaj Golub wrote: >> Also, may be we should allow remounting ro (and may be some othe options) >> for >> tmpfs? JH> Yes, the patch below does that. I suspect that flipping the MNT_RDONLY JH> flag may be enough

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

2012-01-23 Thread Andre Oppermann
On 23.01.2012 15:24, Lawrence Stewart wrote: Hi Andre, On 10/08/11 03:39, Andre Oppermann wrote: Author: andre Date: Fri Oct 7 16:39:03 2011 New Revision: 226113 URL: http://svn.freebsd.org/changeset/base/226113 Log: Prevent TCP sessions from stalling indefinitely in reassembly when reaching t

svn commit: r230489 - head/sys/kern

2012-01-23 Thread Konstantin Belousov
Author: kib Date: Mon Jan 23 17:09:23 2012 New Revision: 230489 URL: http://svn.freebsd.org/changeset/base/230489 Log: Apparently, both nfs clients do not use cache_enter_time() consistently, creating some namecache entries without NCF_TS flag. This causes panic due to failed assertion.

svn commit: r230488 - head/sys/dev/sound/pci/hda

2012-01-23 Thread Alexander Motin
Author: mav Date: Mon Jan 23 17:05:11 2012 New Revision: 230488 URL: http://svn.freebsd.org/changeset/base/230488 Log: Realtek CODECs declare support for 32bit samples on S/PDIF input/output widgets. I am not sure if S/PDIF supports 32bit samples, but my Marantz SR4001 doesn't, producing onl

svn commit: r230487 - head/sys/netgraph

2012-01-23 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 23 16:43:13 2012 New Revision: 230487 URL: http://svn.freebsd.org/changeset/base/230487 Log: Provide a findhook method for ng_socket(4). The node stores a hash with names of its hooks. It starts with size of 16, and grows when number of hooks reaches twice the c

svn commit: r230486 - head/sys/kern

2012-01-23 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 23 16:31:46 2012 New Revision: 230486 URL: http://svn.freebsd.org/changeset/base/230486 Log: Convert panic()s to KASSERT()s. This is an optimisation for hashdestroy() since in absence of INVARIANTS a compiler will drop the entire for() cycle. Modified: head/s

svn commit: r230485 - stable/9/sys/fs/pseudofs

2012-01-23 Thread Jaakko Heinonen
Author: jh Date: Mon Jan 23 16:28:35 2012 New Revision: 230485 URL: http://svn.freebsd.org/changeset/base/230485 Log: MFC r229694: r222004 changed sbuf_finish() to not clear the buffer error status. As a consequence sbuf_len() will return -1 for buffers which had the error status set pr

svn commit: r230484 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 16:17:54 2012 New Revision: 230484 URL: http://svn.freebsd.org/changeset/base/230484 Log: Part of r230482 didn't actually work. Revert it for now. This means PR 161047 isn't actually fixed. PR: bin/161047 Modified: head/release/rc.local Mo

Re: svn commit: r230482 - head/release

2012-01-23 Thread Ed Schouten
Hi Nathan, * Nathan Whitehorn , 20120123 16:44: > TERM=xterm This code is also used on pc98, right? I think on pc98 we still need to use TERM=cons25w, to support Japanese character sets and keyboard input. -- Ed Schouten WWW: http://80386.nl/ pgpnnbTGmafLJ.pgp Description:

svn commit: r230483 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 15:50:16 2012 New Revision: 230483 URL: http://svn.freebsd.org/changeset/base/230483 Log: Do a test in a better way. Editing files after testing them is never wise. Modified: head/release/rc.local Modified: head/release/rc.local ===

svn commit: r230482 - head/release

2012-01-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 23 15:44:52 2012 New Revision: 230482 URL: http://svn.freebsd.org/changeset/base/230482 Log: Per popular demand, if installing from a graphics terminal, run the installer on a VTY with no kernel messages (VTY 2), show the installer log in real time on VTY 3,

svn commit: r230481 - in head: sys/netgraph usr.bin/netstat

2012-01-23 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 23 15:39:45 2012 New Revision: 230481 URL: http://svn.freebsd.org/changeset/base/230481 Log: In ng_socket(4) expose less kernel internals to userland. This commit breaks ABI, but makes probability of ABI breakage in future less. Modified: head/sys/netgraph/ng_s

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-01-23 Thread Jaakko Heinonen
On 2012-01-22, Mikolaj Golub wrote: > Also, may be we should allow remounting ro (and may be some othe options) for > tmpfs? Yes, the patch below does that. I suspect that flipping the MNT_RDONLY flag may be enough for tmpfs but I am not sure. > JH> %%% > JH> Index: sys/fs/tmpfs/tmpfs_vfsops.c

svn commit: r230480 - head/sys/netgraph

2012-01-23 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 23 15:17:14 2012 New Revision: 230480 URL: http://svn.freebsd.org/changeset/base/230480 Log: Convert locks that protect name hash, ID hash and typelist from mutex(9) to rwlock(9) based locks. While here remove dropping lock when processing NGM_LISTNODES, an

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-23 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 03:13:07PM +0100, Dimitry Andric wrote: > On 2012-01-23 13:31, Kostik Belousov wrote: > >On Mon, Jan 23, 2012 at 01:25:04PM +0100, Dimitry Andric wrote: > ... > >There is a typo in the second or condition, should it be gcc46 both times ? > > Ah, sorry, that was a copy/paste

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

2012-01-23 Thread Lawrence Stewart
Hi Andre, On 10/08/11 03:39, Andre Oppermann wrote: Author: andre Date: Fri Oct 7 16:39:03 2011 New Revision: 226113 URL: http://svn.freebsd.org/changeset/base/226113 Log: Prevent TCP sessions from stalling indefinitely in reassembly when reaching the zone limit of reassembly queue entri

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-23 Thread Dimitry Andric
On 2012-01-23 13:31, Kostik Belousov wrote: On Mon, Jan 23, 2012 at 01:25:04PM +0100, Dimitry Andric wrote: ... There is a typo in the second or condition, should it be gcc46 both times ? Ah, sorry, that was a copy/paste error. Anyway, the reason to answer this message is two ask the for s

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-23 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 01:25:04PM +0100, Dimitry Andric wrote: > On 2012-01-23 05:28, Hiroki Sato wrote: > ... > > I don't think it is needed. The makefs utility is a special case > > because it will probably diverge from the upstream to support > > FreeBSD-specific feature in the future (this

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-23 Thread Dimitry Andric
On 2012-01-23 05:28, Hiroki Sato wrote: ... I don't think it is needed. The makefs utility is a special case because it will probably diverge from the upstream to support FreeBSD-specific feature in the future (this is one of the reasons why it is not in contrib/). It didn't happen so f

Re: svn commit: r230354 - head/usr.sbin/makefs

2012-01-23 Thread Eitan Adler
On Sun, Jan 22, 2012 at 11:28 PM, Hiroki Sato wrote: > ea> bug fix which could be upstreamed that would be great. On the other > ea> hand I would like to continue with my goal of making the non-contrib > ea> world compilable with CC=gcc46. > ea> > ea> Should I revert this commit? > >  I don't thin

svn commit: r230478 - head/lib/libfetch

2012-01-23 Thread Dag-Erling Smorgrav
Author: des Date: Mon Jan 23 09:23:07 2012 New Revision: 230478 URL: http://svn.freebsd.org/changeset/base/230478 Log: Fix two nits in previous commit pointed out by pjd@. MFC after:3 weeks Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c ===

svn commit: r230477 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2012-01-23 Thread Martin Matuska
Author: mm Date: Mon Jan 23 08:30:17 2012 New Revision: 230477 URL: http://svn.freebsd.org/changeset/base/230477 Log: MFC r230402, r230404: Add accidentially removed copyright lines in r228103 Reported by: pjd Modified: stable/8/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c stable/8/c

svn commit: r230476 - in stable/9/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2012-01-23 Thread Martin Matuska
Author: mm Date: Mon Jan 23 08:29:58 2012 New Revision: 230476 URL: http://svn.freebsd.org/changeset/base/230476 Log: MFC r230402, r230404: Add accidentially removed copyright lines in r228103 Reported by: pjd Modified: stable/9/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c stable/9/c