svn commit: r324545 - stable/10/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:42:29 2017 New Revision: 324545 URL: https://svnweb.freebsd.org/changeset/base/324545 Log: MFC: r324074 Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo

svn commit: r324544 - stable/10/sys/fs/nfsserver

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:33:50 2017 New Revision: 324544 URL: https://svnweb.freebsd.org/changeset/base/324544 Log: MFC: r323978 Change a panic to an error return. There was a panic() in the NFS server's write operation that didn't need to be a panic() and could just be an

svn commit: r324543 - stable/10/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 23:21:24 2017 New Revision: 324543 URL: https://svnweb.freebsd.org/changeset/base/324543 Log: MFC: r323689 Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change. The code in nfscl_doflayoutio() bogusly used FREAD instead of

svn commit: r324542 - head/sys/fs/tmpfs

2017-10-11 Thread Matt Joras
Author: mjoras Date: Wed Oct 11 21:53:53 2017 New Revision: 324542 URL: https://svnweb.freebsd.org/changeset/base/324542 Log: When unmounting a tmpfs, do not call free_unr. tmpfs uses unr(9) to allocate inodes. Previously when unmounting it would individually free the units when it freed

svn commit: r324541 - in head: share/man/man9 sys/kern sys/sys

2017-10-11 Thread Matt Joras
Author: mjoras Date: Wed Oct 11 21:53:50 2017 New Revision: 324541 URL: https://svnweb.freebsd.org/changeset/base/324541 Log: Add clearing function for unr(9). Previously before you could call unrhdr_delete you needed to individually free every allocated unit. It is useful to be able to

svn commit: r324540 - svnadmin/conf

2017-10-11 Thread Marius Strobl
Author: marius Date: Wed Oct 11 20:36:22 2017 New Revision: 324540 URL: https://svnweb.freebsd.org/changeset/base/324540 Log: Hand releng/10.4 over to so@. Approved by: re (implicit) Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers

svn commit: r324539 - in head/sys/netinet: . tcp_stacks

2017-10-11 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 11 20:36:09 2017 New Revision: 324539 URL: https://svnweb.freebsd.org/changeset/base/324539 Log: Declare more TCP globals in tcp_var.h, so that alternative TCP stacks can use them. Gather all TCP tunables in tcp_var.h in one place and alphabetically sort them,

svn commit: r324538 - head/sys/dev/qlxgbe

2017-10-11 Thread David C Somayajulu
Author: davidcs Date: Wed Oct 11 20:22:01 2017 New Revision: 324538 URL: https://svnweb.freebsd.org/changeset/base/324538 Log: Added support driver state capture/retrieval MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_def.h head/sys/dev/qlxgbe/ql_glbl.h

svn commit: r324537 - head/sys/opencrypto

2017-10-11 Thread Conrad Meyer
Author: cem Date: Wed Oct 11 20:04:30 2017 New Revision: 324537 URL: https://svnweb.freebsd.org/changeset/base/324537 Log: crypto(9): Print flags in more useful hex Sponsored by: Dell EMC Isilon Modified: head/sys/opencrypto/crypto.c Modified: head/sys/opencrypto/crypto.c

svn commit: r324536 - head/contrib/llvm/projects/libunwind/src

2017-10-11 Thread Ed Maste
Author: emaste Date: Wed Oct 11 19:26:39 2017 New Revision: 324536 URL: https://svnweb.freebsd.org/changeset/base/324536 Log: libunwind: use upstream patch to disable executable stacks arm uses '@' as a comment character, and cannot use @progbits in the .section directive. Apply the

Re: svn commit: r324471 - head/sys/boot

2017-10-11 Thread Warner Losh
On Wed, Oct 11, 2017 at 11:47 AM, John Baldwin wrote: > On Monday, October 09, 2017 10:56:45 PM Warner Losh wrote: > > DO NOT MAKE EDITS TO sys/boot. YOU ARE CREATING CONFLICTS FOR ME. > > > > DO NOT MAKE ANY COMMITS TO sys/boot. > > > > BACK OFF. > > > > Seriously, though,

Re: svn commit: r324471 - head/sys/boot

2017-10-11 Thread John Baldwin
On Monday, October 09, 2017 10:56:45 PM Warner Losh wrote: > DO NOT MAKE EDITS TO sys/boot. YOU ARE CREATING CONFLICTS FOR ME. > > DO NOT MAKE ANY COMMITS TO sys/boot. > > BACK OFF. > > Seriously, though, extra changes create extra friction, and these changes > aren't worth any friction at all.

svn commit: r324535 - head/sys/dev/qlxgbe

2017-10-11 Thread David C Somayajulu
Author: davidcs Date: Wed Oct 11 18:25:05 2017 New Revision: 324535 URL: https://svnweb.freebsd.org/changeset/base/324535 Log: Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots in Tx Ring map to empty slot in Tx_buf array before Transmits. If the checks fail further

svn commit: r324534 - head/sys/dev/hwpmc

2017-10-11 Thread Conrad Meyer
Author: cem Date: Wed Oct 11 15:13:40 2017 New Revision: 324534 URL: https://svnweb.freebsd.org/changeset/base/324534 Log: hwpmc(4): Actually use a sufficiently wide type jhibbits@ points out that left shifting bits 8-11 24 bits won't fit in a 32-bit integer either. Corrects

svn commit: r324533 - head/sys/dev/hwpmc

2017-10-11 Thread Conrad Meyer
Author: cem Date: Wed Oct 11 14:59:04 2017 New Revision: 324533 URL: https://svnweb.freebsd.org/changeset/base/324533 Log: hwpmc(4): Force sufficiently wide type for left shift Ordinary input to this macro comes from pe_code, which is uint16_t. Coverity points out that shifting such a

svn commit: r324532 - head/tools/build/mk

2017-10-11 Thread Baptiste Daroussin
Author: bapt Date: Wed Oct 11 14:41:11 2017 New Revision: 324532 URL: https://svnweb.freebsd.org/changeset/base/324532 Log: Do not try to remove diff.7 optionaly has it is always removed since GNU diff(1) has been replaced with BSD diff(1) Modified:

svn commit: r324531 - head/tools/build/mk

2017-10-11 Thread Ed Maste
Author: emaste Date: Wed Oct 11 14:34:06 2017 New Revision: 324531 URL: https://svnweb.freebsd.org/changeset/base/324531 Log: OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block diff (and man page) are not from GNU, as of r317209, and should not be deleted if WITHOUT_GNU_DIFF is

svn commit: r324529 - stable/11/sys/fs/nfsclient

2017-10-11 Thread Rick Macklem
Author: rmacklem Date: Wed Oct 11 13:20:24 2017 New Revision: 324529 URL: https://svnweb.freebsd.org/changeset/base/324529 Log: MFC: r324074 Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo

svn commit: r324528 - head/sys/kern

2017-10-11 Thread Konstantin Belousov
Author: kib Date: Wed Oct 11 11:03:11 2017 New Revision: 324528 URL: https://svnweb.freebsd.org/changeset/base/324528 Log: The th_bintime, th_microtime and th_nanotime members of the timehand all cache the last system time (uptime + boottime). Only the format differs. Do not re-calculate

svn commit: r324527 - in stable/10/sys/ofed: drivers/infiniband/core include/linux

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:56:59 2017 New Revision: 324527 URL: https://svnweb.freebsd.org/changeset/base/324527 Log: MFC r315404: Add basic support for VIMAGE to the LinuxKPI and ibcore. Support is implemented by mapping Linux's "struct net" into FreeBSD's "struct vnet".

svn commit: r324526 - in stable/11/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src ofed/drivers/infiniband/core

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:36:40 2017 New Revision: 324526 URL: https://svnweb.freebsd.org/changeset/base/324526 Log: MFC r315404: Add basic support for VIMAGE to the LinuxKPI and ibcore. Support is implemented by mapping Linux's "struct net" into FreeBSD's "struct vnet".

svn commit: r324525 - stable/10/sys/ofed/include/linux

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:20:53 2017 New Revision: 324525 URL: https://svnweb.freebsd.org/changeset/base/324525 Log: MFC r315405, r323351 and r323364: Add helper function similar to ip_dev_find() to the LinuxKPI to lookup a network device by its IPv6 address in the given VNET.

svn commit: r324524 - stable/11/sys/compat/linuxkpi/common/include/linux

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:12:22 2017 New Revision: 324524 URL: https://svnweb.freebsd.org/changeset/base/324524 Log: MFC r315405, r323351 and r323364: Add helper function similar to ip_dev_find() to the LinuxKPI to lookup a network device by its IPv6 address in the given VNET.

svn commit: r324523 - stable/10/sys/dev/mlx5/mlx5_en

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:04:17 2017 New Revision: 324523 URL: https://svnweb.freebsd.org/changeset/base/324523 Log: MFC r324202: Make sure the doorbell lock is valid for the i386 version of the mlx5en(4) driver. Tested by:gallatin @ Sponsored by:

svn commit: r324522 - stable/11/sys/dev/mlx5/mlx5_en

2017-10-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 11 10:00:58 2017 New Revision: 324522 URL: https://svnweb.freebsd.org/changeset/base/324522 Log: MFC r324202: Make sure the doorbell lock is valid for the i386 version of the mlx5en(4) driver. Tested by:gallatin @ Sponsored by:

svn commit: r324521 - stable/11/sys/netinet

2017-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 06:46:39 2017 New Revision: 324521 URL: https://svnweb.freebsd.org/changeset/base/324521 Log: MFC 324050 tcp: Don't "negotiate" MSS. _NO_ OSes actually "negotiate" MSS. RFC 879: "... This Maximum Segment Size (MSS) announcement

svn commit: r324520 - stable/10/sys/netinet

2017-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 06:28:46 2017 New Revision: 324520 URL: https://svnweb.freebsd.org/changeset/base/324520 Log: MFC 324050 tcp: Don't "negotiate" MSS. _NO_ OSes actually "negotiate" MSS. RFC 879: "... This Maximum Segment Size (MSS) announcement

svn commit: r324519 - head/sys/net

2017-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 06:08:01 2017 New Revision: 324519 URL: https://svnweb.freebsd.org/changeset/base/324519 Log: rss: Remove never defined UDP_IPV4_EX Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D12455 Modified: