svn commit: r285712 - head/sys/netpfil/ipfw

2015-07-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 20 07:26:31 2015 New Revision: 285712 URL: https://svnweb.freebsd.org/changeset/base/285712 Log: Add helper functions for IP checksum adjusting. Use these functions in dummynet code and for setdscp. This fixes wrong checksums in some cases. Obtained from:Y

svn commit: r285713 - head/sys/net

2015-07-20 Thread Marko Zec
Author: zec Date: Mon Jul 20 08:21:51 2015 New Revision: 285713 URL: https://svnweb.freebsd.org/changeset/base/285713 Log: Prevent null-pointer dereferencing. MFC after:3 days Modified: head/sys/net/if.c Modified: head/sys/net/if.c ===

svn commit: r285714 - head/sys/kern

2015-07-20 Thread Alexander Motin
Author: mav Date: Mon Jul 20 09:37:42 2015 New Revision: 285714 URL: https://svnweb.freebsd.org/changeset/base/285714 Log: Fix typo in comment. Submitted by: Masao Uebayashi Modified: head/sys/kern/kern_clocksource.c Modified: head/sys/kern/kern_clocksource.c ===

svn commit: r285715 - in head/sys: cddl/compat/opensolaris/sys kern sys

2015-07-20 Thread Ed Schouten
Author: ed Date: Mon Jul 20 10:20:04 2015 New Revision: 285715 URL: https://svnweb.freebsd.org/changeset/base/285715 Log: Add an API for easily creating userspace threads in kernelspace. This change refactors the existing create_thread() function to be more generic. It replaces almost all

Re: svn commit: r285539 - head/sys/compat/cloudabi64

2015-07-20 Thread Ed Schouten
Hi Jilles, 2015-07-17 13:41 GMT+02:00 Jilles Tjoelker : > The maximum number of iovecs is part of the ABI and should therefore > probably have a CLOUDABI_* constant. > > It turns out that both FreeBSD and Linux report 1024 for getconf > IOV_MAX, so there is little practical effect. That's a good

svn commit: r285716 - in head/sys: amd64/cloudabi64 compat/cloudabi

2015-07-20 Thread Ed Schouten
Author: ed Date: Mon Jul 20 13:46:22 2015 New Revision: 285716 URL: https://svnweb.freebsd.org/changeset/base/285716 Log: Make forking of CloudABI processes work. Just like FreeBSD+Capsicum, CloudABI uses process descriptors. Return the file descriptor number to the parent process. T

svn commit: r285719 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2015-07-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 20 16:08:01 2015 New Revision: 285719 URL: https://svnweb.freebsd.org/changeset/base/285719 Log: snmp_hostres(3): Fix buffer overflow. Actually just a typo. Detected by gcc + FORTIFY_SOURCE patches. CID: 1007594 MFC after:3 days Modified: hea

svn commit: r285720 - head/lib/libusb

2015-07-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 20 16:15:56 2015 New Revision: 285720 URL: https://svnweb.freebsd.org/changeset/base/285720 Log: libusb: Fix minor cast-qual warning. Fix a warning triggered by the gcc + FORTIFY_SOURCE patches: In function 'libusb20_parse_config_desc': lib/libusb/libusb20_des

svn commit: r285722 - in head/release: . scripts tools

2015-07-20 Thread Brad Davis
Author: brd (doc,ports committer) Date: Mon Jul 20 16:27:44 2015 New Revision: 285722 URL: https://svnweb.freebsd.org/changeset/base/285722 Log: Add support for building VirtualBox Vagrant images. Abstract the build, package and upload to handle building either type. Approved by: re (gjb

svn commit: r285723 - head/sys/dev/sound/pci/hda

2015-07-20 Thread Alexander Motin
Author: mav Date: Mon Jul 20 17:48:00 2015 New Revision: 285723 URL: https://svnweb.freebsd.org/changeset/base/285723 Log: Increase output amp on ASUS UX31A by +5dB. While there, implement couple helper functions. Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/de

svn commit: r285724 - head/sys/x86/iommu

2015-07-20 Thread Konstantin Belousov
Author: kib Date: Mon Jul 20 19:51:41 2015 New Revision: 285724 URL: https://svnweb.freebsd.org/changeset/base/285724 Log: Typo in comment. Modified: head/sys/x86/iommu/intel_idpgtbl.c Modified: head/sys/x86/iommu/intel_idpgtbl.c ==

svn commit: r285730 - head/sbin/pfctl

2015-07-20 Thread George V. Neville-Neil
Author: gnn Date: Mon Jul 20 23:24:25 2015 New Revision: 285730 URL: https://svnweb.freebsd.org/changeset/base/285730 Log: Only report the lack of ALTQ support if pfctl is using verbose (-v) mode. PR: 194935 Submitted by: Jim Thompson MFC after:2 weeks Modified: head/sb

svn commit: r285732 - head/usr.sbin/bsdinstall/scripts

2015-07-20 Thread Allan Jude
Author: allanjude (doc committer) Date: Tue Jul 21 00:33:15 2015 New Revision: 285732 URL: https://svnweb.freebsd.org/changeset/base/285732 Log: Add the Dell E7240 laptop and Intel DP965LT motherboard to the list for the GPT active workaround PR: 194359 Requested by: sbruno, hi

Re: svn commit: r285639 - head/sys/dev/e1000

2015-07-20 Thread John Baldwin
On Friday, July 17, 2015 03:45:36 AM Bruce Evans wrote: > On Thu, 16 Jul 2015, Sean Bruno wrote: > > > Log: > > Add an adapter CORE lock in the DDB hook em_dump_queue to avoid WITNESS > > panic in em_init_locked() while debugging. > > It is a bug to lock anything from within ddb. Agreed. DDB

Re: svn commit: r285387 - in head: lib/libc/sys share/man/man4 sys/conf sys/kern sys/sys sys/vm usr.bin usr.bin/numactl

2015-07-20 Thread John Baldwin
On Saturday, July 11, 2015 11:29:19 AM Alan Cox wrote: > On 07/11/2015 10:21, Adrian Chadd wrote: > > * The VM doesn't handle unbalanced domains very well, and if you have an > > overly > > unbalanced memory setup whilst under high memory pressure, VM page > > allocation > > may fail le

svn commit: r285733 - head/release/tools

2015-07-20 Thread Glen Barber
Author: gjb Date: Tue Jul 21 03:18:53 2015 New Revision: 285733 URL: https://svnweb.freebsd.org/changeset/base/285733 Log: Fix an out-of-order execution issue regarding pkg(8): - pkg(8) cannot be removed before subsequent reinvocations - The PKG_CACHEDIR cannot be cleaned after the repo*.sql

svn commit: r285734 - head/bin/ls

2015-07-20 Thread Allan Jude
Author: allanjude (doc committer) Date: Tue Jul 21 05:03:59 2015 New Revision: 285734 URL: https://svnweb.freebsd.org/changeset/base/285734 Log: Fix some issues with the application of libxo to ls(1) * Add whitespace trimming to some fields (username, group, size, inode, blocks) to avoid w

svn commit: r285735 - head/sbin/geom/class/part

2015-07-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 21 06:18:42 2015 New Revision: 285735 URL: https://svnweb.freebsd.org/changeset/base/285735 Log: lseek() allows an offset to be set beyond the end of file. Using it to check that partition has enough space to write bootcode doesn't work. Use the known size of provide

Re: svn commit: r285125 - in head/sys: kern sys

2015-07-20 Thread Adrian Chadd
Bad mjg! this happend whilst doing 'sysctl -vmstat 1' in one window, 'top' in another window, and 'kldunload uhci' as root: Unread portion of the kernel message buffer: uhci5: detached panic: sleepq_add: td 0xc75d06a0 to sleep on wchan 0xc0b3e8e4 with sleeping prohibited cpuid = 1 KDB: stack back

svn commit: r285736 - head/sys/dev/ixgbe

2015-07-20 Thread Hiren Panchasara
Author: hiren Date: Tue Jul 21 06:48:36 2015 New Revision: 285736 URL: https://svnweb.freebsd.org/changeset/base/285736 Log: Remove a couple of TUNABLE_INT() calls which are unnecessary after r267961. r267961 did remove them but they "reappeared" when ixgbe(4) rewrite happened in r280182.