svn commit: r287279 - head

2015-08-29 Thread Gleb Smirnoff
Author: glebius Date: Sat Aug 29 07:59:31 2015 New Revision: 287279 URL: https://svnweb.freebsd.org/changeset/base/287279 Log: Add reminder to run etcupdate or mergemaster to get updated rc.d scripts for wireless. Poked by: adrian Modified: head/UPDATING Modified: head/UPDATING

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

2015-08-29 Thread Xin LI
Author: delphij Date: Sat Aug 29 08:16:57 2015 New Revision: 287280 URL: https://svnweb.freebsd.org/changeset/base/287280 Log: In r286705 (Illumos 5960/a2cdcdd), a separate thread is created with curproc as parent. In the case of a send or receive, the curproc would be the userland

svn commit: r287273 - stable/9/sys/dev/usb

2015-08-29 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 29 06:17:39 2015 New Revision: 287273 URL: https://svnweb.freebsd.org/changeset/base/287273 Log: MFC r286799: Fix race in USB PF which can happen if we stop tracing exactly when the kernel is tapping an USB transfer. This leads to a NULL pointer access. The

Re: svn commit: r287236 - head/bin/df

2015-08-29 Thread Garrett Cooper
On Aug 28, 2015, at 09:00, Allan Jude allanj...@freebsd.org wrote: … Libxo (iirc) doesn't install atexit handlers, which means that you need to use exit (or a reason facsimile) in order for it to flush its file streams. This is unintuitive though. I wish it did the right thing as part of

svn commit: r287272 - stable/10/sys/dev/usb

2015-08-29 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 29 06:11:50 2015 New Revision: 287272 URL: https://svnweb.freebsd.org/changeset/base/287272 Log: MFC r286799: Fix race in USB PF which can happen if we stop tracing exactly when the kernel is tapping an USB transfer. This leads to a NULL pointer access. The

svn commit: r287274 - in stable/10/sys: boot/usb dev/usb dev/usb/controller

2015-08-29 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 29 06:23:40 2015 New Revision: 287274 URL: https://svnweb.freebsd.org/changeset/base/287274 Log: MFC r286773: Improve the realtime properties of USB transfers for embedded systems like RPI-B and RPI-2. Modified: stable/10/sys/boot/usb/bsd_kernel.h

svn commit: r287276 - head/sys/powerpc/booke

2015-08-29 Thread Justin Hibbits
Author: jhibbits Date: Sat Aug 29 06:52:14 2015 New Revision: 287276 URL: https://svnweb.freebsd.org/changeset/base/287276 Log: The TLB1 TSIZE is a multiple of 4, not 2, so shift 2 bits, not 1. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c

svn commit: r287278 - head/sys/netinet6

2015-08-29 Thread Adrian Chadd
Author: adrian Date: Sat Aug 29 07:14:29 2015 New Revision: 287278 URL: https://svnweb.freebsd.org/changeset/base/287278 Log: Implement RSS hashing/re-hashing for IPv6 ingress packets. This mirrors the basic IPv4 implementation - IPv6 packets under RSS now are checked for a correct RSS

svn commit: r287281 - head/usr.bin/sockstat

2015-08-29 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 29 09:10:52 2015 New Revision: 287281 URL: https://svnweb.freebsd.org/changeset/base/287281 Log: Report CLOSED as state for bound sockets for consistency with netstat and the way TCP is handled. PR: 201585 MFC after:3 weeks Modified:

svn commit: r287284 - head/usr.bin/netstat

2015-08-29 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 29 09:27:29 2015 New Revision: 287284 URL: https://svnweb.freebsd.org/changeset/base/287284 Log: Use the userland exported states and handle them completely. Modified: head/usr.bin/netstat/sctp.c Modified: head/usr.bin/netstat/sctp.c

svn commit: r287275 - stable/8/sys/dev/usb

2015-08-29 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 29 06:28:48 2015 New Revision: 287275 URL: https://svnweb.freebsd.org/changeset/base/287275 Log: MFC r286799: Fix race in USB PF which can happen if we stop tracing exactly when the kernel is tapping an USB transfer. This leads to a NULL pointer access. The

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

2015-08-29 Thread Xin LI
Author: delphij Date: Sat Aug 29 09:22:32 2015 New Revision: 287283 URL: https://svnweb.freebsd.org/changeset/base/287283 Log: Fix a buffer overrun which may lead to data corruption, introduced in r286951 by reinstating changes in r274628. In l2arc_compress_buf(), we allocate a buffer to

svn commit: r287271 - stable/10/sys/dev/usb/controller

2015-08-29 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 29 06:07:55 2015 New Revision: 287271 URL: https://svnweb.freebsd.org/changeset/base/287271 Log: MFC r283067, r286118, r285638, r285935, r286778, r286780 and r286802: - Make the FIFO configuration a bit more flexible for the DWC OTG in device side mode. -

svn commit: r287277 - head/sys/netinet

2015-08-29 Thread Adrian Chadd
Author: adrian Date: Sat Aug 29 06:58:30 2015 New Revision: 287277 URL: https://svnweb.freebsd.org/changeset/base/287277 Log: Rename rss_soft_m2cpuid() - rss_soft_m2cpuid_v4() in preparation for an IPv6 version to show up. Submitted by: Tiwei Bie b...@mail.ustc.edu.cn Differential

svn commit: r287282 - head/sys/netinet

2015-08-29 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 29 09:14:32 2015 New Revision: 287282 URL: https://svnweb.freebsd.org/changeset/base/287282 Log: Fix the exporting of SCTP association states to userland. Without this, associations in SHUTDOWN-PENDING were never reported correctly. MFC after:3 weeks

svn commit: r287287 - stable/10/sys/gnu/fs/reiserfs

2015-08-29 Thread Tai-hwa Liang
Author: avatar Date: Sat Aug 29 11:15:54 2015 New Revision: 287287 URL: https://svnweb.freebsd.org/changeset/base/287287 Log: MFC r286888: Using consistent coding style to deal with error inside the loop. Modified: stable/10/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Directory Properties:

svn commit: r287288 - stable/9/sys/dev/sound/midi

2015-08-29 Thread Tai-hwa Liang
Author: avatar Date: Sat Aug 29 11:15:58 2015 New Revision: 287288 URL: https://svnweb.freebsd.org/changeset/base/287288 Log: MFC r286886: Fixing typo as well as improving readability of a few comments. Modified: stable/9/sys/dev/sound/midi/midi.c Directory Properties: stable/9/sys/

svn commit: r287285 - stable/10/sys/dev/ata

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 10:52:16 2015 New Revision: 287285 URL: https://svnweb.freebsd.org/changeset/base/287285 Log: MFC r286814, r286816: Remove UMA allocation of ATA requests. After CAM replaced old ATA stack, this driver processes no more then one request at a time per channel.

svn commit: r287286 - stable/10/sys/cam/ata

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 10:53:53 2015 New Revision: 287286 URL: https://svnweb.freebsd.org/changeset/base/287286 Log: MFC r287025: Remove some code duplication by using biofinish(). Modified: stable/10/sys/cam/ata/ata_da.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r287289 - in head/sys/cam: ata scsi

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 11:21:20 2015 New Revision: 287289 URL: https://svnweb.freebsd.org/changeset/base/287289 Log: Attach pass driver to LUNs is OFFLINE state. Previously such LUNs were silently ignored. But while they indeed unable to process most of SCSI commands, some, like

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

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 15:33:31 2015 New Revision: 287293 URL: https://svnweb.freebsd.org/changeset/base/287293 Log: Remove 600 bytes of port_priv from struct ctl_io_hdr. This field used only for camtgt frontend, and once it any way preallocates all requests, let it preallocate

svn commit: r287294 - head/sys/netinet

2015-08-29 Thread Michael Tuexen
Author: tuexen Date: Sat Aug 29 17:26:29 2015 New Revision: 287294 URL: https://svnweb.freebsd.org/changeset/base/287294 Log: Use 5 times RTO.Max as the default for the shutdown guard timer as required by RFC 4960. The sysctl variable can be used to overwrite this. Discussed with:

svn commit: r287292 - in head/lib/libc: amd64/gen compat-43 db/btree db/hash gen i386/gen include net stdio stdlib sys

2015-08-29 Thread Konstantin Belousov
Author: kib Date: Sat Aug 29 14:25:01 2015 New Revision: 287292 URL: https://svnweb.freebsd.org/changeset/base/287292 Log: Switch libc from using _sig{procmask,action,suspend} symbols, which are aliases for the syscall stubs and are plt-interposed, to the libc-private aliases of internally

svn commit: r287295 - in head/sys/dev/usb: . serial

2015-08-29 Thread Gavin Atkinson
Author: gavin Date: Sat Aug 29 18:37:09 2015 New Revision: 287295 URL: https://svnweb.freebsd.org/changeset/base/287295 Log: Support the ZTE MF112 HSUPA 3G USB stick. MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified:

svn commit: r287297 - in head/tools: regression/lib/msun regression/p1003_1b tools/ath/athaggrstats tools/ath/athdebug tools/ath/athrd tools/ath/athstats tools/ath/common tools/crypto tools/cxgbeto...

2015-08-29 Thread Craig Rodrigues
Author: rodrigc Date: Sat Aug 29 19:47:20 2015 New Revision: 287297 URL: https://svnweb.freebsd.org/changeset/base/287297 Log: - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() - Add missing err.h for err() and sys/sysctl.h for sysctlbyname() - NULL - 0 for 5th parameter of

svn commit: r287296 - head/bin/sh

2015-08-29 Thread Jilles Tjoelker
Author: jilles Date: Sat Aug 29 19:41:47 2015 New Revision: 287296 URL: https://svnweb.freebsd.org/changeset/base/287296 Log: sh: Add set -o nolog. POSIX requires this to prevent entering function definitions in history but this implementation does nothing except retain the option's

svn commit: r287298 - stable/10/lib/libc/gen

2015-08-29 Thread Jilles Tjoelker
Author: jilles Date: Sat Aug 29 20:41:09 2015 New Revision: 287298 URL: https://svnweb.freebsd.org/changeset/base/287298 Log: MFC r279084,280713: setmode(): Use sysctl kern.proc.umask instead of umask() if possible. The kern.proc.umask.pid sysctl allows querying the umask without

Re: svn commit: r287217 - head/usr.sbin/syslogd

2015-08-29 Thread Bruce Evans
On Fri, 28 Aug 2015, Joerg Sonnenberger wrote: On Fri, Aug 28, 2015 at 10:17:56PM +1000, Bruce Evans wrote: -static voiddie(int); +static voiddie(int) __dead2; Since the function is static, it is very easy for the compiler to see that it doesn't return. But the compiler can't tell

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

2015-08-29 Thread Konstantin Belousov
Author: kib Date: Sun Aug 30 04:46:44 2015 New Revision: 287300 URL: https://svnweb.freebsd.org/changeset/base/287300 Log: Fix a mistake in r287292. Despite correctly stating intent in the comment above, POSIX_SPAWN_SETSIGMASK and POSIX_SPAWN_SETSIGDEF handlers used libthr interposed

svn commit: r287299 - head/sys/boot/efi/loader/arch/amd64

2015-08-29 Thread Marcel Moolenaar
Author: marcel Date: Sun Aug 30 01:39:59 2015 New Revision: 287299 URL: https://svnweb.freebsd.org/changeset/base/287299 Log: Add a gop command to help diagnose VT efifb problems. The gop command has the following sub-commands: list- list all possible modes (paged) get