Re: svn commit: r358392 - head/share/man/man9

2020-02-27 Thread Warner Losh
On Thu, Feb 27, 2020, 9:55 AM John Baldwin wrote: > On 2/27/20 7:30 AM, Warner Losh wrote: > > Author: imp > > Date: Thu Feb 27 15:30:13 2020 > > New Revision: 358392 > > URL: https://svnweb.freebsd.org/changeset/base/358392 > > > > Log: > > _Static_assert is to be preferred to CTASSERT. > > >

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

2020-02-27 Thread Philip Paeps
Author: philip Date: Fri Feb 28 03:39:00 2020 New Revision: 358419 URL: https://svnweb.freebsd.org/changeset/base/358419 Log: bsdinstall: remove the Italian mirror ftp.it.FreeBSD.org has been down for several years. PR: 244481 Reported by:xgeoplas...@gmail.com MFC

svn commit: r358418 - in head/usr.sbin/bsdconfig: include share/media

2020-02-27 Thread Philip Paeps
Author: philip Date: Fri Feb 28 03:38:57 2020 New Revision: 358418 URL: https://svnweb.freebsd.org/changeset/base/358418 Log: bsdconfig: remove the Italian mirror ftp.it.FreeBSD.org has been down for several years. PR: 244481 Reported by:xgeoplas...@gmail.com MFC

Re: svn commit: r358417 - head/sys/cam

2020-02-27 Thread Warner Losh
On Thu, Feb 27, 2020, 6:27 PM Benjamin Kaduk wrote: > On Thu, Feb 27, 2020 at 5:18 PM Warner Losh wrote: > >> Author: imp >> Date: Fri Feb 28 01:18:11 2020 >> New Revision: 358417 >> URL: https://svnweb.freebsd.org/changeset/base/358417 >> >> Log: >> This is a FALLTHROUGH for sure. no need

Re: svn commit: r358417 - head/sys/cam

2020-02-27 Thread Benjamin Kaduk
On Thu, Feb 27, 2020 at 5:18 PM Warner Losh wrote: > Author: imp > Date: Fri Feb 28 01:18:11 2020 > New Revision: 358417 > URL: https://svnweb.freebsd.org/changeset/base/358417 > > Log: > This is a FALLTHROUGH for sure. no need for xxx comment. > > Modified: > head/sys/cam/cam_xpt.c > >

svn commit: r358417 - head/sys/cam

2020-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 28 01:18:11 2020 New Revision: 358417 URL: https://svnweb.freebsd.org/changeset/base/358417 Log: This is a FALLTHROUGH for sure. no need for xxx comment. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r358416 - head/sys/sys

2020-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 28 01:02:01 2020 New Revision: 358416 URL: https://svnweb.freebsd.org/changeset/base/358416 Log: Remove duplicated ATA_CHECK_POWER_MODE Modified: head/sys/sys/ata.h Modified: head/sys/sys/ata.h

svn commit: r358415 - in head/sys/dev/cxgbe: . tom

2020-02-27 Thread John Baldwin
Author: jhb Date: Fri Feb 28 00:42:27 2020 New Revision: 358415 URL: https://svnweb.freebsd.org/changeset/base/358415 Log: Rename TOE TLS stats from [rt]x_tls_* to [rt]x_toe_tls_*. This more clearly differentiates TLS records encrypted and decrypted in TOE connections from those

svn commit: r358414 - head/sys/amd64/conf

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 23:06:40 2020 New Revision: 358414 URL: https://svnweb.freebsd.org/changeset/base/358414 Log: Remove trailing whitespace. Modified: head/sys/amd64/conf/GENERIC-NODEBUG Modified: head/sys/amd64/conf/GENERIC-NODEBUG

svn commit: r358413 - head/contrib/sendmail/src

2020-02-27 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 27 23:06:12 2020 New Revision: 358413 URL: https://svnweb.freebsd.org/changeset/base/358413 Log: Plug possible memory leaks in the previous patch. Two DH_free() calls were accidentally removed. Pointyhat to: jkim Modified: head/contrib/sendmail/src/tls.c

svn commit: r358412 - head/contrib/sendmail/src

2020-02-27 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 27 22:36:16 2020 New Revision: 358412 URL: https://svnweb.freebsd.org/changeset/base/358412 Log: Do not free p and g parameters after calling DH_set0_pqg(3). It is specifically mentioned in the manual page. Note it has no functional change in reality because

svn commit: r358411 - head/contrib/sendmail/src

2020-02-27 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 27 22:02:00 2020 New Revision: 358411 URL: https://svnweb.freebsd.org/changeset/base/358411 Log: Fix style inconsistencies near our OpenSSL 1.1.x patch. Modified: head/contrib/sendmail/src/tls.c Modified: head/contrib/sendmail/src/tls.c

Re: svn commit: r358409 - head/sys/riscv/conf

2020-02-27 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: brooks > Date: Thu Feb 27 20:26:37 2020 > New Revision: 358409 > URL: https://svnweb.freebsd.org/changeset/base/358409 > > Log: > riscv: Add a GENERIC-NODEBUG (copied from amd64) > > Sponsored by: DARPA > > Added: >

svn commit: r358410 - head/contrib/sendmail/src

2020-02-27 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 27 20:46:30 2020 New Revision: 358410 URL: https://svnweb.freebsd.org/changeset/base/358410 Log: Fix a white space. Modified: head/contrib/sendmail/src/tls.c Modified: head/contrib/sendmail/src/tls.c

svn commit: r358409 - head/sys/riscv/conf

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 20:26:37 2020 New Revision: 358409 URL: https://svnweb.freebsd.org/changeset/base/358409 Log: riscv: Add a GENERIC-NODEBUG (copied from amd64) Sponsored by: DARPA Added: head/sys/riscv/conf/GENERIC-NODEBUG - copied, changed from r358301,

svn commit: r358408 - head/contrib/llvm-project/llvm/lib/Target/RISCV

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 20:08:46 2020 New Revision: 358408 URL: https://svnweb.freebsd.org/changeset/base/358408 Log: Merge commit 7214f7a79 from llvm git (by Sam Elliott): [RISCV] Lower llvm.trap and llvm.debugtrap Summary: Until this commit, these have lowered to a

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

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 19:59:17 2020 New Revision: 358407 URL: https://svnweb.freebsd.org/changeset/base/358407 Log: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error: misleading

svn commit: r358405 - head/contrib/tnftp/src

2020-02-27 Thread Hiroki Sato
Author: hrs Date: Thu Feb 27 19:49:59 2020 New Revision: 358405 URL: https://svnweb.freebsd.org/changeset/base/358405 Log: Fix poor performance of ftp(1) due to small SO_SNDBUF and SO_RCVBUF. ftp(1) from vendor/tnftp always tried the following for every TCP connection: 1. Get the

svn commit: r358404 - head/contrib/sendmail/src

2020-02-27 Thread Hiroki Sato
Author: hrs Date: Thu Feb 27 19:40:29 2020 New Revision: 358404 URL: https://svnweb.freebsd.org/changeset/base/358404 Log: Fix broken STARTTLS when SharedMemoryKey is enabled. OpenSSL 1.1 API patch for sendmail had a bug which prevented sm_RSA_generate_key() function from working. This

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

2020-02-27 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 27 19:40:20 2020 New Revision: 358403 URL: https://svnweb.freebsd.org/changeset/base/358403 Log: Make linuxulator warn about unsupported getsockopt/setsockopt flags. MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D23791

svn commit: r358402 - head/sys/dev/rtwn/pci

2020-02-27 Thread Hiroki Sato
Author: hrs Date: Thu Feb 27 19:35:17 2020 New Revision: 358402 URL: https://svnweb.freebsd.org/changeset/base/358402 Log: Add MODULE_PNP_INFO() to autoload the rtwn_pci(4) kernel module. Reviewed by: imp MFC after:3 days Differential Revision:

svn commit: r358400 - in head/sys: kern sys

2020-02-27 Thread Jeff Roberson
Author: jeff Date: Thu Feb 27 19:05:26 2020 New Revision: 358400 URL: https://svnweb.freebsd.org/changeset/base/358400 Log: Simplify lazy advance with a 64bit atomic cmpset. This provides the potential to force a lazy (tick based) SMR to advance when there are blocking waiters by

svn commit: r358398 - vendor/llvm-project/llvmorg-10.0.0-rc2-70-ge5cb70267e7

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 19:00:35 2020 New Revision: 358398 URL: https://svnweb.freebsd.org/changeset/base/358398 Log: Tag llvm-project branch release/10.x llvmorg-10.0.0-rc2-70-ge5cb70267e7. Added: vendor/llvm-project/llvmorg-10.0.0-rc2-70-ge5cb70267e7/ - copied from r358397,

svn commit: r358397 - in vendor/llvm-project/release-10.x: clang/include/clang/Basic clang/include/clang/Sema clang/lib/ASTMatchers clang/lib/CodeGen clang/lib/Driver/ToolChains clang/lib/Frontend ...

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 18:58:42 2020 New Revision: 358397 URL: https://svnweb.freebsd.org/changeset/base/358397 Log: Vendor import of llvm-project branch release/10.x llvmorg-10.0.0-rc2-70-ge5cb70267e7. Modified:

svn commit: r358395 - head/sys/dev/acpica

2020-02-27 Thread Hiroki Sato
Author: hrs Date: Thu Feb 27 17:13:57 2020 New Revision: 358395 URL: https://svnweb.freebsd.org/changeset/base/358395 Log: Add workaround for models which do not follow the ACPI specification strictly. Extra objects are now simply ignored instead of rejecting everything. Modified:

Re: svn commit: r358392 - head/share/man/man9

2020-02-27 Thread John Baldwin
On 2/27/20 7:30 AM, Warner Losh wrote: > Author: imp > Date: Thu Feb 27 15:30:13 2020 > New Revision: 358392 > URL: https://svnweb.freebsd.org/changeset/base/358392 > > Log: > _Static_assert is to be preferred to CTASSERT. > > Document the existing prefernce that _Static_assert be used in

svn commit: r358394 - head/usr.sbin/bhyve

2020-02-27 Thread John Baldwin
Author: jhb Date: Thu Feb 27 16:51:41 2020 New Revision: 358394 URL: https://svnweb.freebsd.org/changeset/base/358394 Log: Use stream_read() to read all 12 bytes of the RFB client version. read() can return a short read, whereas stream_read() waits until the full version string is read.

svn commit: r358393 - in head/sys: conf riscv/include

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:34:30 2020 New Revision: 358393 URL: https://svnweb.freebsd.org/changeset/base/358393 Log: Better check for floating point type. Use __riscv_flen instead of __riscv_float_abi_soft. While the latter works for userland (and one could argue it's more

svn commit: r358392 - head/share/man/man9

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:30:13 2020 New Revision: 358392 URL: https://svnweb.freebsd.org/changeset/base/358392 Log: _Static_assert is to be preferred to CTASSERT. Document the existing prefernce that _Static_assert be used in preference to the old CTASSERT we used to use for

svn commit: r358390 - head/sys/dev/oce

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:26 2020 New Revision: 358390 URL: https://svnweb.freebsd.org/changeset/base/358390 Log: Remove FreeBSD 7-9 support from oce Use newer pci_find_cap API now that the need to remap the old API is gone. Modified: head/sys/dev/oce/oce_hw.c

svn commit: r358391 - head/sys/dev/rndtest

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:31 2020 New Revision: 358391 URL: https://svnweb.freebsd.org/changeset/base/358391 Log: Remove FreeBSD 4 support Modified: head/sys/dev/rndtest/rndtest.c Modified: head/sys/dev/rndtest/rndtest.c

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

2020-02-27 Thread Warner Losh
Author: imp Date: Thu Feb 27 15:25:21 2020 New Revision: 358389 URL: https://svnweb.freebsd.org/changeset/base/358389 Log: Remove support for FreeBSD 7 and 8 Also, unifdef -DSFXGE_HAVE_DESCRIBE_INTR since it's now always defined. Modified: head/sys/dev/sfxge/common/efsys.h

svn commit: r358388 - stable/12/lib/libdevstat

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 15:22:18 2020 New Revision: 358388 URL: https://svnweb.freebsd.org/changeset/base/358388 Log: MFC r355325: devstat_selectdevs: resize dev_select only after copying data The resizing could be a downsizing so some data would be lost and we could attempt to read

svn commit: r358387 - in head/sys/compat/linuxkpi/common: include/linux src

2020-02-27 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 27 15:21:05 2020 New Revision: 358387 URL: https://svnweb.freebsd.org/changeset/base/358387 Log: Extend the range of the return value from nsecs_to_jiffies64() to support Mesa's drm_syncobj usage, in the LinuxKPI. While at it optimise the jiffies conversion

svn commit: r358386 - in stable/12/sys: dev/vmware/vmxnet3 modules/vmware/vmxnet3

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 15:08:43 2020 New Revision: 358386 URL: https://svnweb.freebsd.org/changeset/base/358386 Log: MFC r357042: vmxnet3: add support for RSS kernel option We observe at least one problem: if a UDP socket is connect(2)-ed, then a received packet that matches the

svn commit: r358385 - stable/12/sys/dev/virtio/scsi

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:52:55 2020 New Revision: 358385 URL: https://svnweb.freebsd.org/changeset/base/358385 Log: MFC r357040: virtio_scsi: use max target ID plus one as the initiator ID This bus does not really have a concept of the initiator ID, so use a guaranteed dummy one

svn commit: r358384 - stable/12/sys/dev/hyperv/storvsc

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:50:02 2020 New Revision: 358384 URL: https://svnweb.freebsd.org/changeset/base/358384 Log: MFC r356730: storvsc: properly set residual data length on errors This change is based on Linux commit 40630f462824ee. csio.resid should account for transfer_len

svn commit: r358383 - stable/12/stand/libsa/zfs

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:48:12 2020 New Revision: 358383 URL: https://svnweb.freebsd.org/changeset/base/358383 Log: MFC r355736: zfs boot: fix a crash in a rarely taken path in fzap_lookup Instead of passing NULL to fzap_name_equal and crashing, just return ENOENT. This happened

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:27:42 2020 New Revision: 358382 URL: https://svnweb.freebsd.org/changeset/base/358382 Log: remove stray space symbol in r358380 MFC after:1 week X-MFC with: r358380 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:21:01 2020 New Revision: 358381 URL: https://svnweb.freebsd.org/changeset/base/358381 Log: use ZFS_MAX_DATASET_NAME_LEN instead of MAXPATHLEN for dataset names The change affects only FreeBSD specific code as the common code already mostly uses the more

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:12:43 2020 New Revision: 358380 URL: https://svnweb.freebsd.org/changeset/base/358380 Log: dsl_dataset_promote_sync: populate 'oldname' before using it It's very unlikely that zfsvfs_update_fromname() and zvol_rename_minors() ever did anything during the

svn commit: r358379 - head/sys/dev/random

2020-02-27 Thread Pawel Biernacki
Author: kaktus Date: Thu Feb 27 13:12:14 2020 New Revision: 358379 URL: https://svnweb.freebsd.org/changeset/base/358379 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or

svn commit: r358378 - head/share/misc

2020-02-27 Thread Baptiste Daroussin
Author: bapt Date: Thu Feb 27 11:23:44 2020 New Revision: 358378 URL: https://svnweb.freebsd.org/changeset/base/358378 Log: Update pci_vendors to 2020.02.22 MFC after:2 days Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

Re: svn commit: r358377 - head/sys/vm

2020-02-27 Thread Ryan Libby
On Thu, Feb 27, 2020 at 12:23 AM Jeff Roberson wrote: > > Author: jeff > Date: Thu Feb 27 08:23:10 2020 > New Revision: 358377 > URL: https://svnweb.freebsd.org/changeset/base/358377 > > Log: > A pair of performance improvements. > > Swap buckets on free as well as alloc so that alloc is

svn commit: r358377 - head/sys/vm

2020-02-27 Thread Jeff Roberson
Author: jeff Date: Thu Feb 27 08:23:10 2020 New Revision: 358377 URL: https://svnweb.freebsd.org/changeset/base/358377 Log: A pair of performance improvements. Swap buckets on free as well as alloc so that alloc is always the most cache-hot data. When selecting a zone domain for the