svn commit: r314194 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs cddl/contrib/opensolaris/uts/common/sys conf modules/zfs

2017-02-23 Thread Andriy Gapon
Author: avg Date: Fri Feb 24 07:53:56 2017 New Revision: 314194 URL: https://svnweb.freebsd.org/changeset/base/314194 Log: zfs: clean up unused files and definitions MFC after:1 month X-MFC after: r314048 Deleted: head/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c

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

2017-02-23 Thread Alexander Motin
Author: mav Date: Fri Feb 24 07:47:50 2017 New Revision: 314193 URL: https://svnweb.freebsd.org/changeset/base/314193 Log: Some code cleanup. MFC after:2 weeks Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r314192 - in head/sys: conf dev/iwm modules/iwm

2017-02-23 Thread Adrian Chadd
Author: adrian Date: Fri Feb 24 07:07:58 2017 New Revision: 314192 URL: https://svnweb.freebsd.org/changeset/base/314192 Log: [iwm] Add support for Firmware paging, needed for newer 8000C firmware. * Uses the IWM_FW_PAGING_BLOCK_CMD firmware command to tell the firmware what memory

svn commit: r314191 - head/lib/libcam

2017-02-23 Thread Ngie Cooper
Author: ngie Date: Fri Feb 24 06:49:31 2017 New Revision: 314191 URL: https://svnweb.freebsd.org/changeset/base/314191 Log: Fix up r314189 The conditional in do_buff_decode(..) after the while loop was accidentally inverted. Only increment the pointer for fmt if it's not NUL. MFC

svn commit: r314190 - head/lib/libcam

2017-02-23 Thread Ngie Cooper
Author: ngie Date: Fri Feb 24 06:28:58 2017 New Revision: 314190 URL: https://svnweb.freebsd.org/changeset/base/314190 Log: Fix some minor style nits: put parentheses around return values MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libcam/scsi_cmdparse.c

svn commit: r314189 - head/lib/libcam

2017-02-23 Thread Ngie Cooper
Author: ngie Date: Fri Feb 24 06:24:39 2017 New Revision: 314189 URL: https://svnweb.freebsd.org/changeset/base/314189 Log: Fix up NULL/'\0' uses and fix 2 derefs after NULL MFC after:2 weeks Reported by: Coverity CID: 1018898, 1018899 Differential Revision:

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Pedro Giffuni
Hello, On 2/23/2017 10:05 PM, Alexey Dokuchaev wrote: On Thu, Feb 23, 2017 at 12:49:01PM -0500, Pedro Giffuni wrote: On 2/23/2017 12:13 PM, Benjamin Kaduk wrote: On Thu, Feb 23, 2017 at 9:30 AM, Pedro F. Giffuni > wrote: @@ -632,8 +632,8 @@ void

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Alexey Dokuchaev
On Thu, Feb 23, 2017 at 12:49:01PM -0500, Pedro Giffuni wrote: > On 2/23/2017 12:13 PM, Benjamin Kaduk wrote: > > On Thu, Feb 23, 2017 at 9:30 AM, Pedro F. Giffuni > > wrote: > > @@ -632,8 +632,8 @@ void ce_stop_chan (ce_chan_t *c) > >

svn commit: r314188 - head/sys/kern

2017-02-23 Thread Warner Losh
Author: imp Date: Fri Feb 24 01:39:12 2017 New Revision: 314188 URL: https://svnweb.freebsd.org/changeset/base/314188 Log: Cast values to (int) before comparing them to the range of the enum. This ensures they are in range w/o the warnings. Modified: head/sys/kern/kern_pmc.c Modified:

svn commit: r314187 - head/sys/kern

2017-02-23 Thread Warner Losh
Author: imp Date: Fri Feb 24 01:39:08 2017 New Revision: 314187 URL: https://svnweb.freebsd.org/changeset/base/314187 Log: KDTRACE_HOOKS isn't guaranteed to be defined. Change to check to see if it is defined or not rather than if it is non-zero. Sponsored by: Netflix, Inc Modified:

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Warner Losh
On Thu, Feb 23, 2017 at 5:28 PM, Gleb Smirnoff wrote: > On Thu, Feb 23, 2017 at 03:30:21PM +, Pedro F. Giffuni wrote: > P> Author: pfg > P> Date: Thu Feb 23 15:30:21 2017 > P> New Revision: 314142 > P> URL: https://svnweb.freebsd.org/changeset/base/314142 > P> > P> Log: >

Re: svn commit: r314186 - head/sys/arm/at91

2017-02-23 Thread Olivier Houchard
On Thu, Feb 23, 2017 at 07:23:36PM -0500, Pedro Giffuni wrote: > Hi; > > > Il giorno 23 feb 2017, alle ore 19:05, Ian Lepore ha > > scritto: > > > > On Thu, 2017-02-23 at 23:48 +, Pedro F. Giffuni wrote: > >> Author: pfg > >> Date: Thu Feb 23 23:48:44 2017 > >> New

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Gleb Smirnoff
On Thu, Feb 23, 2017 at 03:30:21PM +, Pedro F. Giffuni wrote: P> Author: pfg P> Date: Thu Feb 23 15:30:21 2017 P> New Revision: 314142 P> URL: https://svnweb.freebsd.org/changeset/base/314142 P> P> Log: P> dev/ce: double assignment. P> P> The code is not operational right now so just

Re: svn commit: r314186 - head/sys/arm/at91

2017-02-23 Thread Pedro Giffuni
Hi; > Il giorno 23 feb 2017, alle ore 19:05, Ian Lepore ha > scritto: > > On Thu, 2017-02-23 at 23:48 +, Pedro F. Giffuni wrote: >> Author: pfg >> Date: Thu Feb 23 23:48:44 2017 >> New Revision: 314186 >> URL: https://svnweb.freebsd.org/changeset/base/314186 >> >> Log:

Re: svn commit: r314186 - head/sys/arm/at91

2017-02-23 Thread Warner Losh
On Thu, Feb 23, 2017 at 5:05 PM, Ian Lepore wrote: > On Thu, 2017-02-23 at 23:48 +, Pedro F. Giffuni wrote: >> Author: pfg >> Date: Thu Feb 23 23:48:44 2017 >> New Revision: 314186 >> URL: https://svnweb.freebsd.org/changeset/base/314186 >> >> Log: >> at91: double

Re: svn commit: r314186 - head/sys/arm/at91

2017-02-23 Thread Ian Lepore
On Thu, 2017-02-23 at 23:48 +, Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Feb 23 23:48:44 2017 > New Revision: 314186 > URL: https://svnweb.freebsd.org/changeset/base/314186 > > Log: >   at91: double assignment. >    >   Found with: coccinelle (da.cocci) >   Suggested by: cognet

svn commit: r314186 - head/sys/arm/at91

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 23:48:44 2017 New Revision: 314186 URL: https://svnweb.freebsd.org/changeset/base/314186 Log: at91: double assignment. Found with: coccinelle (da.cocci) Suggested by: cognet Modified: head/sys/arm/at91/at91sam9260.c Modified:

Re: svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-23 Thread Ngie Cooper
On Thu, Feb 23, 2017 at 11:36 AM, Eric van Gyzen wrote: > Author: vangyzen > Date: Thu Feb 23 19:36:38 2017 > New Revision: 314179 > URL: https://svnweb.freebsd.org/changeset/base/314179 > > Log: > Add sem_clockwait_np() > > This function allows the caller to specify the

svn commit: r314185 - head/sys/kern

2017-02-23 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 23 22:46:01 2017 New Revision: 314185 URL: https://svnweb.freebsd.org/changeset/base/314185 Log: mtx: microoptimize lockstat handling in spin mutexes and thread lock While here make the code compilablle on kernels with LOCK_PROFILING but without KDTRACE_HOOKS.

svn commit: r314184 - stable/10/lib/libmd

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 22:10:37 2017 New Revision: 314184 URL: https://svnweb.freebsd.org/changeset/base/314184 Log: MFC r282774: Unbreak MIPS build following r282726 (MFCed in r314144) Modified: stable/10/lib/libmd/Makefile stable/10/lib/libmd/md4c.c stable/10/lib/libmd/md5c.c

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

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 22:08:35 2017 New Revision: 314183 URL: https://svnweb.freebsd.org/changeset/base/314183 Log: add jedec_ts.4 to the list of manual pages Reported by: rpokala MFC after:3 days Modified: head/share/man/man4/Makefile Modified:

svn commit: r314182 - stable/10/lib/libmd

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 21:54:16 2017 New Revision: 314182 URL: https://svnweb.freebsd.org/changeset/base/314182 Log: fixup r314143, MFC of r285366 didn't remove files that it should have Deleted: stable/10/lib/libmd/sha256.h stable/10/lib/libmd/sha256c.c

Re: svn commit: r314151 - head/sys/modules/iwm

2017-02-23 Thread Adrian Chadd
thanks! was busy in meetings this morning :( -a On 23 February 2017 at 09:47, Ngie Cooper (yaneurabeya) wrote: > >> On Feb 23, 2017, at 09:44, Ngie Cooper wrote: >> >> Author: ngie >> Date: Thu Feb 23 17:44:06 2017 >> New Revision: 314151 >> URL:

svn commit: r314181 - head/sbin/ifconfig

2017-02-23 Thread Adrian Chadd
Author: adrian Date: Thu Feb 23 20:49:17 2017 New Revision: 314181 URL: https://svnweb.freebsd.org/changeset/base/314181 Log: [ifconfig] handle illegal WPS frames Some APs broadcast WPS IE frames with totally broken data. Ifconfig's printwpsie() loops through WPS frames printing the

svn commit: r314180 - head/sys/mips/conf

2017-02-23 Thread Brooks Davis
Author: brooks Date: Thu Feb 23 20:41:55 2017 New Revision: 314180 URL: https://svnweb.freebsd.org/changeset/base/314180 Log: Fix and shorten BERI kernel builds during universe. Stop building BERI_DE4_BASE and BERI_SIM_BASE, they aren't particularly valid as they don't have a root dev.

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

2017-02-23 Thread Steven Hartland
You might also be interested in reviewing my fix for TCP buffer scaling too Michael. https://reviews.freebsd.org/D9668 This fixes slow transfers due to no receive buffer scaling if TCP timestamps aren't negotiated. Its still got debug stuff in it ATM and I'm toying with removing the

Re: svn commit: r314159 - in vendor/llvm/dist: docs lib/CodeGen/AsmPrinter lib/Target/AArch64 lib/Target/ARM lib/Transforms/Scalar test/CodeGen/AArch64 test/CodeGen/ARM test/DebugInfo/X86

2017-02-23 Thread Mateusz Guzik
On Thu, Feb 23, 2017 at 07:02:03PM +, Dimitry Andric wrote: > New Revision: 314159 Congratulations on committing the 314519th revision! On lack of behalf of the core I'm happy to say you win a prize of your chosing: 1. one time you get to commit a variable of type 'long long' without it

svn commit: r314179 - in head: contrib/netbsd-tests/lib/librt include lib/libc/gen lib/libc/include share/man/man3 sys/kern

2017-02-23 Thread Eric van Gyzen
Author: vangyzen Date: Thu Feb 23 19:36:38 2017 New Revision: 314179 URL: https://svnweb.freebsd.org/changeset/base/314179 Log: Add sem_clockwait_np() This function allows the caller to specify the reference clock and choose between absolute and relative mode. In relative mode, the

svn commit: r314176 - head/contrib/ofed/libcxgb4/src

2017-02-23 Thread Navdeep Parhar
Author: np Date: Thu Feb 23 19:21:47 2017 New Revision: 314176 URL: https://svnweb.freebsd.org/changeset/base/314176 Log: Add support for RDMA from userspace with T6 cards. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Modified:

Re: svn commit: r314159 - in vendor/llvm/dist: docs lib/CodeGen/AsmPrinter lib/Target/AArch64 lib/Target/ARM lib/Transforms/Scalar test/CodeGen/AArch64 test/CodeGen/ARM test/DebugInfo/X86

2017-02-23 Thread John Baldwin
On Thursday, February 23, 2017 07:02:03 PM Dimitry Andric wrote: > Author: dim > Date: Thu Feb 23 19:02:03 2017 > New Revision: 314159 > URL: https://svnweb.freebsd.org/changeset/base/314159 > > Log: > Vendor import of llvm release_40 branch r295910: >

svn commit: r314171 - vendor/clang/clang-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:14:00 2017 New Revision: 314171 URL: https://svnweb.freebsd.org/changeset/base/314171 Log: Tag clang release_40 branch r296002. Added: vendor/clang/clang-release_40-r296002/ - copied from r314170, vendor/clang/dist/

svn commit: r314169 - vendor/llvm/llvm-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:13:51 2017 New Revision: 314169 URL: https://svnweb.freebsd.org/changeset/base/314169 Log: Tag llvm release_40 branch r296002. Added: vendor/llvm/llvm-release_40-r296002/ - copied from r314168, vendor/llvm/dist/

svn commit: r314174 - vendor/lld/lld-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:14:12 2017 New Revision: 314174 URL: https://svnweb.freebsd.org/changeset/base/314174 Log: Tag lld release_40 branch r296002. Added: vendor/lld/lld-release_40-r296002/ - copied from r314173, vendor/lld/dist/ ___

svn commit: r314170 - in vendor/clang/dist: lib/CodeGen lib/Sema test/CodeGenOpenCL test/OpenMP

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:13:57 2017 New Revision: 314170 URL: https://svnweb.freebsd.org/changeset/base/314170 Log: Vendor import of clang release_40 branch r296002: https://llvm.org/svn/llvm-project/cfe/branches/release_40@296002 Modified:

svn commit: r314173 - vendor/libc++/libc++-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:14:08 2017 New Revision: 314173 URL: https://svnweb.freebsd.org/changeset/base/314173 Log: Tag libc++ release_40 branch r296002. Added: vendor/libc++/libc++-release_40-r296002/ - copied from r314172, vendor/libc++/dist/

svn commit: r314175 - vendor/lldb/lldb-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:14:16 2017 New Revision: 314175 URL: https://svnweb.freebsd.org/changeset/base/314175 Log: Tag lldb release_40 branch r296002. Added: vendor/lldb/lldb-release_40-r296002/ - copied from r314174, vendor/lldb/dist/

svn commit: r314172 - vendor/compiler-rt/compiler-rt-release_40-r296002

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:14:05 2017 New Revision: 314172 URL: https://svnweb.freebsd.org/changeset/base/314172 Log: Tag compiler-rt release_40 branch r296002. Added: vendor/compiler-rt/compiler-rt-release_40-r296002/ - copied from r314171, vendor/compiler-rt/dist/

svn commit: r314168 - in vendor/llvm/dist: lib/Target/ARM test/CodeGen/ARM

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:13:48 2017 New Revision: 314168 URL: https://svnweb.freebsd.org/changeset/base/314168 Log: Vendor import of llvm release_40 branch r296002: https://llvm.org/svn/llvm-project/llvm/branches/release_40@296002 Added:

svn commit: r314167 - head/sys/dev/cxgbe/iw_cxgbe

2017-02-23 Thread Navdeep Parhar
Author: np Date: Thu Feb 23 19:02:40 2017 New Revision: 314167 URL: https://svnweb.freebsd.org/changeset/base/314167 Log: cxgbe/iw_cxgbe: Minor changes for T6. Submitted by: Krishnamraju Eraparaju at Chelsio Sponsored by: Chelsio Communications Modified:

svn commit: r314166 - vendor/lldb/lldb-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:31 2017 New Revision: 314166 URL: https://svnweb.freebsd.org/changeset/base/314166 Log: Tag lldb release_40 branch r295910. Added: vendor/lldb/lldb-release_40-r295910/ - copied from r314165, vendor/lldb/dist/

svn commit: r314165 - vendor/lld/lld-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:27 2017 New Revision: 314165 URL: https://svnweb.freebsd.org/changeset/base/314165 Log: Tag lld release_40 branch r295910. Added: vendor/lld/lld-release_40-r295910/ - copied from r314164, vendor/lld/dist/ ___

svn commit: r314162 - vendor/clang/clang-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:15 2017 New Revision: 314162 URL: https://svnweb.freebsd.org/changeset/base/314162 Log: Tag clang release_40 branch r295910. Added: vendor/clang/clang-release_40-r295910/ - copied from r314161, vendor/clang/dist/

svn commit: r314164 - vendor/libc++/libc++-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:23 2017 New Revision: 314164 URL: https://svnweb.freebsd.org/changeset/base/314164 Log: Tag libc++ release_40 branch r295910. Added: vendor/libc++/libc++-release_40-r295910/ - copied from r314163, vendor/libc++/dist/

svn commit: r314163 - vendor/compiler-rt/compiler-rt-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:20 2017 New Revision: 314163 URL: https://svnweb.freebsd.org/changeset/base/314163 Log: Tag compiler-rt release_40 branch r295910. Added: vendor/compiler-rt/compiler-rt-release_40-r295910/ - copied from r314162, vendor/compiler-rt/dist/

svn commit: r314161 - in vendor/clang/dist: . docs lib/Driver test/Driver

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:12 2017 New Revision: 314161 URL: https://svnweb.freebsd.org/changeset/base/314161 Log: Vendor import of clang release_40 branch r295910: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295910 Modified: vendor/clang/dist/CMakeLists.txt

svn commit: r314160 - vendor/llvm/llvm-release_40-r295910

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:07 2017 New Revision: 314160 URL: https://svnweb.freebsd.org/changeset/base/314160 Log: Tag llvm release_40 branch r295910. Added: vendor/llvm/llvm-release_40-r295910/ - copied from r314159, vendor/llvm/dist/

svn commit: r314159 - in vendor/llvm/dist: docs lib/CodeGen/AsmPrinter lib/Target/AArch64 lib/Target/ARM lib/Transforms/Scalar test/CodeGen/AArch64 test/CodeGen/ARM test/DebugInfo/X86

2017-02-23 Thread Dimitry Andric
Author: dim Date: Thu Feb 23 19:02:03 2017 New Revision: 314159 URL: https://svnweb.freebsd.org/changeset/base/314159 Log: Vendor import of llvm release_40 branch r295910: https://llvm.org/svn/llvm-project/llvm/branches/release_40@295910 Added:

Re: svn commit: r314145 - in head/sys/dev/vxge: . vxgehal

2017-02-23 Thread Pedro Giffuni
On 02/23/17 13:16, John Baldwin wrote: On Thursday, February 23, 2017 04:10:16 PM Pedro F. Giffuni wrote: Author: pfg Date: Thu Feb 23 16:10:15 2017 New Revision: 314145 URL: https://svnweb.freebsd.org/changeset/base/314145 Log: dev/vxe: double assignments. Fix some suspicious code,

svn commit: r314158 - head/sys/dev/vxge

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 18:56:31 2017 New Revision: 314158 URL: https://svnweb.freebsd.org/changeset/base/314158 Log: vxge(4): Yet another (minor) mismatch. VXGE_DEFAULT_TTI_RTIMER_VAL and VXGE_DEFAULT_RTI_RTIMER_VAL have value zero but nevertheless we should use the right value on

svn commit: r314157 - stable/10/lib/libmd

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 18:54:33 2017 New Revision: 314157 URL: https://svnweb.freebsd.org/changeset/base/314157 Log: MFC r282736: Unbreak build following rev. 282726 (MFC-ed as r314144) Modified: stable/10/lib/libmd/md4.h stable/10/lib/libmd/md5.h stable/10/lib/libmd/ripemd.h

Re: svn commit: r314145 - in head/sys/dev/vxge: . vxgehal

2017-02-23 Thread John Baldwin
On Thursday, February 23, 2017 04:10:16 PM Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Feb 23 16:10:15 2017 > New Revision: 314145 > URL: https://svnweb.freebsd.org/changeset/base/314145 > > Log: > dev/vxe: double assignments. > > Fix some suspicious code, likely caused by excessive

svn commit: r314156 - head/sys/dev/rt

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 18:15:04 2017 New Revision: 314156 URL: https://svnweb.freebsd.org/changeset/base/314156 Log: rt_attach(): double assignment. Found with: coccinelle (da.cocci) Modified: head/sys/dev/rt/if_rt.c Modified: head/sys/dev/rt/if_rt.c

svn commit: r314155 - head/sys/netinet

2017-02-23 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 23 18:14:36 2017 New Revision: 314155 URL: https://svnweb.freebsd.org/changeset/base/314155 Log: TCP window updates are only sent if the window can be increased by at least 2 * MSS. However, if the receive buffer size is small, this might be impossible. Add back

Re: svn commit: r314153 - head/cddl/contrib/opensolaris/lib/libctf/common

2017-02-23 Thread Mark Johnston
On Thu, Feb 23, 2017 at 05:54:17PM +, Mark Johnston wrote: > Author: markj > Date: Thu Feb 23 17:54:17 2017 > New Revision: 314153 > URL: https://svnweb.freebsd.org/changeset/base/314153 > > Log: > Fix a memory leak in an error case in libctf. > > Submitted by: Tom Rix

svn commit: r314154 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-02-23 Thread Mark Johnston
Author: markj Date: Thu Feb 23 17:56:24 2017 New Revision: 314154 URL: https://svnweb.freebsd.org/changeset/base/314154 Log: Fix memory leaks in error cases in libdtrace. Submitted by: Tom Rix MFC after:1 week Differential Revision:

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Pedro Giffuni
On 2/23/2017 12:13 PM, Benjamin Kaduk wrote: On Thu, Feb 23, 2017 at 9:30 AM, Pedro F. Giffuni > wrote: Author: pfg Date: Thu Feb 23 15:30:21 2017 New Revision: 314142 URL: https://svnweb.freebsd.org/changeset/base/314142

svn commit: r314153 - head/cddl/contrib/opensolaris/lib/libctf/common

2017-02-23 Thread Mark Johnston
Author: markj Date: Thu Feb 23 17:54:17 2017 New Revision: 314153 URL: https://svnweb.freebsd.org/changeset/base/314153 Log: Fix a memory leak in an error case in libctf. Submitted by: Tom Rix MFC after:1 week Modified:

Re: svn commit: r314151 - head/sys/modules/iwm

2017-02-23 Thread Ngie Cooper (yaneurabeya)
> On Feb 23, 2017, at 09:44, Ngie Cooper wrote: > > Author: ngie > Date: Thu Feb 23 17:44:06 2017 > New Revision: 314151 > URL: https://svnweb.freebsd.org/changeset/base/314151 > > Log: > Unbreak if_iwm.ko after r314076 > > Add if_iwm_7000.c/if_iwm_8000.c to SRCS to match

svn commit: r314152 - head/lib/libcompiler_rt

2017-02-23 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 23 17:46:38 2017 New Revision: 314152 URL: https://svnweb.freebsd.org/changeset/base/314152 Log: Remove an assembler flag, which is redundant since r309124. The upstream took care of it by introducing a macro NO_EXEC_STACK_DIRECTIVE.

svn commit: r314151 - head/sys/modules/iwm

2017-02-23 Thread Ngie Cooper
Author: ngie Date: Thu Feb 23 17:44:06 2017 New Revision: 314151 URL: https://svnweb.freebsd.org/changeset/base/314151 Log: Unbreak if_iwm.ko after r314076 Add if_iwm_7000.c/if_iwm_8000.c to SRCS to match similar additions made to sys/conf/files after refactoring done in the commit

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Mateusz Guzik
On Thu, Feb 23, 2017 at 03:30:21PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Feb 23 15:30:21 2017 > New Revision: 314142 > URL: https://svnweb.freebsd.org/changeset/base/314142 > > Log: > dev/ce: double assignment. > > The code is not operational right now so just comment

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

2017-02-23 Thread Mateusz Guzik
On Wed, Feb 22, 2017 at 03:09:24PM -0800, Gleb Smirnoff wrote: > Mateusz, > > why do you __predict_false() the recursion scenario? I'm afraid > that performance loss for mispredictions could outweight the > gain due to predictions. AFAIK, mutex recursion is still a pretty > common event in

Re: svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Benjamin Kaduk
On Thu, Feb 23, 2017 at 9:30 AM, Pedro F. Giffuni wrote: > Author: pfg > Date: Thu Feb 23 15:30:21 2017 > New Revision: 314142 > URL: https://svnweb.freebsd.org/changeset/base/314142 > > Log: > dev/ce: double assignment. > > The code is not operational right now so just

svn commit: r314150 - head/sys/dev/xen/netback

2017-02-23 Thread Alan Somers
Author: asomers Date: Thu Feb 23 16:54:30 2017 New Revision: 314150 URL: https://svnweb.freebsd.org/changeset/base/314150 Log: Fix the xnb(4) unit tests One test was inadvertently expecting a bug in the kernel's sscanf implementation circa 2012. I don't know when that bug got fixed.

svn commit: r314149 - head/etc

2017-02-23 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Feb 23 16:42:48 2017 New Revision: 314149 URL: https://svnweb.freebsd.org/changeset/base/314149 Log: The ct driver was removed by r312910. Modified: head/etc/devd.conf Modified: head/etc/devd.conf

svn commit: r314148 - head/sys/dev/xen/netback

2017-02-23 Thread Alan Somers
Author: asomers Date: Thu Feb 23 16:31:04 2017 New Revision: 314148 URL: https://svnweb.freebsd.org/changeset/base/314148 Log: Misc Coverity fixes in xnb(4) Most of these are null pointer dereferences or missing error checks in the unit tests. One is a missing error check in

svn commit: r314147 - head/sys/dev/bktr

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 16:18:57 2017 New Revision: 314147 URL: https://svnweb.freebsd.org/changeset/base/314147 Log: bktr(4): double assignment. First assignment is obviously overwritten by the next line. Leave newest assignment: it was introduced in r29233. Found with:

svn commit: r314146 - in stable/10/sys/modules: crypto geom/geom_bde random zfs

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 16:15:42 2017 New Revision: 314146 URL: https://svnweb.freebsd.org/changeset/base/314146 Log: MFC r263219: add sha256c.c to the various modules that included sha2.c... Modified: stable/10/sys/modules/crypto/Makefile stable/10/sys/modules/geom/geom_bde/Makefile

svn commit: r314145 - in head/sys/dev/vxge: . vxgehal

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 16:10:15 2017 New Revision: 314145 URL: https://svnweb.freebsd.org/changeset/base/314145 Log: dev/vxe: double assignments. Fix some suspicious code, likely caused by excessive copy-pasting. Found with: coccinelle (da.cocci) MFC after:2 weeks

svn commit: r314144 - stable/10/lib/libmd

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 16:07:45 2017 New Revision: 314144 URL: https://svnweb.freebsd.org/changeset/base/314144 Log: MFC r282726: Ensure libmd symbols do not clash with libcrypto Add a prefix to all symbols in libmd to avoid incompatibilites with same-named, but not binary

svn commit: r314143 - in stable/10: lib/libcrypt lib/libmd sys/conf sys/crypto/sha2

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 16:05:11 2017 New Revision: 314143 URL: https://svnweb.freebsd.org/changeset/base/314143 Log: MFC r263215,r263218,r285366: replace the kernel sha256 code r263215 copy these files from lib/libmd in preperation for moving these files into the kernel...

svn commit: r314142 - head/sys/dev/ce

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 15:30:21 2017 New Revision: 314142 URL: https://svnweb.freebsd.org/changeset/base/314142 Log: dev/ce: double assignment. The code is not operational right now so just comment away an obviously useless assignment. Fix some typos while here. Found with:

svn commit: r314141 - head/usr.sbin/rtadvd

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 15:10:46 2017 New Revision: 314141 URL: https://svnweb.freebsd.org/changeset/base/314141 Log: rtadvd(8): double assignment. Remove doubtful initialization since the value will be overwritten immediately afterwards. Found with: coccinelle (da.cocci)

svn commit: r314140 - head/usr.sbin/camdd

2017-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 23 15:05:01 2017 New Revision: 314140 URL: https://svnweb.freebsd.org/changeset/base/314140 Log: camdd(8): double assignment. Why do a calculation twice when you can do it just once. Found with: coccinelle (da.cocci) Modified: head/usr.sbin/camdd/camdd.c

svn commit: r314139 - head/usr.bin/vi/catalog

2017-02-23 Thread Ed Maste
Author: emaste Date: Thu Feb 23 14:39:51 2017 New Revision: 314139 URL: https://svnweb.freebsd.org/changeset/base/314139 Log: make vi message catalogues build independent of locale r275234 addressed sort automatically converting 8-bit locales to UTF-8 by using "LANG=C sort", but LC_ALL

svn commit: r314138 - head/sys/dev/xen/gntdev

2017-02-23 Thread Roger Pau Monné
Author: royger Date: Thu Feb 23 13:14:28 2017 New Revision: 314138 URL: https://svnweb.freebsd.org/changeset/base/314138 Log: xen/gndev: use UOFF_TO_IDX instead of OFF_TO_IDX The Xen grant table device treats the mmap offset parameter as an unsigned type, and as so it must use the newly

Re: svn commit: r313006 - in head: sys/conf sys/libkern sys/libkern/x86 sys/sys tests/sys/kern

2017-02-23 Thread Ben RUBSON
Hi guys, Conrad, Bruce, May I ask you some news regarding this please ? More than 3 weeks now running Conrad commit on 2 CRC32C digest enabled iSCSI initiators / targets without issue :) Thank you very much again for this ! Shall we then think about "fixing" the last one or two remaining

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

2017-02-23 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 09:55:55 2017 New Revision: 314137 URL: https://svnweb.freebsd.org/changeset/base/314137 Log: MFC r313800: Do not access memory past the buffer end. Do not accept and silently truncate too long hostname. Modified: stable/11/sys/fs/nfsclient/nfs_clvfsops.c

svn commit: r314136 - head/sys/compat/linuxkpi/common/include/linux

2017-02-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 23 09:53:54 2017 New Revision: 314136 URL: https://svnweb.freebsd.org/changeset/base/314136 Log: Implement __test_and_clear_bit() and __test_and_set_bit() in the LinuxKPI. The clang compiler will optimise these functions down to three AMD64 instructions if

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

2017-02-23 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 09:52:22 2017 New Revision: 314135 URL: https://svnweb.freebsd.org/changeset/base/314135 Log: MFC r313799: Do not allocate char[MNAMELEN] on stack in nfsclient. Modified: stable/11/sys/fs/nfsclient/nfs_clvfsops.c Directory Properties: stable/11/ (props

svn commit: r314134 - in stable/11/sys: kern sys

2017-02-23 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 09:41:32 2017 New Revision: 314134 URL: https://svnweb.freebsd.org/changeset/base/314134 Log: MFC r313495: Do not establish advisory locks when doing open(O_EXLOCK) or open(O_SHLOCK) for files which do not have DTYPE_VNODE type. MFC r313549: Fix r313495.

svn commit: r314133 - stable/11/sys/kern

2017-02-23 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 09:30:37 2017 New Revision: 314133 URL: https://svnweb.freebsd.org/changeset/base/314133 Log: MFC r313496: Increase a chance of devfs_close() calling d_close cdevsw method. Modified: stable/11/sys/kern/vfs_vnops.c Directory Properties: stable/11/ (props

svn commit: r314132 - head/sys/compat/linux

2017-02-23 Thread Dmitry Chagin
Author: dchagin Date: Thu Feb 23 08:17:42 2017 New Revision: 314132 URL: https://svnweb.freebsd.org/changeset/base/314132 Log: Right clock defines specified in linux_timer.h. Get rid of spirious clock defines from linux_misc.h. MFC after:1 week Modified: