svn commit: r238982 - head/sys/dev/netmap

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 07:35:40 2012 New Revision: 238982 URL: http://svn.freebsd.org/changeset/base/238982 Log: Add a newline on an error message; rename linux functions to avoid confusion; fix error reporting on linux Modified: head/sys/dev/netmap/netmap.c Modified:

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-02 Thread Bruce Evans
On Thu, 2 Aug 2012, David Xu wrote: On 2012/8/2 3:29, Bruce Evans wrote: On Wed, 1 Aug 2012, Giovanni Trematerra wrote: ... [gianni@bombay] /usr/src/tools/regression/poll#./pipepoll 1..20 not ok 17 FIFO state 6a: expected POLLHUP; got POLLIN | POLLHUP not ok 18 FIFO state 6b: poll result 0

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

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 08:46:08 2012 New Revision: 238983 URL: http://svn.freebsd.org/changeset/base/238983 Log: Update netmap page, fixing the API documentation and usage example. Add a new manpage for the vale switch Added: head/share/man/man4/vale.4 (contents, props

svn commit: r238984 - head/sbin/fsck_ffs

2012-08-02 Thread Konstantin Belousov
Author: kib Date: Thu Aug 2 10:39:54 2012 New Revision: 238984 URL: http://svn.freebsd.org/changeset/base/238984 Log: fsck_ffs shall accept the configured journal size, and not refuse to operate on it if journal size is greater then SUJ_MAX. The later constant is only to select maximal

svn commit: r238985 - head/sys/dev/netmap

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 11:59:43 2012 New Revision: 238985 URL: http://svn.freebsd.org/changeset/base/238985 Log: fix some signed/unsigned warnings in the netmap code. Unfortunately the original drivers still have a lot of sign conversion/comparison warnings. Modified:

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

2012-08-02 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Aug 2 12:16:46 2012 New Revision: 238986 URL: http://svn.freebsd.org/changeset/base/238986 Log: mdoc: remove superfluous paragraph macro. Modified: head/share/man/man4/netmap.4 head/share/man/man4/vale.4 Modified: head/share/man/man4/netmap.4

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

2012-08-02 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Aug 2 12:17:52 2012 New Revision: 238987 URL: http://svn.freebsd.org/changeset/base/238987 Log: Remove trailing whitespace. Modified: head/share/man/man4/netmap.4 Modified: head/share/man/man4/netmap.4

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-02 Thread David Xu
On 2012/8/2 16:12, Bruce Evans wrote: On Thu, 2 Aug 2012, David Xu wrote: On 2012/8/2 3:29, Bruce Evans wrote: On Wed, 1 Aug 2012, Giovanni Trematerra wrote: ... [gianni@bombay] /usr/src/tools/regression/poll#./pipepoll 1..20 not ok 17 FIFO state 6a: expected POLLHUP; got POLLIN | POLLHUP

svn commit: r238988 - head/sys/netinet/ipfw

2012-08-02 Thread Luigi Rizzo
Author: luigi Date: Thu Aug 2 12:45:13 2012 New Revision: 238988 URL: http://svn.freebsd.org/changeset/base/238988 Log: replace __unused with a portable construct; fix a couple of signed/unsigned warnings. Modified: head/sys/netinet/ipfw/ip_dummynet.c Modified:

svn commit: r238989 - head/sys/net

2012-08-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 2 13:20:44 2012 New Revision: 238989 URL: http://svn.freebsd.org/changeset/base/238989 Log: The llentry_update() is used only by flowtable and the latter always passes NULL pointer to it. Thus, code can be simplified and function renamed to llentry_alloc() to

svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 2 13:57:49 2012 New Revision: 238990 URL: http://svn.freebsd.org/changeset/base/238990 Log: Fix races between in_lltable_prefix_free(), lla_lookup(), llentry_free() and arptimer(): o Use callout_init_rw() for lle timeout, this allows us safely

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-02 Thread Bruce Evans
On Thu, 2 Aug 2012, David Xu wrote: On 2012/8/2 16:12, Bruce Evans wrote: ... I made similar patches for sockets (to set POLLHUP on hangup (now in -current) and to not set POLLIN on hangup unless there is still data to be read). I started killing POLLINIGNEOF for sockets. -current added it

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-08-02 Thread David Xu
On 2012/8/2 22:17, Bruce Evans wrote: On Thu, 2 Aug 2012, David Xu wrote: On 2012/8/2 16:12, Bruce Evans wrote: ... I made similar patches for sockets (to set POLLHUP on hangup (now in -current) and to not set POLLIN on hangup unless there is still data to be read). I started killing

svn commit: r238991 - head/sys/dev/md

2012-08-02 Thread Jaakko Heinonen
Author: jh Date: Thu Aug 2 15:05:34 2012 New Revision: 238991 URL: http://svn.freebsd.org/changeset/base/238991 Log: Disallow sectorsize larger than MAXPHYS and mediasize smaller than sectorsize. PR: 169947 Submitted by: Filip Palian (original version) Reviewed by: kib

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Hans Petter Selasky
On Thursday 02 August 2012 15:57:50 Gleb Smirnoff wrote: + IF_AFDATA_WLOCK_ASSERT(lle-lle_tbl-llt_ifp); I'm seeing a compile error that IF_AFDATA_WLOCK_ASSERT() is not defined ... --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Bjoern A. Zeeb
On Thu, 2 Aug 2012, Gleb Smirnoff wrote: Author: glebius Date: Thu Aug 2 13:57:49 2012 New Revision: 238990 URL: http://svn.freebsd.org/changeset/base/238990 Log: Fix races between in_lltable_prefix_free(), lla_lookup(), llentry_free() and arptimer(): o Use callout_init_rw() for lle

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Andrey Zonov
On 8/2/12 8:40 PM, Hans Petter Selasky wrote: On Thursday 02 August 2012 15:57:50 Gleb Smirnoff wrote: + IF_AFDATA_WLOCK_ASSERT(lle-lle_tbl-llt_ifp); I'm seeing a compile error that IF_AFDATA_WLOCK_ASSERT() is not defined ... It's in sys/net/if_var.h. [zont@vm020 /usr/src]$ grep

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Hans Petter Selasky
On Thursday 02 August 2012 18:51:13 Andrey Zonov wrote: On 8/2/12 8:40 PM, Hans Petter Selasky wrote: On Thursday 02 August 2012 15:57:50 Gleb Smirnoff wrote: + IF_AFDATA_WLOCK_ASSERT(lle-lle_tbl-llt_ifp); I'm seeing a compile error that IF_AFDATA_WLOCK_ASSERT() is not defined

Re: svn commit: r238962 - head/sys/dev/ath/ath_rate/sample

2012-08-02 Thread Adrian Chadd
I do plan on ripping all of this out and making it cleaner. But thanks for this review. :) Adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

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

2012-08-02 Thread Adrian Chadd
Author: adrian Date: Thu Aug 2 20:14:45 2012 New Revision: 238993 URL: http://svn.freebsd.org/changeset/base/238993 Log: Fix an issue that crept in with the previous descriptor tidyup. When forming aggregates, the last descriptor was now not being correctly setup - instead, the

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Hiroki Sato
Maksim Yevmenkin e...@freebsd.org wrote in 201207191536.q6jfabor094...@svn.freebsd.org: em Author: emax em Date: Thu Jul 19 15:36:36 2012 em New Revision: 238622 em URL: http://svn.freebsd.org/changeset/base/238622 em em Log: em Allow to specify no source-address-selection policy em em MFC

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Maksim Yevmenkin
On Thu, Aug 2, 2012 at 1:55 PM, Hiroki Sato h...@freebsd.org wrote: Maksim Yevmenkin e...@freebsd.org wrote in 201207191536.q6jfabor094...@svn.freebsd.org: em Author: emax em Date: Thu Jul 19 15:36:36 2012 em New Revision: 238622 em URL: http://svn.freebsd.org/changeset/base/238622 em

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Gleb Smirnoff
On Thu, Aug 02, 2012 at 04:46:42PM +, Bjoern A. Zeeb wrote: B On Thu, 2 Aug 2012, Gleb Smirnoff wrote: B B Author: glebius B Date: Thu Aug 2 13:57:49 2012 B New Revision: 238990 B URL: http://svn.freebsd.org/changeset/base/238990 B B Log: B Fix races between in_lltable_prefix_free(),

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Doug Barton
On 8/2/2012 2:25 PM, Maksim Yevmenkin wrote: On Thu, Aug 2, 2012 at 1:55 PM, Hiroki Sato h...@freebsd.org wrote: Just curious, why ip6addrctl_enable=NO is not enough here? Because the behavior of the script for =NO is to prefer v4. I would like to eliminate yes/no/none keywords in

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Maksim Yevmenkin
On Thu, Aug 2, 2012 at 2:51 PM, Doug Barton do...@freebsd.org wrote: On 8/2/2012 2:25 PM, Maksim Yevmenkin wrote: On Thu, Aug 2, 2012 at 1:55 PM, Hiroki Sato h...@freebsd.org wrote: Just curious, why ip6addrctl_enable=NO is not enough here? Because the behavior of the script for =NO is to

svn commit: r238997 - head/sys/dev/mlx

2012-08-02 Thread Xin LI
Author: delphij Date: Fri Aug 3 00:11:13 2012 New Revision: 238997 URL: http://svn.freebsd.org/changeset/base/238997 Log: Correct a typo. Reported by: Sascha Wildner swildner dragonflybsd org Reviewed by: scottl MFC after:3 days Modified: head/sys/dev/mlx/mlxvar.h Modified:

svn commit: r238998 - head/sys/vm

2012-08-02 Thread Alan Cox
Author: alc Date: Fri Aug 3 01:48:15 2012 New Revision: 238998 URL: http://svn.freebsd.org/changeset/base/238998 Log: Inline vm_page_aflags_clear() and vm_page_aflags_set(). Add comments stating that neither these functions nor the flags that they are used to manipulate are part of the

Re: svn commit: r238998 - head/sys/vm

2012-08-02 Thread Alan Cox
On 08/02/2012 20:48, Alan Cox wrote: Author: alc Date: Fri Aug 3 01:48:15 2012 New Revision: 238998 URL: http://svn.freebsd.org/changeset/base/238998 Log: Inline vm_page_aflags_clear() and vm_page_aflags_set(). Add comments stating that neither these functions nor the flags that they

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Hiroki Sato
Maksim Yevmenkin e...@freebsd.org wrote in CAFPOs6pM8qrR72kOtZzO90wYembNrtzw7=ig-nsfudjza7b...@mail.gmail.com: em of course :) we have ipv4 systems in production that make use of em getaddrinfo(3) api. when a particular dns name is resolved, and, em multiple A records are returned, the results

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Hiroki Sato
Doug Barton do...@freebsd.org wrote in 501af66a.8020...@freebsd.org: do On 8/2/2012 2:25 PM, Maksim Yevmenkin wrote: do On Thu, Aug 2, 2012 at 1:55 PM, Hiroki Sato h...@freebsd.org wrote: do do Just curious, why ip6addrctl_enable=NO is not enough here? do do Because the behavior of the

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Hiroki Sato
Hiroki Sato h...@freebsd.org wrote in 20120803.124305.1981901625663633450@allbsd.org: hr Maksim Yevmenkin e...@freebsd.org wrote hr in CAFPOs6pM8qrR72kOtZzO90wYembNrtzw7=ig-nsfudjza7b...@mail.gmail.com: hr hr em of course :) we have ipv4 systems in production that make use of hr em

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread John Hay
While you guys are here, may I add a request that we go back to prefering IPv6 when IPv6 addresses are enabled. That is the way it was from FBSD-4 up to FBSD-8. 9 is a big POLA here. The world is past World IPv6 Launch and I think people expect that if they configure IPv6 addresses, that would be

Re: svn commit: r238622 - head/etc/rc.d

2012-08-02 Thread Hiroki Sato
John Hay j...@meraka.org.za wrote in 20120803042301.ga78...@zibbi.meraka.csir.co.za: jh While you guys are here, may I add a request that we go back to prefering jh IPv6 when IPv6 addresses are enabled. That is the way it was from FBSD-4 jh up to FBSD-8. 9 is a big POLA here. The world is past