svn commit: r272296 - head/sys/netinet6

2014-09-30 Thread Kevin Lo
Author: kevlo Date: Tue Sep 30 07:28:31 2014 New Revision: 272296 URL: http://svnweb.freebsd.org/changeset/base/272296 Log: When plen != ulen, it should only be checked when this is UDP. Spotted by: bryanv Modified: head/sys/netinet6/udp6_usrreq.c Modified: head/sys/netinet6/udp6_usrr

Re: svn commit: r272207 - in head/games: factor primes

2014-09-30 Thread Bruce Evans
On Mon, 29 Sep 2014, John Baldwin wrote: On Saturday, September 27, 2014 06:00:28 AM Colin Percival wrote: On 09/27/14 05:52, John Baldwin wrote: On Saturday, September 27, 2014 09:00:39 AM Colin Percival wrote: #defineBIG ULONG_MAX /* largest value will sieve */

Re: svn commit: r272284 - head/usr.bin/systat

2014-09-30 Thread Gleb Smirnoff
On Mon, Sep 29, 2014 at 05:38:51PM +, Ryan Stone wrote: R> Author: rstone R> Date: Mon Sep 29 17:38:50 2014 R> New Revision: 272284 R> URL: http://svnweb.freebsd.org/changeset/base/272284 R> R> Log: R> Fix integer truncation in affecting systat -ifstat R> R> The "systat -ifstat" command

svn commit: r272297 - head/sys/geom

2014-09-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 30 11:51:32 2014 New Revision: 272297 URL: http://svnweb.freebsd.org/changeset/base/272297 Log: Style fixes. Modified: head/sys/geom/geom_dev.c Modified: head/sys/geom/geom_dev.c == --- head

svn commit: r272298 - head/sys/geom

2014-09-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 30 12:00:50 2014 New Revision: 272298 URL: http://svnweb.freebsd.org/changeset/base/272298 Log: Be prepared that set_dumper() might fail even when resetting it or prefix the call with (void) to document that we intentionally ignore the return value - no way to handl

svn commit: r272299 - head/sys/netinet6

2014-09-30 Thread Andrey V. Elsukov
Author: ae Date: Tue Sep 30 13:15:19 2014 New Revision: 272299 URL: http://svnweb.freebsd.org/changeset/base/272299 Log: Remove redundant call to ipsec_getpolicybyaddr(). ipsec_hdrsiz() will call it internally. Sponsored by: Yandex LLC Modified: head/sys/netinet6/ip6_forward.c Modifie

svn commit: r272300 - head/sys/arm/include

2014-09-30 Thread Andrew Turner
Author: andrew Date: Tue Sep 30 13:32:45 2014 New Revision: 272300 URL: http://svnweb.freebsd.org/changeset/base/272300 Log: Make sure __ARM_ARCH is defined in sysreg.h by including acle-compat.h Modified: head/sys/arm/include/sysreg.h Modified: head/sys/arm/include/sysreg.h

svn commit: r272301 - stable/10/sys/boot/efi/include

2014-09-30 Thread Ed Maste
Author: emaste Date: Tue Sep 30 13:56:32 2014 New Revision: 272301 URL: http://svnweb.freebsd.org/changeset/base/272301 Log: MFC r272105: Remove duplicated header content Approved by: re (gjb, kib) Modified: stable/10/sys/boot/efi/include/eficonsctl.h Directory Properties: stable/10/

Re: svn commit: r272209 - in head/sys/arm: arm include

2014-09-30 Thread Andrew Turner
On Mon, 29 Sep 2014 20:31:42 +0200 Andreas Tobler wrote: > Hi Andrew, > > On 27.09.14 11:57, Andrew Turner wrote: > > Author: andrew > > Date: Sat Sep 27 09:57:34 2014 > > New Revision: 272209 > > URL: http://svnweb.freebsd.org/changeset/base/272209 > > > > Log: > >Add machine/sysreg.h to si

svn commit: r272302 - stable/9/contrib/llvm/tools/clang/lib/CodeGen

2014-09-30 Thread Ed Maste
Author: emaste Date: Tue Sep 30 15:05:27 2014 New Revision: 272302 URL: http://svnweb.freebsd.org/changeset/base/272302 Log: MFC r271432: Merge upstream Clang rev 205331 debuginfo crash fix: Debug info: fix a crash when emitting IndirectFieldDecls, which were previously not handle

svn commit: r272303 - stable/9/contrib/llvm/patches

2014-09-30 Thread Ed Maste
Author: emaste Date: Tue Sep 30 15:07:06 2014 New Revision: 272303 URL: http://svnweb.freebsd.org/changeset/base/272303 Log: MFC r271433: Add clang patch corresponding to r271432 Added: stable/9/contrib/llvm/patches/patch-r271432-clang-r205331-debug-info-crash.diff - copied unchanged fr

svn commit: r272304 - in stable/9/contrib/llvm: patches tools/clang/lib/CodeGen

2014-09-30 Thread Ed Maste
Author: emaste Date: Tue Sep 30 15:10:40 2014 New Revision: 272304 URL: http://svnweb.freebsd.org/changeset/base/272304 Log: MFC Clang debug info crash fix 271282: Merge Clang debug info crash fix rev 200797: Debug info: fix a crasher when when emitting debug info for not-yet

svn commit: r272305 - head/bin/pkill/tests

2014-09-30 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 30 15:27:49 2014 New Revision: 272305 URL: http://svnweb.freebsd.org/changeset/base/272305 Log: Fix pkill unit tests. - use daemon(8) to write out a pid file for processes, and check for for the existence of that file after killing processes - use exp

svn commit: r272307 - in stable/10/contrib/atf: . atf-c atf-c++ atf-sh doc

2014-09-30 Thread Craig Rodrigues
Author: rodrigc Date: Tue Sep 30 16:14:02 2014 New Revision: 272307 URL: http://svnweb.freebsd.org/changeset/base/272307 Log: MFC r271875, r272046, r272049, r272056 -> Reference the test case "packs" to fix warnings -> Delete mentions to removed manpages -> Minor fixes to docs Appr

svn commit: r272308 - head/sys/dev/iscsi_initiator

2014-09-30 Thread Alexander Motin
Author: mav Date: Tue Sep 30 16:17:12 2014 New Revision: 272308 URL: http://svnweb.freebsd.org/changeset/base/272308 Log: Fix old iSCSI initiator to work with new CAM locking. This switches code to using xpt_scan() routine, irrelevant to locking. Using xpt_action() directly requires knowl

svn commit: r272309 - stable/10/release

2014-09-30 Thread Ed Maste
Author: emaste Date: Tue Sep 30 16:36:50 2014 New Revision: 272309 URL: http://svnweb.freebsd.org/changeset/base/272309 Log: MFC r271549 (nwhitehorn): Create /tmp/bsdinstall_etc even if we aren't starting the installer so that dhclient can write resolv.conf when used from the live

svn commit: r272310 - in head/sys: amd64/amd64 conf dev/acpica i386/i386 x86/include x86/x86 x86/xen xen xen/interface

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 16:46:45 2014 New Revision: 272310 URL: http://svnweb.freebsd.org/changeset/base/272310 Log: msi: add Xen MSI implementation This patch adds support for MSI interrupts when running on Xen. Apart from adding the Xen related code needed in order to register M

svn commit: r272311 - head/sys/x86/xen

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 16:49:17 2014 New Revision: 272311 URL: http://svnweb.freebsd.org/changeset/base/272311 Log: xen: add the Xen implementation of pci_child_added method Add the Xen specific implementation of pci_child_added to the Xen PCI bus. This is needed so FreeBSD can r

svn commit: r272312 - head/sys/dev/xen/balloon

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 16:53:08 2014 New Revision: 272312 URL: http://svnweb.freebsd.org/changeset/base/272312 Log: xen: make xen balloon a driver that depends on xenstore This is done so we can prevent the Xen Balloon driver from attaching before xenstore is setup. Sponsore

svn commit: r272313 - in stable/10/sys: amd64/conf conf dev/ixl

2014-09-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 30 16:55:19 2014 New Revision: 272313 URL: http://svnweb.freebsd.org/changeset/base/272313 Log: MFC 271745,271834,271899,271900,271913,272022,272023: Revert changes to shared code of the ixl and ixlv drivers to allow for easier long-term maintainability.

svn commit: r272314 - in head/sys: conf dev/xen/xenstore xen/xenstore

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:14:11 2014 New Revision: 272314 URL: http://svnweb.freebsd.org/changeset/base/272314 Log: xen: move xenstore devices Move xenstore related devices (xenstore.c and xenstore_dev.c) from xen/xenstore to dev/xen/xenstore. This is just code motion, no funct

svn commit: r272315 - head/tools/sched

2014-09-30 Thread John Baldwin
Author: jhb Date: Tue Sep 30 17:19:07 2014 New Revision: 272315 URL: http://svnweb.freebsd.org/changeset/base/272315 Log: Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the next-to-last event causing the back button to cycle back to the end of an

svn commit: r272316 - head/sys/netinet

2014-09-30 Thread John Baldwin
Author: jhb Date: Tue Sep 30 17:26:34 2014 New Revision: 272316 URL: http://svnweb.freebsd.org/changeset/base/272316 Log: Only define the full inm_print() if KTR_IGMPV3 is enabled at compile time. Modified: head/sys/netinet/in_mcast.c Modified: head/sys/netinet/in_mcast.c ===

svn commit: r272317 - head/sys/dev/xen/xenstore

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:27:56 2014 New Revision: 272317 URL: http://svnweb.freebsd.org/changeset/base/272317 Log: xen: defer xenstore initialization until xenstored is started The xenstore related devices in the kernel cannot be started until xenstored is running, which will ha

svn commit: r272318 - in head/sys: dev/xen/xenstore xen/xenstore

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:31:04 2014 New Revision: 272318 URL: http://svnweb.freebsd.org/changeset/base/272318 Log: xen: convert the xenstore user-space char device to a newbus device Convert the xenstore user-space device (/dev/xen/xenstore) to a device using the newbus interfac

svn commit: r272319 - in head/sys: conf dev/xen/xenstore

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:37:26 2014 New Revision: 272319 URL: http://svnweb.freebsd.org/changeset/base/272319 Log: xen: add xenstored user-space device This device is used by the user-space daemon that runs xenstore (xenstored). It allows xenstored to map the xenstore memory pag

svn commit: r272320 - head/sys/dev/xen/balloon

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:38:21 2014 New Revision: 272320 URL: http://svnweb.freebsd.org/changeset/base/272320 Log: xen/balloon: fix accounting of current memory pages on PVH Using realmem on PVH is not realiable, since in this case the realmem value is computed from Maxmem, whic

svn commit: r272321 - head/sys/dev/xen/blkback

2014-09-30 Thread Roger Pau Monné
Author: royger Date: Tue Sep 30 17:41:16 2014 New Revision: 272321 URL: http://svnweb.freebsd.org/changeset/base/272321 Log: xen: fix blkback pushing responses before releasing internal resources Fix a problem where the blockback driver could run out of requests, despite the fact that we

svn commit: r272322 - in stable/10: . contrib/hyperv contrib/hyperv/tools etc/devd etc/mtree libexec libexec/hyperv share/mk sys/conf sys/dev/hyperv/include sys/dev/hyperv/utilities sys/modules/hyp...

2014-09-30 Thread Xin LI
Author: delphij Date: Tue Sep 30 17:54:57 2014 New Revision: 272322 URL: http://svnweb.freebsd.org/changeset/base/272322 Log: MFC r271493,271688-271689,271696,271854,272139-272143: Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued supp

svn commit: r272323 - in head/sys: netinet netinet6

2014-09-30 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 30 18:17:28 2014 New Revision: 272323 URL: http://svnweb.freebsd.org/changeset/base/272323 Log: If the checksum coverage field in the UDPLITE header is the length of the complete UDPLITE packet, the packet has full checksum coverage. SO fix the condition. Re

svn commit: r272324 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-09-30 Thread Xin LI
Author: delphij Date: Tue Sep 30 18:50:45 2014 New Revision: 272324 URL: http://svnweb.freebsd.org/changeset/base/272324 Log: Fix a mismerge in r260183 which prevents snapshot zvol devices being removed and re-instate the fix in r242862. Reported by: Leon Dang , smh MFC after:3 day

svn commit: r272325 - in head/sys/dev/sfxge: . common

2014-09-30 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 30 20:18:10 2014 New Revision: 272325 URL: http://svnweb.freebsd.org/changeset/base/272325 Log: cleanup: code style fixes Remove trailing whitespaces and tabs. Enclose value in return statements in parentheses. Use tabs after #define. Do not skip comparison w

svn commit: r272326 - head/sys/netinet

2014-09-30 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 30 20:29:58 2014 New Revision: 272326 URL: http://svnweb.freebsd.org/changeset/base/272326 Log: UDPLite requires a checksum. Therefore, discard a received packet if the checksum is 0. MFC after: 3 days Modified: head/sys/netinet/udp_usrreq.c Modified: head

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

2014-09-30 Thread Brooks Davis
Author: brooks Date: Tue Sep 30 20:32:27 2014 New Revision: 272327 URL: http://svnweb.freebsd.org/changeset/base/272327 Log: MFC the altera_atse.4. This was intended to have been merged along with r256752. This commit contains the altera_atse.4 portions of r256752, r257656, and r270268.

svn commit: r272328 - head/sys/dev/sfxge

2014-09-30 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 30 20:36:07 2014 New Revision: 272328 URL: http://svnweb.freebsd.org/changeset/base/272328 Log: Make size of Tx and Rx rings configurable Required size of event queue is calculated now. Submitted by: Andrew Rybchenko Sponsored by: Solarflare Communicati

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

2014-09-30 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 30 20:38:36 2014 New Revision: 272329 URL: http://svnweb.freebsd.org/changeset/base/272329 Log: Update SolarFlare driver manual page with new tunables. Submitted by: Andrew Rybchenko Sponsored by: Solarflare Communications, Inc. Modified: head/share/man/m

svn commit: r272330 - head/sys/dev/sfxge

2014-09-30 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 30 20:43:21 2014 New Revision: 272330 URL: http://svnweb.freebsd.org/changeset/base/272330 Log: The patch allows to check state of the software Tx queues at run time. Submitted by: Andrew Rybchenko Sponsored by: Solarflare Communications, Inc. Modified: h

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

2014-09-30 Thread Adrian Chadd
Hi, I think you should consider adding a new set of protocol counters for UDPLITE. :) -a On 30 September 2014 13:29, Michael Tuexen wrote: > Author: tuexen > Date: Tue Sep 30 20:29:58 2014 > New Revision: 272326 > URL: http://svnweb.freebsd.org/changeset/base/272326 > > Log: > UDPLite requi

svn commit: r272331 - head/sys/dev/sfxge

2014-09-30 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 30 20:57:25 2014 New Revision: 272331 URL: http://svnweb.freebsd.org/changeset/base/272331 Log: Support tunable to control Tx deferred packet list limits Also increase default for Tx queue get-list limit. Too small limit results in TCP packets drops especiall whe

svn commit: r272332 - in stable/10/sys/cddl: boot/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2014-09-30 Thread Xin LI
Author: delphij Date: Tue Sep 30 21:03:17 2014 New Revision: 272332 URL: http://svnweb.freebsd.org/changeset/base/272332 Log: MFC r271526: MFV r271510: Enforce 4K as smallest indirect block size (previously the smallest indirect block size was 1K but that was never used). This makes

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

2014-09-30 Thread Michael Tuexen
On 30 Sep 2014, at 22:47, Adrian Chadd wrote: > Hi, > > I think you should consider adding a new set of protocol counters for > UDPLITE. :) Yepp. There is http://tools.ietf.org/html/rfc5097 which needs to be implemented. Best regards Michael > > > > -a > > On 30 September 2014 13:29, Michae

svn commit: r272333 - head/sys/arm/arm

2014-09-30 Thread Ian Lepore
Author: ian Date: Tue Sep 30 21:28:05 2014 New Revision: 272333 URL: http://svnweb.freebsd.org/changeset/base/272333 Log: When building the lists of available memory, actually honor the exclusion flags, like the comment says it does. Pointy hat: ian Submitted by: Svatopluk Kraus Mod

Re: svn commit: r272329 - head/share/man/man4

2014-09-30 Thread Bjoern A. Zeeb
On 30 Sep 2014, at 20:38 , George V. Neville-Neil wrote: > Author: gnn > Date: Tue Sep 30 20:38:36 2014 > New Revision: 272329 > URL: http://svnweb.freebsd.org/changeset/base/272329 > > Log: > Update SolarFlare driver manual page with new tunables. > > Submitted by: Andrew Rybchenko > Sp

svn commit: r272334 - head/sys/dev/uart

2014-09-30 Thread Ian Lepore
Author: ian Date: Tue Sep 30 23:01:11 2014 New Revision: 272334 URL: http://svnweb.freebsd.org/changeset/base/272334 Log: Return the actual baud rate programmed in the hardware rather than 115200. This allows the "3wire" entry in /etc/ttys (with no speed specified) to work. Modified: head/s

svn commit: r272336 - head/sys/kern

2014-09-30 Thread Navdeep Parhar
Author: np Date: Tue Sep 30 23:16:26 2014 New Revision: 272336 URL: http://svnweb.freebsd.org/changeset/base/272336 Log: Test for absence of M_NOFREE before attempting to purge the mbuf's tags. This will leave more state intact should the assertion go off. MFC after:1 month Modified:

svn commit: r272340 - head

2014-09-30 Thread Garrett Cooper
Author: ngie Date: Wed Oct 1 01:56:51 2014 New Revision: 272340 URL: http://svnweb.freebsd.org/changeset/base/272340 Log: Add ObsoleteFiles.inc OLD_FILES entries for libnv X-MFC with: r271241 Submitted by: pjd Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division Modified:

Re: svn commit: r271241 - head/lib/libnv

2014-09-30 Thread Garrett Cooper
On Sep 29, 2014, at 5:03, Pawel Jakub Dawidek wrote: > On Sun, Sep 07, 2014 at 10:56:57PM +, Garrett Cooper wrote: >> Author: ngie >> Date: Sun Sep 7 22:56:57 2014 >> New Revision: 271241 >> URL: http://svnweb.freebsd.org/changeset/base/271241 >> >> Log: >> Include src.opts.mk after SHLIBD

svn commit: r272341 - svnadmin/conf

2014-09-30 Thread Bryan Drewery
Author: bdrewery Date: Wed Oct 1 03:59:11 2014 New Revision: 272341 URL: https://svnweb.freebsd.org/changeset/base/272341 Log: Fix commit mail case to also use https:// for svnweb. Modified: svnadmin/conf/mailer.conf Modified: svnadmin/conf/mailer.conf ==

svn commit: r272342 - svnadmin/conf

2014-09-30 Thread Garrett Cooper
Author: ngie Date: Wed Oct 1 04:03:15 2014 New Revision: 272342 URL: https://svnweb.freebsd.org/changeset/base/272342 Log: Remove size limit temporarily so I can import src/tests from NetBSD into the vendor tree Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r272344 - svnadmin/conf

2014-09-30 Thread Garrett Cooper
Author: ngie Date: Wed Oct 1 04:08:29 2014 New Revision: 272344 URL: https://svnweb.freebsd.org/changeset/base/272344 Log: Remove temporary sizelimit restriction Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

svn commit: r272345 - vendor/NetBSD/tests/09.30.2014_20.45

2014-09-30 Thread Garrett Cooper
Author: ngie Date: Wed Oct 1 04:12:38 2014 New Revision: 272345 URL: https://svnweb.freebsd.org/changeset/base/272345 Log: Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist Sponsored by: EMC / Isilon Storage Division Added: vendor/NetBSD/tests/09.30.

svn commit: r272346 - head/share/mk

2014-09-30 Thread Mark Johnston
Author: markj Date: Wed Oct 1 04:28:39 2014 New Revision: 272346 URL: https://svnweb.freebsd.org/changeset/base/272346 Log: Correct the way that libelf is linked when USDT is used. Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r272347 - in head: share/man/man4 sys/netinet sys/netinet6

2014-09-30 Thread Michael Tuexen
Author: tuexen Date: Wed Oct 1 05:43:29 2014 New Revision: 272347 URL: https://svnweb.freebsd.org/changeset/base/272347 Log: The default for UDPLITE_RECV_CSCOV is zero. RFC 3828 recommend that this means full checksum coverage for received packets. If an application is willing to accept pac