Re: svn: head/sys/netinet

2011-12-30 Thread Kostik Belousov
On Fri, Dec 30, 2011 at 04:25:09PM -0800, Maxim Sobolev wrote: > On 12/30/2011 4:17 PM, Maxim Sobolev wrote: > >>M> Won't this break whole lot of third-party software, which expects > >>M> FreeBSD to be slightly different in this regards? Just curious. > >> > >>Yes it does. And until FreeBSD 10.0

svn commit: r229073 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
Author: lstewart Date: Sat Dec 31 07:21:28 2011 New Revision: 229073 URL: http://svn.freebsd.org/changeset/base/229073 Log: Revert r228986 until it can be reworked to avoid panicing the kernel when the same interface is attached multiple times with different DLTs, as is done in net80211 for

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
Please file a PR for me? :) Adrian On 30 December 2011 23:02, Lawrence Stewart wrote: > On 12/31/11 11:13, Adrian Chadd wrote: >> >> This just broke wlan. Please consider fixing this patch :) >> >> >> Adrian >> >> *** Interface: wlan0: start >> can't re-use a leaf (wlan0)! >> panic: bpfattach t

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
On 12/31/11 11:13, Adrian Chadd wrote: This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_enter+0x4c: lui at,0x8048 db> db>

svn commit: r229072 - head/sys/mips/cavium/usb

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:45:10 2011 New Revision: 229072 URL: http://svn.freebsd.org/changeset/base/229072 Log: - Pass proper endpoint number (without direction flag) to cvmx_usb_open_pipe Modified: head/sys/mips/cavium/usb/octusb.c Modified: head/sys/mips/cavium/usb/octusb.c =

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

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:25:42 2011 New Revision: 229071 URL: http://svn.freebsd.org/changeset/base/229071 Log: - Properly clean state structure in cvmx_usb_initialize Modified: head/sys/contrib/octeon-sdk/cvmx-usb.c Modified: head/sys/contrib/octeon-sdk/cvmx-usb.c =

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

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:24:21 2011 New Revision: 229070 URL: http://svn.freebsd.org/changeset/base/229070 Log: - CAPK-0100 board's USB timer is 12MHz Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c

svn commit: r229067 - in head: . sys/sys

2011-12-30 Thread David E. O'Brien
Author: obrien Date: Sat Dec 31 04:38:04 2011 New Revision: 229067 URL: http://svn.freebsd.org/changeset/base/229067 Log: Happy 2012 to FreeBSD users in Samoa. Modified: head/COPYRIGHT head/sys/sys/copyright.h Modified: head/COPYRIGHT ===

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
On 12/30/2011 4:17 PM, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix this software (at least in ports). The MFC to st

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
On 12/30/2011 12:02 PM, Gleb Smirnoff wrote: On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_enter+0x4c: lui at,0x8048 db> db> bt Tracing pid 166 tid 100048 td 0x80c3790

svn commit: r229049 - head/sbin/bsdlabel

2011-12-30 Thread Maxim Sobolev
Author: sobomax Date: Sat Dec 31 00:09:33 2011 New Revision: 229049 URL: http://svn.freebsd.org/changeset/base/229049 Log: Use in-label sectorsize to determine position of the label when writing label into a file image. The most common use - putting disklabel into ISO file. Before this chang

svn commit: r229032 - head/sys/modules/cfi

2011-12-30 Thread Marius Strobl
Author: marius Date: Fri Dec 30 21:22:10 2011 New Revision: 229032 URL: http://svn.freebsd.org/changeset/base/229032 Log: Add header required by cfi_bus_fdt.c. Modified: head/sys/modules/cfi/Makefile Modified: head/sys/modules/cfi/Makefile

svn commit: r229024 - head/lib/libc/gen

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 20:41:24 2011 New Revision: 229024 URL: http://svn.freebsd.org/changeset/base/229024 Log: Add some additional const poison after r228972. The 'mapping' array in lib/libc/gen/strtofflags.c became const, but gcc did not warn about assigning its members to non-cons

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Garrett Cooper
2011/12/30 Alexey Dokuchaev : > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: >> On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: >> > -                * is 11 bit wide that gives us upto 2048 chunks. >> > +                * is 11 bit wide that gives us up to 2048 chunks. >> >

Re: svn commit: r227652 - in head: share/man/man4 sys/dev/virtio sys/dev/virtio/balloon sys/dev/virtio/block sys/dev/virtio/network sys/dev/virtio/pci sys/modules sys/modules/virtio sys/modules/virtio

2011-12-30 Thread Slawa Olhovchenkov
On Fri, Nov 18, 2011 at 05:43:43AM +, Peter Grehan wrote: > Author: grehan > Date: Fri Nov 18 05:43:43 2011 > New Revision: 227652 > URL: http://svn.freebsd.org/changeset/base/227652 > > Log: > Import virtio base, PCI front-end, and net/block/balloon drivers. > Tested on Qemu/KVM, Virtual

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Colin Percival
On 12/30/11 11:54, Alexey Dokuchaev wrote: > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: >> On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: >>> -* is 11 bit wide that gives us upto 2048 chunks. >>> +* is 11 bit wide that gives us up to 2048 c

Re: svn commit: r228992 - in head/usr.bin: csup finger fstat indent ipcs lex limits locate/locate login mail make man ncplogin netstat pr rpcgen rpcinfo systat talk tip/tip top vgrind xlint/lint1 xlin

2011-12-30 Thread Ben Kaduk
On Fri, Dec 30, 2011 at 6:02 AM, Ulrich Spoerlein wrote: > Author: uqs > Date: Fri Dec 30 11:02:40 2011 > New Revision: 228992 > URL: http://svn.freebsd.org/changeset/base/228992 > > Log: >  Spelling fixes for usr.bin/ > > > Modified: head/usr.bin/lex/NEWS > ===

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Glen Barber
On Fri, Dec 30, 2011 at 07:54:44PM +, Alexey Dokuchaev wrote: > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: > > On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > > > -                * is 11 bit wide that gives us upto 2048 chunks. > > > +                * is 11 bit wid

Re: svn: head/sys/netinet

2011-12-30 Thread Gleb Smirnoff
On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix this software (at least in ports)

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Harti Brandt
On Fri, 30 Dec 2011, Ben Kaduk wrote: BK>On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: BK>> Author: uqs BK>> Date: Fri Dec 30 10:58:14 2011 BK>> New Revision: 228990 BK>> URL: http://svn.freebsd.org/changeset/base/228990 BK>> BK>> Log: BK>>  Spelling fixes for usr.sbin/ BK>> [snip] B

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
Won't this break whole lot of third-party software, which expects FreeBSD to be slightly different in this regards? Just curious. -Maxim On 10/7/2011 6:43 AM, Andre Oppermann wrote: Author: andre Date: Fri Oct 7 13:43:01 2011 New Revision: 226105 URL: http://svn.freebsd.org/changeset/base/226

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Alexey Dokuchaev
On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: > On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > > -                * is 11 bit wide that gives us upto 2048 chunks. > > +                * is 11 bit wide that gives us up to 2048 chunks. > > Should be "11 bits", no? I'm not

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Ben Kaduk
On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > Author: uqs > Date: Fri Dec 30 10:58:14 2011 > New Revision: 228990 > URL: http://svn.freebsd.org/changeset/base/228990 > > Log: >  Spelling fixes for usr.sbin/ > > Modified: head/usr.sbin/bluetooth/sdpd/server.c >

svn commit: r229007 - head/sys/i386/xen

2011-12-30 Thread Alan Cox
Author: alc Date: Fri Dec 30 18:16:15 2011 New Revision: 229007 URL: http://svn.freebsd.org/changeset/base/229007 Log: Merge r216333 and r216555 from the native pmap When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take i

Re: svn commit: r228878 - head/include

2011-12-30 Thread David Chisnall
On 30 Dec 2011, at 16:52, Sean C. Farley wrote: >> My quick googling didn't show anything at all about the C++ standard and >> stdbool.h or __bool_true_false_are_defined. It was probably originally set >> because bool, true, and false are all C++ keywords so certain code that >> wanted to ifde

svn commit: r229004 - head/sys/compat/ndis

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 17:18:09 2011 New Revision: 229004 URL: http://svn.freebsd.org/changeset/base/229004 Log: In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int

Re: svn commit: r228878 - head/include

2011-12-30 Thread Sean C. Farley
On Fri, 30 Dec 2011, Ed Schouten wrote: Hello Sean, * Sean C. Farley , 20111230 03:54: I just thought of this while reviewing the change: should __bool_true_false_are_defined be set only if __cplusplus is not set? It should be set for C99, but I wonder if it should be set for C++. Even if

Re: svn commit: r228878 - head/include

2011-12-30 Thread Sean C. Farley
On Thu, 29 Dec 2011, m...@freebsd.org wrote: On Thu, Dec 29, 2011 at 6:54 PM, Sean C. Farley wrote: On Sun, 25 Dec 2011, Ed Schouten wrote: Author: ed Date: Sun Dec 25 20:15:41 2011 New Revision: 228878 URL: http://svn.freebsd.org/changeset/base/228878 Log:  Remove unneeded guard.  There i

svn commit: r229003 - head/sys/netgraph

2011-12-30 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 30 15:41:28 2011 New Revision: 229003 URL: http://svn.freebsd.org/changeset/base/229003 Log: style(9), whitespace and spelling nits. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c =

svn commit: r229002 - head/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:46:53 2011 New Revision: 229002 URL: http://svn.freebsd.org/changeset/base/229002 Log: Set svn:executable on dhclient-script Sponsored by: Yakaz (http://www.yakaz.com) Modified: Directory Properties: head/sbin/dhclient/dhclient-script (props changed

svn commit: r229001 - head/tools/regression/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:41:47 2011 New Revision: 229001 URL: http://svn.freebsd.org/changeset/base/229001 Log: Adapt testsuite following change in Domain Search error handling In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Spon

svn commit: r229000 - head/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:33:08 2011 New Revision: 229000 URL: http://svn.freebsd.org/changeset/base/229000 Log: Invalid Domain Search option isn't considered as a fatal error In the original Domain Search option patch, an invalid option value would cause the whole lease to be

svn commit: r228994 - in head/sys: conf modules/ipfilter modules/nxge modules/xfs

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 13:16:59 2011 New Revision: 228994 URL: http://svn.freebsd.org/changeset/base/228994 Log: Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove

svn commit: r228993 - in head/share: doc/IPv6 termcap

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 11:11:54 2011 New Revision: 228993 URL: http://svn.freebsd.org/changeset/base/228993 Log: Spelling fixes for share/ Modified: head/share/doc/IPv6/IMPLEMENTATION head/share/termcap/termcap.src Modified: head/share/doc/IPv6/IMPLEMENTATION

svn commit: r228992 - in head/usr.bin: csup finger fstat indent ipcs lex limits locate/locate login mail make man ncplogin netstat pr rpcgen rpcinfo systat talk tip/tip top vgrind xlint/lint1 xlint...

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 11:02:40 2011 New Revision: 228992 URL: http://svn.freebsd.org/changeset/base/228992 Log: Spelling fixes for usr.bin/ Modified: head/usr.bin/csup/fixups.c head/usr.bin/csup/mux.c head/usr.bin/csup/rcsfile.c head/usr.bin/finger/finger.c head/usr.bin/fstat/f

svn commit: r228991 - in head/usr.bin: brandelf calendar/calendars logins sockstat unzip whereis

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 10:59:15 2011 New Revision: 228991 URL: http://svn.freebsd.org/changeset/base/228991 Log: Reencode files from latin1 to UTF-8. This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users. This badly needs a s

svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnmp...

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 10:58:14 2011 New Revision: 228990 URL: http://svn.freebsd.org/changeset/base/228990 Log: Spelling fixes for usr.sbin/ Modified: head/usr.sbin/IPXrouted/sap_input.c head/usr.sbin/IPXrouted/sap_tables.c head/usr.sbin/adduser/adduser.sh head/usr.sbin/bluetooth

svn commit: r228989 - head/lib

2011-12-30 Thread Robert Watson
Author: rwatson Date: Fri Dec 30 10:45:00 2011 New Revision: 228989 URL: http://svn.freebsd.org/changeset/base/228989 Log: Fix typo in Makefile comment. MFC after:3 days Modified: head/lib/Makefile Modified: head/lib/Makefile =

svn commit: r228988 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:48:35 2011 New Revision: 228988 URL: http://svn.freebsd.org/changeset/base/228988 Log: Add a configuration file for the Atheros PB47 reference board. This is an AR71xx based board with 8MB flash, 64MB RAM, a Mini-PCI+ slot (see below) and a single 10/100/10

svn commit: r228987 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:39:24 2011 New Revision: 228987 URL: http://svn.freebsd.org/changeset/base/228987 Log: Add a couple of missing wlan modules. Modified: head/sys/mips/conf/AR71XX_BASE Modified: head/sys/mips/conf/AR71XX_BASE ==

Re: svn commit: r228878 - head/include

2011-12-30 Thread Ed Schouten
Hello Sean, * Sean C. Farley , 20111230 03:54: > I just thought of this while reviewing the change: should > __bool_true_false_are_defined be set only if __cplusplus is not set? > It should be set for C99, but I wonder if it should be set for C++. Even if the C++ standard doesn't

svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
Author: lstewart Date: Fri Dec 30 08:57:58 2011 New Revision: 228986 URL: http://svn.freebsd.org/changeset/base/228986 Log: - Introduce the net.bpf.tscfg sysctl tree and associated code so as to make one aspect of time stamp configuration per interface rather than per BPF descriptor. Pr