svn commit: r265348 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath/ath_hal

2014-05-05 Thread Adrian Chadd
Author: adrian Date: Mon May 5 07:58:05 2014 New Revision: 265348 URL: http://svnweb.freebsd.org/changeset/base/265348 Log: Add Atheros AR support to the HAL. This seems to probe/attach as an AR9485 and thus nothing else besides adding the device id seems to be required. ath0:

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

2014-05-05 Thread Adrian Chadd
Author: adrian Date: Mon May 5 08:00:50 2014 New Revision: 265349 URL: http://svnweb.freebsd.org/changeset/base/265349 Log: Quieten the RX/TX descriptor and FIFO setup debugging. Tested: * AR9485, STA mode Modified: head/sys/dev/ath/if_ath_rx_edma.c

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

2014-05-05 Thread Adrian Chadd
Author: adrian Date: Mon May 5 08:12:21 2014 New Revision: 265350 URL: http://svnweb.freebsd.org/changeset/base/265350 Log: Break out the multicast programming into its own hardware specific call, which assumes the hardware is awake. Turn ath_update_mcast() into a routine that's only

svn commit: r265351 - head/sys/geom/label

2014-05-05 Thread Edward Tomasz Napierala
Author: trasz Date: Mon May 5 09:20:30 2014 New Revision: 265351 URL: http://svnweb.freebsd.org/changeset/base/265351 Log: Make r242379 - the fix for UFS labels disappearing after resizing the provider - also apply to UFS1 filesystems. This should help with resizing filesystems created by

svn commit: r265357 - stable/9/sys/netinet

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 11:30:45 2014 New Revision: 265357 URL: http://svnweb.freebsd.org/changeset/base/265357 Log: MFC: r264739 Add {} braces so that the code conforms to the indentation. Fortunately, I don't think doing the assignment of cap-tsomax unconditionally causes any

svn commit: r265358 - head/sys/dev/usb/controller

2014-05-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 5 11:50:52 2014 New Revision: 265358 URL: http://svnweb.freebsd.org/changeset/base/265358 Log: Improve DWC OTG USB host side support for isochronous FULL and HIGH speed data traffic going directly to a USB device or through a so-called USB transaction

svn commit: r265359 - head/sys/modules/sound/sound

2014-05-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL: http://svnweb.freebsd.org/changeset/base/265359 Log: Build the kernel sound module without ISA DMA support for ARM and MIPS platforms, because these platforms do not implement the ISA DMA API. Else the sound modules

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

2014-05-05 Thread Christian Brueffer
Author: brueffer Date: Mon May 5 14:50:44 2014 New Revision: 265360 URL: http://svnweb.freebsd.org/changeset/base/265360 Log: Remove stray comma. MFC after:3 days Modified: head/share/man/man4/tnt4882.4 Modified: head/share/man/man4/tnt4882.4

svn commit: r265361 - stable/10/lib/libc/locale

2014-05-05 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 5 14:50:53 2014 New Revision: 265361 URL: http://svnweb.freebsd.org/changeset/base/265361 Log: MFC r265095, r265167; citrus: Avoid invalid code points. The UTF-8 decoder should not accept byte sequences which decode to unicode code positions U+D800 to

svn commit: r265362 - head/release/doc/en_US.ISO8859-1/hardware

2014-05-05 Thread Christian Brueffer
Author: brueffer Date: Mon May 5 14:57:38 2014 New Revision: 265362 URL: http://svnweb.freebsd.org/changeset/base/265362 Log: Mention the axge(4) driver in the hardware notes. MFC after:1 week Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml Modified:

svn commit: r265363 - head/sys/kern

2014-05-05 Thread Don Lewis
Author: truckman Date: Mon May 5 15:59:31 2014 New Revision: 265363 URL: http://svnweb.freebsd.org/changeset/base/265363 Log: Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable

svn commit: r265364 - head/sys/amd64/vmm

2014-05-05 Thread Neel Natu
Author: neel Date: Mon May 5 16:19:24 2014 New Revision: 265364 URL: http://svnweb.freebsd.org/changeset/base/265364 Log: Virtual machine halt detection is turned on by default. Allow it to be disabled via the tunable 'hw.vmm.halt_detection'. Modified: head/sys/amd64/vmm/vmm.c Modified:

Re: svn commit: r265363 - head/sys/kern

2014-05-05 Thread John Baldwin
On Monday, May 05, 2014 11:59:31 am Don Lewis wrote: Author: truckman Date: Mon May 5 15:59:31 2014 New Revision: 265363 URL: http://svnweb.freebsd.org/changeset/base/265363 Log: Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect

svn commit: r265365 - head/usr.sbin/bhyve

2014-05-05 Thread Neel Natu
Author: neel Date: Mon May 5 16:30:03 2014 New Revision: 265365 URL: http://svnweb.freebsd.org/changeset/base/265365 Log: Re-adding an event to a kqueue modifies the parameters of the original event. However, if the original knote had been disabled then it is not automatically re-enabled.

svn commit: r265366 - head/usr.sbin/bhyve

2014-05-05 Thread Neel Natu
Author: neel Date: Mon May 5 16:35:37 2014 New Revision: 265366 URL: http://svnweb.freebsd.org/changeset/base/265366 Log: Remove misleading addcpu in an error message emitted by fbsdrun_deletecpu(). Pointed out by: novel Modified: head/usr.sbin/bhyve/bhyverun.c Modified:

svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 5 16:41:15 2014 New Revision: 265367 URL: http://svnweb.freebsd.org/changeset/base/265367 Log: regex: Use calloc instead of malloc. Mostly to reduce differences with OpenBSD. Obtained from:OpenBSD (CVS rev. 1.17) MFC after:3 days Modified:

svn commit: r265368 - stable/10/libexec/atrun

2014-05-05 Thread Guy Helmer
Author: ghelmer Date: Mon May 5 16:52:38 2014 New Revision: 265368 URL: http://svnweb.freebsd.org/changeset/base/265368 Log: MFC r264617: Fix releasing the lock in the parent atrun process after the queue directory has been processed. Otherwise, a long-running child process caused

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

2014-05-05 Thread Adrian Chadd
Author: adrian Date: Mon May 5 17:06:40 2014 New Revision: 265370 URL: http://svnweb.freebsd.org/changeset/base/265370 Log: Wake up the hardware before calling ath_mode_init() in the ioctl() path. Tested: * AR5416, STA + powersave Modified: head/sys/dev/ath/if_ath.c Modified:

svn commit: r265371 - head/sys/dev/usb/net

2014-05-05 Thread Michael Tuexen
Author: tuexen Date: Mon May 5 17:30:05 2014 New Revision: 265371 URL: http://svnweb.freebsd.org/changeset/base/265371 Log: Fill in csum_data only for UDP or TCP packets. This fixes a bug where SCTP were reported to have always a correct checksum if they don't contain any ethernet padding.

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 05.05.2014 20:41, Pedro F. Giffuni wrote: Log: regex: Use calloc instead of malloc. Mostly to reduce differences with OpenBSD. Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes calloc() zeroing pointless and waste of

svn commit: r265375 - head/lib/libc/regex

2014-05-05 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 5 18:04:57 2014 New Revision: 265375 URL: http://svnweb.freebsd.org/changeset/base/265375 Log: Revert r265367: Use of calloc instead of malloc in regex (from OpenBSD). In this case the change makes no sense since we are using realloc() later. Reported by:

svn commit: r265376 - head/usr.sbin/bhyve

2014-05-05 Thread Neel Natu
Author: neel Date: Mon May 5 18:06:35 2014 New Revision: 265376 URL: http://svnweb.freebsd.org/changeset/base/265376 Log: Modify the -p option to be more flexible when associating a 'vcpu' with a 'hostcpu'. The new format of the argument string is vcpu:hostcpu. This allows pinning a

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread David Chisnall
On 5 May 2014, at 18:42, Andrey Chernov a...@freebsd.org wrote: Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes calloc() zeroing pointless and waste of CPU. The purpose of calloc() here is not (primarily) to get the zero'd

svn commit: r265383 - stable/9/usr.sbin/mergemaster

2014-05-05 Thread Peter Wemm
Author: peter Date: Mon May 5 19:35:02 2014 New Revision: 265383 URL: http://svnweb.freebsd.org/changeset/base/265383 Log: MFC r250916: coexist with /etc/localtime being a symlink Modified: stable/9/usr.sbin/mergemaster/mergemaster.sh Modified: stable/9/usr.sbin/mergemaster/mergemaster.sh

svn commit: r265385 - in head: . etc/mtree sbin/ifconfig sbin/ifconfig/tests

2014-05-05 Thread Alan Somers
== --- head/ObsoleteFiles.inc Mon May 5 19:35:32 2014(r265384) +++ head/ObsoleteFiles.inc Mon May 5 19:38:29 2014(r265385) @@ -38,6 +38,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20140505: Reject PR kern/187551

svn commit: r265386 - head/sys/dev/mpr

2014-05-05 Thread Kenneth D. Merry
Author: ken Date: Mon May 5 19:53:03 2014 New Revision: 265386 URL: http://svnweb.freebsd.org/changeset/base/265386 Log: Adjust #if statements inside mprsas_send_smpcmd() to more accurately reflect when unmapped I/O support was added. For FreeBSD 10, it arrived just prior to

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Pedro Giffuni
El 5/5/2014 1:28 PM, David Chisnall escribió: On 5 May 2014, at 18:42, Andrey Chernov a...@freebsd.org wrote: Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes calloc() zeroing pointless and waste of CPU. The purpose of

svn commit: r265388 - in stable/10: share/man/man4 sys/amd64/conf sys/conf sys/dev/mpr sys/i386/conf sys/ia64/conf sys/mips/conf sys/modules sys/modules/mpr sys/sparc64/conf

2014-05-05 Thread Kenneth D. Merry
Author: ken Date: Mon May 5 20:35:35 2014 New Revision: 265388 URL: http://svnweb.freebsd.org/changeset/base/265388 Log: MFC the mpr(4) driver for LSI's 12Gb SAS cards. This includes r265236, r265237, r265241 and r265261:

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-05 Thread Warner Losh
On May 5, 2014, at 8:31 AM, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL: http://svnweb.freebsd.org/changeset/base/265359 Log: Build the kernel sound module without ISA DMA support for ARM and MIPS platforms,

svn commit: r265389 - stable/9/sys/fs/nfsclient

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 20:48:36 2014 New Revision: 265389 URL: http://svnweb.freebsd.org/changeset/base/265389 Log: MFC: r264705, r264749 Modify the NFSv4 client create/mkdir RPC so that it acquires post-create/mkdir directory attributes. This allows the RPC to name cache the

svn commit: r265390 - stable/9/sys/fs/nfsclient

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Mon May 5 20:55:37 2014 New Revision: 265390 URL: http://svnweb.freebsd.org/changeset/base/265390 Log: MFC: r264738 For an NFSv4 mount with the nocto option, don't get the up to date file attributes upon close. This reduces the Getattr RPC count by about 65% for

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread David Chisnall
On 5 May 2014, at 20:49, Pedro Giffuni p...@freebsd.org wrote: Yes, but I reverted it because there are other ways to check for overflows without the performance hit. Do we have a good reusable routine for doing this somewhere? Clang and gcc both have some idiom recognisers that try to spot

svn commit: r265391 - head/sys/dev/vt

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 21:29:56 2014 New Revision: 265391 URL: http://svnweb.freebsd.org/changeset/base/265391 Log: Define a new method for probing vt(4) driver before attach it at early stage. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt.h Modified:

svn commit: r265392 - head/sys/dev/vt

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 21:31:00 2014 New Revision: 265392 URL: http://svnweb.freebsd.org/changeset/base/265392 Log: Create dataset for vt(4) drivers. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt.h Modified: head/sys/dev/vt/vt.h

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Warner Losh
On May 5, 2014, at 3:21 PM, David Chisnall thera...@freebsd.org wrote: On 5 May 2014, at 20:49, Pedro Giffuni p...@freebsd.org wrote: Yes, but I reverted it because there are other ways to check for overflows without the performance hit. Do we have a good reusable routine for doing this

svn commit: r265394 - stable/10/release/doc/en_US.ISO8859-1/hardware

2014-05-05 Thread Christian Brueffer
Author: brueffer Date: Mon May 5 21:34:10 2014 New Revision: 265394 URL: http://svnweb.freebsd.org/changeset/base/265394 Log: MFC: r265242 Generate hardware notes for mpr(4) and bump copyright for 2014. Modified: stable/10/release/doc/en_US.ISO8859-1/hardware/article.xml Directory

svn commit: r265393 - head/sys/netinet

2014-05-05 Thread Gleb Smirnoff
Author: glebius Date: Mon May 5 21:33:20 2014 New Revision: 265393 URL: http://svnweb.freebsd.org/changeset/base/265393 Log: The tcp_log_addrs() uses th pointer, which points into the mbuf, thus we can not free the mbuf before tcp_log_addrs(). Sponsored by: Nginx, Inc. Sponsored by:

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 05.05.2014 22:28, David Chisnall wrote: On 5 May 2014, at 18:42, Andrey Chernov a...@freebsd.org wrote: Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes calloc() zeroing pointless and waste of CPU. The purpose of

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread David Chisnall
On 5 May 2014, at 22:33, Warner Losh i...@bsdimp.com wrote: reallocf(): The reallocf() function is identical to the realloc() function, except that it will free the passed pointer when the requested memory cannot be allocated. This is a FreeBSD specific API designed to ease the

svn commit: r265395 - head/sys/dev/vt

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 21:44:53 2014 New Revision: 265395 URL: http://svnweb.freebsd.org/changeset/base/265395 Log: Set of updates to vt(4) core part. o Declare vt(4) drivers dataset. o Create single static structures for all early drivers. o Add vt(4) to be by default in the kernel

svn commit: r265396 - head/sys/sys

2014-05-05 Thread Robert Watson
Author: rwatson Date: Mon May 5 21:46:10 2014 New Revision: 265396 URL: http://svnweb.freebsd.org/changeset/base/265396 Log: Garbage collect two more unused sysinit subsystems: SI_SUB_KVM_RSRC and SI_SUB_CLISTS. MFC after:3 days Modified: head/sys/sys/kernel.h Modified:

svn commit: r265397 - in head/sys/dev/vt/hw: efifb fb

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 21:48:19 2014 New Revision: 265397 URL: http://svnweb.freebsd.org/changeset/base/265397 Log: Switch fb and efifb drivers to use names and new vt(4) driver probe method. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/efifb/efifb.c

svn commit: r265398 - head/sys/dev/vt/hw/ofwfb

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 21:49:31 2014 New Revision: 265398 URL: http://svnweb.freebsd.org/changeset/base/265398 Log: Add vt(4) driver name for ofwfb driver. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/ofwfb/ofwfb.c Modified: head/sys/dev/vt/hw/ofwfb/ofwfb.c

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 06.05.2014 1:43, David Chisnall wrote: While reallocf() is nice, it doesn't address the problem of overflow. It takes a single size, forcing the caller to do the number-of-elements * element-size multiplication, which is the problematic one. If an attacker can control the number of

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread David Chisnall
On 5 May 2014, at 22:40, Andrey Chernov a...@freebsd.org wrote: On 05.05.2014 22:28, David Chisnall wrote: On 5 May 2014, at 18:42, Andrey Chernov a...@freebsd.org wrote: Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 06.05.2014 1:52, David Chisnall wrote: This is not relying on undocumented intrinsic knowledge, this is relying on the standard library doing what is required of it. There is a reason why secure coding standards have, for over a decade, said to prefer calloc() over malloc() unless

svn commit: r265399 - head/share/mk

2014-05-05 Thread Warner Losh
Author: imp Date: Mon May 5 22:02:48 2014 New Revision: 265399 URL: http://svnweb.freebsd.org/changeset/base/265399 Log: [1] Make WITHOUT_FOO alway trump WITH_FOO, regardless of the system default. This restores more of the historical expectations that were broken when we started

svn commit: r265401 - head/share/mk

2014-05-05 Thread Warner Losh
Author: imp Date: Mon May 5 22:03:08 2014 New Revision: 265401 URL: http://svnweb.freebsd.org/changeset/base/265401 Log: Simplify use of the semi-bogus EARLY_BUILD variable. Also, simplify use of semi-bogus NO_WARNS variable. Both of these, in this case, should collapse to WITHOUT_WARNS in

svn commit: r265400 - in head: share/mk sys/boot/i386/boot2

2014-05-05 Thread Warner Losh
Author: imp Date: Mon May 5 22:03:01 2014 New Revision: 265400 URL: http://svnweb.freebsd.org/changeset/base/265400 Log: Introduce CWARNFLAGS.${COMPILER_TYPE} and use that to simplify the thicket of .if ${COMPILER_TYPE} == clang that controls warnings. Also, use CFLAGS.clang in a couple

svn commit: r265402 - head/sys/dev/vt/hw/vga

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 22:10:31 2014 New Revision: 265402 URL: http://svnweb.freebsd.org/changeset/base/265402 Log: Revert r264997 and r265026. It is not required anymore. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/vga/vga.c Modified:

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread David Chisnall
On 5 May 2014, at 22:51, Andrey Chernov a...@freebsd.org wrote: For standard malloc/realloc interface it is up to the caller to check n*size not overflows. You must trust caller already does such check. Do a search of the CVE database sometime to see how well placed that trust generally is.

svn commit: r265403 - head/sys/dev/vt/hw/vga

2014-05-05 Thread Aleksandr Rybalko
Author: ray Date: Mon May 5 22:12:46 2014 New Revision: 265403 URL: http://svnweb.freebsd.org/changeset/base/265403 Log: Switch vga drivers to use names and new vt(4) driver probe method. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/vga/vga.c Modified:

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Pedro Giffuni
El 5/5/2014 4:21 PM, David Chisnall escribió: On 5 May 2014, at 20:49, Pedro Giffuni p...@freebsd.org wrote: Yes, but I reverted it because there are other ways to check for overflows without the performance hit. FWIW, in this particular case I think the overflow simply doesn't happen:

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Warner Losh
On May 5, 2014, at 4:10 PM, Pedro Giffuni p...@freebsd.org wrote: El 5/5/2014 4:21 PM, David Chisnall escribió: On 5 May 2014, at 20:49, Pedro Giffuni p...@freebsd.org wrote: Yes, but I reverted it because there are other ways to check for overflows without the performance hit. FWIW,

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 06.05.2014 2:12, David Chisnall wrote: On 5 May 2014, at 22:51, Andrey Chernov a...@freebsd.org wrote: For standard malloc/realloc interface it is up to the caller to check n*size not overflows. You must trust caller already does such check. Do a search of the CVE database sometime to

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Warner Losh
On May 5, 2014, at 3:43 PM, David Chisnall thera...@freebsd.org wrote: On 5 May 2014, at 22:33, Warner Losh i...@bsdimp.com wrote: reallocf(): The reallocf() function is identical to the realloc() function, except that it will free the passed pointer when the requested memory cannot

svn commit: r265405 - head/release/scripts

2014-05-05 Thread Glen Barber
Author: gjb Date: Mon May 5 23:01:01 2014 New Revision: 265405 URL: http://svnweb.freebsd.org/changeset/base/265405 Log: Add a helper script for parsing 'svn log' for the 'Relnotes:' tag in case 'yes' is not explicitly the first string value following the tab. As it turns out, a

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 06.05.2014 2:52, Andrey Chernov wrote: As I mention initially, literal enough checks is what we need to make logic clear. In the case we discuss realloc() can be changed by reallocf() which does n*size and NULL checks and literal if should be added before malloc() to check overflow. Sorry

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Andrey Chernov
On 06.05.2014 2:59, Warner Losh wrote: Stupid is as stupid does. malloc and realloc both have this same issue. While an interesting theoretical attack, the size doesn’t necessarily come from multiplication. Careful coding is still required, not matter what spin you put on this. reallocf()

svn commit: r265406 - head/release/scripts

2014-05-05 Thread Glen Barber
Author: gjb Date: Mon May 5 23:36:46 2014 New Revision: 265406 URL: http://svnweb.freebsd.org/changeset/base/265406 Log: Use 'return' instead of 'exit' in main(), since the script exits with the last returned exit code. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r265407 - head/usr.sbin/bhyve

2014-05-05 Thread Neel Natu
Author: neel Date: Mon May 5 23:54:13 2014 New Revision: 265407 URL: http://svnweb.freebsd.org/changeset/base/265407 Log: Disable the 'uart_drain()' callback when the emulated receive FIFO is full. Failing to do this will cause the kevent(2) notification to trigger continuously and the

svn commit: r265408 - in head: sys/netinet usr.bin/netstat

2014-05-05 Thread Gleb Smirnoff
Author: glebius Date: Tue May 6 00:00:07 2014 New Revision: 265408 URL: http://svnweb.freebsd.org/changeset/base/265408 Log: - Remove net.inet.tcp.reass.overflows sysctl. It counts exactly same events that tcpstat's tcps_rcvmemdrop counter counts. - Rename tcps_rcvmemdrop to

Re: svn commit: r265391 - head/sys/dev/vt

2014-05-05 Thread Steve Kargl
On Mon, May 05, 2014 at 09:29:57PM +, Aleksandr Rybalko wrote: Author: ray Date: Mon May 5 21:29:56 2014 New Revision: 265391 URL: http://svnweb.freebsd.org/changeset/base/265391 Log: Define a new method for probing vt(4) driver before attach it at early stage. Can you please

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

2014-05-05 Thread Adrian Chadd
Author: adrian Date: Tue May 6 01:15:42 2014 New Revision: 265409 URL: http://svnweb.freebsd.org/changeset/base/265409 Log: Modify the RX path to keep the previous RX descriptor around once it's used. It turns out that the RX DMA engine does the same last-descriptor-link-

svn commit: r265410 - in stable/10/sys/dev/cxgbe: . common

2014-05-05 Thread Navdeep Parhar
Author: np Date: Tue May 6 02:22:52 2014 New Revision: 265410 URL: http://svnweb.freebsd.org/changeset/base/265410 Log: MFC r261533, r261536, r261537, and r263457. r261533: cxgbe(4): Use the port's tx channel to identify it to t4_clr_port_stats. r261536: cxgbe(4): The T5 allows

svn commit: r265411 - in head/sys: dev/bxe modules/bxe

2014-05-05 Thread David C Somayajulu
Author: davidcs Date: Tue May 6 02:32:27 2014 New Revision: 265411 URL: http://svnweb.freebsd.org/changeset/base/265411 Log: Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davi...@freebsd.org)

svn commit: r265412 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:44:01 2014 New Revision: 265412 URL: http://svnweb.freebsd.org/changeset/base/265412 Log: MFC: r264469, r264498 Lagg did not set the value of if_hw_tsomax, so when lagg was stacked on top of network interfaces that set if_hw_tsomax, tcp_output() would

svn commit: r265413 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:49:31 2014 New Revision: 265413 URL: http://svnweb.freebsd.org/changeset/base/265413 Log: MFC: r264517 Vlan did not set the value of if_hw_tsomax, so when vlan was stacked on top of a network interface that set if_hw_tsomax, tcp_output() would see the

svn commit: r265414 - stable/10/sys/net

2014-05-05 Thread Rick Macklem
Author: rmacklem Date: Tue May 6 02:54:59 2014 New Revision: 265414 URL: http://svnweb.freebsd.org/changeset/base/265414 Log: MFC: r264630 For NFS mounts using rsize,wsize=65536 over TSO enabled network interfaces limited to 32 transmit segments, there are two known issues. The more

svn commit: r265415 - stable/10/tools/tools/cxgbetool

2014-05-05 Thread Navdeep Parhar
Author: np Date: Tue May 6 03:02:02 2014 New Revision: 265415 URL: http://svnweb.freebsd.org/changeset/base/265415 Log: MFC r261534: cxgbetool: Display the congestion channel map in hex. Modified: stable/10/tools/tools/cxgbetool/cxgbetool.c Directory Properties: stable/10/ (props

svn commit: r265416 - stable/10/sys/sys

2014-05-05 Thread Navdeep Parhar
Author: np Date: Tue May 6 03:05:14 2014 New Revision: 265416 URL: http://svnweb.freebsd.org/changeset/base/265416 Log: MFC r261804: Provide additional information in some panic strings. Modified: stable/10/sys/sys/mbuf.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r265417 - stable/10/share/man/man4

2014-05-05 Thread Bryan Venteicher
Author: bryanv Date: Tue May 6 03:38:04 2014 New Revision: 265417 URL: http://svnweb.freebsd.org/changeset/base/265417 Log: MFC r265287: Fix SYNOPSIS (device if_vtnet - device vtnet). Modified: stable/10/share/man/man4/vtnet.4 Directory Properties: stable/10/ (props changed)

svn commit: r265418 - head/sys/vm

2014-05-05 Thread Alan Cox
Author: alc Date: Tue May 6 03:42:04 2014 New Revision: 265418 URL: http://svnweb.freebsd.org/changeset/base/265418 Log: Prior to r254304, a separate function, vm_pageout_page_stats(), was used to periodically update the reference status of the active pages. This function was called,

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Bruce Evans
On Tue, 6 May 2014, Andrey Chernov wrote: On 05.05.2014 22:28, David Chisnall wrote: On 5 May 2014, at 18:42, Andrey Chernov a...@freebsd.org wrote: Please don't commit OpenBSD errors. Now you mix calloc() with the realloc() for the same variable later which makes calloc() zeroing pointless

Re: svn commit: r265364 - head/sys/amd64/vmm

2014-05-05 Thread Julian Elischer
On 5/6/14, 12:19 AM, Neel Natu wrote: Author: neel Date: Mon May 5 16:19:24 2014 New Revision: 265364 URL: http://svnweb.freebsd.org/changeset/base/265364 Log: Virtual machine halt detection is turned on by default. Allow it to be disabled via the tunable 'hw.vmm.halt_detection'. So this

svn commit: r265419 - head/share/mk

2014-05-05 Thread Warner Losh
Author: imp Date: Tue May 6 04:21:48 2014 New Revision: 265419 URL: http://svnweb.freebsd.org/changeset/base/265419 Log: Move the /usr/src specific options to src.opts.mk. Move inclusion of /etc/src.conf to this file as well. Now, it will only affect builds of /usr/src and not others that

svn commit: r265423 - in head: . share/mk usr.bin usr.bin/bmake usr.bin/make

2014-05-05 Thread Warner Losh
Author: imp Date: Tue May 6 04:22:37 2014 New Revision: 265423 URL: http://svnweb.freebsd.org/changeset/base/265423 Log: Remove support for WITHOUT_BMAKE. bmake is now the only make that can build world, so it is the only make we build or install. fmake is still in the tree, but

svn commit: r265421 - stable/10/sys/dev/cxgbe

2014-05-05 Thread Navdeep Parhar
Author: np Date: Tue May 6 04:22:06 2014 New Revision: 265421 URL: http://svnweb.freebsd.org/changeset/base/265421 Log: MFC r260210 (by adrian@): Add an option to enable or disable the small RX packet copying that is done to improve performance of small frames. When doing RX packing,

svn commit: r265422 - head

2014-05-05 Thread Warner Losh
the most expensive debugging functionality run ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20140505: + /etc/src.conf now affects only builds of the FreeBSD src tree. In the + past, it affected all builds that used the bsd.*.mk files. The old + behavior was a bug

svn commit: r265420 - in head: . bin bin/csh bin/date bin/ed bin/ls bin/mv bin/pax bin/pkill bin/sh bin/test cddl cddl/lib cddl/sbin cddl/usr.bin cddl/usr.sbin etc etc/mtree etc/periodic/daily etc/...

2014-05-05 Thread Warner Losh
Author: imp Date: Tue May 6 04:22:01 2014 New Revision: 265420 URL: http://svnweb.freebsd.org/changeset/base/265420 Log: Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter. Modified: head/Makefile.inc1 head/bin/Makefile head/bin/Makefile.inc

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-05 Thread Bruce Evans
On Tue, 6 May 2014, Andrey Chernov wrote: On 06.05.2014 2:12, David Chisnall wrote: On 5 May 2014, at 22:51, Andrey Chernov a...@freebsd.org wrote: For standard malloc/realloc interface it is up to the caller to check n*size not overflows. You must trust caller already does such check. Do