svn commit: r256179 - head/sys/ofed/drivers/infiniband/core

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 07:02:03 2013 New Revision: 256179 URL: http://svnweb.freebsd.org/changeset/base/256179 Log: Remove redundant declaration of cmclass in sys/ofed/drivers/infiniband/core/ucm.c, to silence a gcc warning. Approved by: re (kib) X-MFC-With: r255932 Modified:

svn commit: r256181 - in head/usr.sbin/bsdconfig: . console mouse networking networking/share password/share security share share/media share/packages startup startup/share timezone usermgmt usermg...

2013-10-09 Thread Devin Teske
Author: dteske Date: Wed Oct 9 08:12:26 2013 New Revision: 256181 URL: http://svnweb.freebsd.org/changeset/base/256181 Log: Introduce centralized [X]dialog(1) exit codes to `dialog.subr' and make-use throughout the bsdconfig(8) code. While we're here, add an explicit argument to

svn commit: r256185 - in head/sys: kern sys

2013-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 11:57:53 2013 New Revision: 256185 URL: http://svnweb.freebsd.org/changeset/base/256185 Log: - Substitute sbdrop_internal() with sbcut_internal(). The latter doesn't free mbufs, but return chain of free mbufs to a caller. Caller can either reuse them or

svn commit: r256186 - head/sys/netinet

2013-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 12:00:38 2013 New Revision: 256186 URL: http://svnweb.freebsd.org/changeset/base/256186 Log: When processing ACK in tcp_do_segment, use sbcut_locked() instead of sbdrop_locked() to cut acked mbufs from the socket buffer. Free this chain a batch manner after

svn commit: r256187 - in head/sys: cam/ctl dev/iscsi

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 12:03:04 2013 New Revision: 256187 URL: http://svnweb.freebsd.org/changeset/base/256187 Log: Fix NOP-In/NOP-Out payload handling. Previous way didn't work at all; fortunately nothing seems to actually use this feature, but it's required by standard.

svn commit: r256188 - head/sys/cam

2013-10-09 Thread Alexander Motin
Author: mav Date: Wed Oct 9 12:09:01 2013 New Revision: 256188 URL: http://svnweb.freebsd.org/changeset/base/256188 Log: Close the race on path ID allocation in xpt_bus_register() if two buses are registered simultaneously. Due to topology unlock between the ID allocation and the bus

svn commit: r256189 - head/usr.sbin/ctld

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 12:17:40 2013 New Revision: 256189 URL: http://svnweb.freebsd.org/changeset/base/256189 Log: Fix off-by-one. Coverity CID: 1011375 Approved by: re (glebius) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/ctld/kernel.c Modified:

svn commit: r256190 - head/usr.sbin/ctladm

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 12:19:48 2013 New Revision: 256190 URL: http://svnweb.freebsd.org/changeset/base/256190 Log: Fix incorrect use of sizeof(). Coverity CID: 1011303 Approved by: re (glebius) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/ctladm/ctladm.c

svn commit: r256191 - head/usr.sbin/ctladm

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 12:30:52 2013 New Revision: 256191 URL: http://svnweb.freebsd.org/changeset/base/256191 Log: Fix two off-by-ones. Coverity CID: 1087999, 1011375 Approved by: re (glebius) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/ctladm/ctladm.c

svn commit: r256192 - head/usr.sbin/ctld

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 13:28:45 2013 New Revision: 256192 URL: http://svnweb.freebsd.org/changeset/base/256192 Log: Plug memory leaks. Coverity CID: 1087993, 1087992 Approved by: re (marius) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/ctld/login.c Modified:

svn commit: r256193 - head/usr.sbin/iscsid

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 13:45:07 2013 New Revision: 256193 URL: http://svnweb.freebsd.org/changeset/base/256193 Log: Fix memory overrun. Coverity CID: 1092478 Approved by: re (gjb) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/iscsid/discovery.c Modified:

svn commit: r256194 - head/usr.sbin/iscsid

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 13:48:08 2013 New Revision: 256194 URL: http://svnweb.freebsd.org/changeset/base/256194 Log: Plug memory leak. Coverity CID: 1087991 Approved by: re (gjb) Sponsored by: FreeBSD Foundation Modified: head/usr.sbin/iscsid/discovery.c Modified:

svn commit: r256195 - head/sys/cam/ctl

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 16:55:52 2013 New Revision: 256195 URL: http://svnweb.freebsd.org/changeset/base/256195 Log: Tidy up, cache return value of a function, and add an assertion; shouldn't make any functional difference. Approved by: re (gjb) Sponsored by: FreeBSD Foundation

svn commit: r256196 - head/sys/arm/s3c2xx0

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 17:05:02 2013 New Revision: 256196 URL: http://svnweb.freebsd.org/changeset/base/256196 Log: Remove redundant redeclarations of uart_s3c2410_class in sys/arm/s3c2xx0/uart_bus_s3c2410.c and uart_cpu_s3c2410.c, to silence two gcc warnings. Approved by: re

svn commit: r256197 - head/sys/cam/ctl

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 17:06:03 2013 New Revision: 256197 URL: http://svnweb.freebsd.org/changeset/base/256197 Log: Make the error handling more consistant. Shouldn't make any functional difference. Approved by: re (gjb) Sponsored by: FreeBSD Foundation Modified:

svn commit: r256199 - head/sys/contrib/ipfilter/netinet

2013-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 17:07:50 2013 New Revision: 256199 URL: http://svnweb.freebsd.org/changeset/base/256199 Log: Initialize a variable in sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c, to silence a gcc warning. Approved by: re (gjb) X-MFC-With: r255332 Modified:

svn commit: r256198 - in head: . gnu/usr.bin gnu/usr.bin/rcs share/doc/psd share/doc/psd/13.rcs share/man/man5 share/mk tools/build/mk tools/build/options

2013-10-09 Thread Glen Barber
Author: gjb Date: Wed Oct 9 17:07:20 2013 New Revision: 256198 URL: http://svnweb.freebsd.org/changeset/base/256198 Log: Revert r256095, r256120 (partial), r256121: r256095: - Add gnu/usr.bin/rcs back to the base system. r256120: - Add WITHOUT_RCS back to src.conf.5.

svn commit: r256200 - in head/sys/dev: e1000 netmap

2013-10-09 Thread Jack F Vogel
Author: jfv Date: Wed Oct 9 17:32:52 2013 New Revision: 256200 URL: http://svnweb.freebsd.org/changeset/base/256200 Log: Update the Intel igb driver to version 2.4.0 - This version has support for the new Intel Avoton systems, including 2.5Gb support, further it now has IPv6/TSO6 support

svn commit: r256201 - head/sys/cam/ctl

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 17:34:45 2013 New Revision: 256201 URL: http://svnweb.freebsd.org/changeset/base/256201 Log: Remove no longer useful debugging output and a stale comment. Approved by: re (gjb) Sponsored by: FreeBSD Foundation Modified:

svn commit: r256209 - head/sys/kern

2013-10-09 Thread Konstantin Belousov
Author: kib Date: Wed Oct 9 18:39:44 2013 New Revision: 256209 URL: http://svnweb.freebsd.org/changeset/base/256209 Log: Reduce code duplication, introduce the getmaxfd() helper to calculate the max filedescriptor index. Tested by:pho Sponsored by: The FreeBSD Foundation MFC

svn commit: r256210 - head/sys/kern

2013-10-09 Thread Konstantin Belousov
Author: kib Date: Wed Oct 9 18:41:35 2013 New Revision: 256210 URL: http://svnweb.freebsd.org/changeset/base/256210 Log: When growing the file descriptor table, new larger memory chunk is allocated, but the old table is kept around to handle the case of threads still performing unlocked

svn commit: r256211 - head/sys/kern

2013-10-09 Thread Konstantin Belousov
Author: kib Date: Wed Oct 9 18:43:29 2013 New Revision: 256211 URL: http://svnweb.freebsd.org/changeset/base/256211 Log: Do not flush buffers when the v_object of the passed vnode does not really belong to it. Such vnodes, with the pointers to other vnodes v_objects, are typically

svn commit: r256213 - head/sys/kern

2013-10-09 Thread Konstantin Belousov
Author: kib Date: Wed Oct 9 18:45:01 2013 New Revision: 256213 URL: http://svnweb.freebsd.org/changeset/base/256213 Log: The device vnodes are often unlocked when bread() or bwrite() is called. This probably should be fixed eventually, but for now it is not needed to try to flush such

svn commit: r256228 - head/sys/dev/iscsi

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 19:28:56 2013 New Revision: 256228 URL: http://svnweb.freebsd.org/changeset/base/256228 Log: Fail connection upon receiving too large data segment. Approved by: re (glebius) Sponsored by: FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified:

svn commit: r256229 - head/sys/dev/iscsi

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 19:30:13 2013 New Revision: 256229 URL: http://svnweb.freebsd.org/changeset/base/256229 Log: Be extra paranoid with values obtained from the target. Approved by: re (glebius) Sponsored by: FreeBSD Foundation Modified: head/sys/dev/iscsi/iscsi.c

svn commit: r256231 - head/sys/dev/isci

2013-10-09 Thread Jim Harris
Author: jimharris Date: Wed Oct 9 19:37:41 2013 New Revision: 256231 URL: http://svnweb.freebsd.org/changeset/base/256231 Log: Improve logging around some of the isci(4) reset and recovery paths. Sponsored by: Intel Discussed with: scottl Approved by: re (marius) MFC after:

svn commit: r256232 - head/libexec/freebsd-version

2013-10-09 Thread Dag-Erling Smørgrav
Author: des Date: Wed Oct 9 19:37:51 2013 New Revision: 256232 URL: http://svnweb.freebsd.org/changeset/base/256232 Log: Explicitly pass the full path to the input file to sed. This unbreaks the WITHOUT_BMAKE build. Approved by: re (gjb) Modified:

svn commit: r256237 - head/usr.sbin/bhyveload

2013-10-09 Thread Joel Dahl
Author: joel (doc committer) Date: Wed Oct 9 20:00:04 2013 New Revision: 256237 URL: http://svnweb.freebsd.org/changeset/base/256237 Log: Fix missing . Approved by: re (blanket) Modified: head/usr.sbin/bhyveload/bhyveload.8 Modified: head/usr.sbin/bhyveload/bhyveload.8

svn commit: r256238 - head/sys/dev/iscsi

2013-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 20:09:58 2013 New Revision: 256238 URL: http://svnweb.freebsd.org/changeset/base/256238 Log: Properly handle residual count in Data-In PDUs with S bit set. Approved by: re (gjb) Sponsored by: FreeBSD Foundation Modified: head/sys/dev/iscsi/iscsi.c

svn commit: r256241 - in head: . bin bin/freebsd-version libexec libexec/freebsd-version

2013-10-09 Thread Dag-Erling Smørgrav
== --- head/ObsoleteFiles.inc Wed Oct 9 20:14:16 2013(r256240) +++ head/ObsoleteFiles.inc Wed Oct 9 20:47:20 2013(r256241) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20131009: freebsd-version moved from /libexec to /bin

svn commit: r256242 - head/lib/libprocstat

2013-10-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Oct 9 20:58:50 2013 New Revision: 256242 URL: http://svnweb.freebsd.org/changeset/base/256242 Log: Handle the cases where NULL is passed as cap_rightsp to the filestat_new_entry() function. Reported by: Alex Kozlov s...@rm-rf.kiev.ua Approved by: re (gjb)

svn commit: r256244 - head/lib/libstand

2013-10-09 Thread Alexander Kabaev
Author: kan Date: Wed Oct 9 21:33:19 2013 New Revision: 256244 URL: http://svnweb.freebsd.org/changeset/base/256244 Log: Unbreak zfsloader with LOADER_TFTP_SUPPORT on Only accept 'net' and 'pxe' devices as underlying transport in tftp.c on x86. Prior to this change tftp code would

svn commit: r256246 - head/release

2013-10-09 Thread Glen Barber
Author: gjb Date: Wed Oct 9 22:00:03 2013 New Revision: 256246 URL: http://svnweb.freebsd.org/changeset/base/256246 Log: Remove hash generation from release.sh, as it is run as part of the 'install' target in the release/Makefile. MFC after:3 days Submitted by: jhb Approved by:

svn commit: r256247 - head/sys/mips/mips

2013-10-09 Thread Adrian Chadd
Author: adrian Date: Wed Oct 9 22:10:03 2013 New Revision: 256247 URL: http://svnweb.freebsd.org/changeset/base/256247 Log: Add read/write bus barriers for MIPS. Tested: * AR9344 - mips74k SoC Approved by: re@ (delphij) Modified: head/sys/mips/mips/bus_space_generic.c

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

2013-10-09 Thread Peter Grehan
Author: grehan Date: Wed Oct 9 23:53:21 2013 New Revision: 256248 URL: http://svnweb.freebsd.org/changeset/base/256248 Log: Allow a 4-byte write to PCI config space to overlap the 2 read-only bytes at the start of a PCI capability. This is the sequence that OpenBSD uses when enabling MSI

svn commit: r256251 - head/cddl/contrib/opensolaris/cmd/dtrace

2013-10-09 Thread Mark Johnston
Author: markj Date: Thu Oct 10 03:50:23 2013 New Revision: 256251 URL: http://svnweb.freebsd.org/changeset/base/256251 Log: Convert the dtrace(1) man page to mdoc and fix up some aspects of it that don't make sense on FreeBSD. In particular, - remove the ATTRIBUTES section, - remove