svn commit: r366692 - head/sys/dev/axgbe

2020-10-13 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 14 02:23:49 2020 New Revision: 366692 URL: https://svnweb.freebsd.org/changeset/base/366692 Log: axgbe: fix tinderbox build Modified: head/sys/dev/axgbe/xgbe.h Modified: head/sys/dev/axgbe/xgbe.h ==

svn commit: r366690 - head/usr.sbin/traceroute6

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 00:01:17 2020 New Revision: 366690 URL: https://svnweb.freebsd.org/changeset/base/366690 Log: [traceroute6] Don't do the casper bits when we're not doing casper This with the previous patch I committed makes traceroute6/traceroute compile fine when libcaspe

svn commit: r366689 - in head/sys/cam: ata nvme scsi

2020-10-13 Thread Alexander Motin
Author: mav Date: Tue Oct 13 23:29:06 2020 New Revision: 366689 URL: https://svnweb.freebsd.org/changeset/base/366689 Log: Fix sbuf_finish() error code check in user-space. MFC after:1 week Sponsored by: iXsystems, Inc. Modified: head/sys/cam/ata/ata_all.c head/sys/cam/nvme/nvme_

svn commit: r366688 - head/lib/libcasper/services/cap_dns

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 22:49:43 2020 New Revision: 366688 URL: https://svnweb.freebsd.org/changeset/base/366688 Log: [libcasper] Update cap_dns API to not trigger unused variable warnings when disabled When compiling without casper these API calls result in unused variable warnin

Re: svn commit: r366687 - head/tools/tools/crypto

2020-10-13 Thread John Baldwin
On 10/13/20 3:20 PM, John Baldwin wrote: > Author: jhb > Date: Tue Oct 13 22:20:03 2020 > New Revision: 366687 > URL: https://svnweb.freebsd.org/changeset/base/366687 > > Log: > Fix various warnings with higher WARNS. > > - Rename global 'crid' to 'requested_crid' to avoid shadowing. > -

svn commit: r366687 - head/tools/tools/crypto

2020-10-13 Thread John Baldwin
Author: jhb Date: Tue Oct 13 22:20:03 2020 New Revision: 366687 URL: https://svnweb.freebsd.org/changeset/base/366687 Log: Fix various warnings with higher WARNS. - Rename global 'crid' to 'requested_crid' to avoid shadowing. - Remove some unused function arguments. - Use __DECONST().

Re: svn commit: r366686 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2020-10-13 Thread Ravi Pokala
-Original Message- From: on behalf of Ravi Pokala Date: 2020-10-13, Tuesday at 13:41 To: , , Subject: svn commit: r366686 - head/sys/ofed/drivers/infiniband/ulp/ipoib Author: rpokala Date: Tue Oct 13 20:41:51 2020 New Revision: 366686 URL: https://svnweb.freebsd.org/ch

svn commit: r366686 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2020-10-13 Thread Ravi Pokala
Author: rpokala Date: Tue Oct 13 20:41:51 2020 New Revision: 366686 URL: https://svnweb.freebsd.org/changeset/base/366686 Log: Allow IP over IB to work with multiple FIBs. Call M_SETFIB() to make sure the IPoIB packet is directed to the correct interface-specific FIB. This was suffic

svn commit: r366685 - head/sys/contrib/openzfs/module/os/freebsd/spl

2020-10-13 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 13 20:40:09 2020 New Revision: 366685 URL: https://svnweb.freebsd.org/changeset/base/366685 Log: FreeBSD: fix panic due to tqid overflow The 32-bit counter eventually wraps to 0 which is a sentinel for invalid id. Make it 64-bit on LP64 platforms and 0-check

svn commit: r366684 - head/share/mk

2020-10-13 Thread Brooks Davis
Author: brooks Date: Tue Oct 13 20:04:13 2020 New Revision: 366684 URL: https://svnweb.freebsd.org/changeset/base/366684 Log: Remove --ld-path=* from _LDFLAGS It makes no sense to pass --ld-path to direct ${LD} invocations. This was missed in r366270 due to not doing a clean build. Mo

svn commit: r366683 - head/contrib/llvm-project/clang/lib/Sema

2020-10-13 Thread Dimitry Andric
Author: dim Date: Tue Oct 13 19:42:22 2020 New Revision: 366683 URL: https://svnweb.freebsd.org/changeset/base/366683 Log: Merge commit 35ecc7fe4 from llvm git (by Hubert Tong): [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast Fix premature decision in the presence

svn commit: r366682 - head/sys/netinet

2020-10-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 13 19:34:36 2020 New Revision: 366682 URL: https://svnweb.freebsd.org/changeset/base/366682 Log: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist, it removes old if

svn commit: r366681 - head/sys/netpfil/ipfw/nat64

2020-10-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 13 18:57:42 2020 New Revision: 366681 URL: https://svnweb.freebsd.org/changeset/base/366681 Log: Add IPv4 fragments reassembling to NAT64LSN. NAT64LSN requires the presence of upper level protocol header in a IPv4 datagram to find corresponding state to make trans

svn commit: r366680 - head/tools/tools/ath

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 18:36:35 2020 New Revision: 366680 URL: https://svnweb.freebsd.org/changeset/base/366680 Log: [ath] Set WARNS to 0 here for now There are still more warnings to fix here, but gcc on mips treats a lot of these as failures. So stop it stopping me for now

svn commit: r366679 - head/tools/tools/ath/athdebug

2020-10-13 Thread Adrian Chadd
Author: adrian Date: Tue Oct 13 18:35:43 2020 New Revision: 366679 URL: https://svnweb.freebsd.org/changeset/base/366679 Log: [athdebug] Fix warnings generated by gcc on mips * commented out currently unused/dead code; need to see what it was once used for * remove unused variable *

svn commit: r366678 - head/sys/amd64/amd64

2020-10-13 Thread Tycho Nightingale
Author: tychon Date: Tue Oct 13 18:28:48 2020 New Revision: 366678 URL: https://svnweb.freebsd.org/changeset/base/366678 Log: eliminate possible race in parallel TLB shootdown IPI On the target side TLB shootdown IPI handler, prevent the compiler from performing a forward store optimizati

svn commit: r366677 - head/sys/opencrypto

2020-10-13 Thread John Baldwin
Author: jhb Date: Tue Oct 13 18:04:19 2020 New Revision: 366677 URL: https://svnweb.freebsd.org/changeset/base/366677 Log: Add support to the KTLS OCF module for AES-CBC MTE ciphersuites. This is a simplistic approach which encrypts each TLS record in two separate passes: one to generate

svn commit: r366676 - head/usr.sbin/ctld

2020-10-13 Thread Robert Wing
Author: rew Date: Tue Oct 13 18:00:23 2020 New Revision: 366676 URL: https://svnweb.freebsd.org/changeset/base/366676 Log: ctl.conf(5): fix LUN size in UCL format example. Remove quotes around size in the LUN section and change the suffix to 'GB'. The UCL format does recognize 'G' on its

svn commit: r366674 - head/sys/kern

2020-10-13 Thread John Baldwin
Author: jhb Date: Tue Oct 13 17:30:34 2020 New Revision: 366674 URL: https://svnweb.freebsd.org/changeset/base/366674 Log: Permit sending empty fragments for TLS 1.0. Due to a weakness in the TLS 1.0 protocol, OpenSSL will periodically send empty TLS records ("empty fragments"). These TL

svn commit: r366673 - in head/sys/i386: i386 include

2020-10-13 Thread John Baldwin
Author: jhb Date: Tue Oct 13 17:27:37 2020 New Revision: 366673 URL: https://svnweb.freebsd.org/changeset/base/366673 Log: Add support for FPU_KERN_NOCTX. This mirrors the implementation on amd64. Reviewed by: kib Sponsored by: Netflix Differential Revision:https://reviews

svn commit: r366672 - in head: share/man/man9 sys/crypto/aesni sys/crypto/blake2 sys/crypto/via sys/i386/include

2020-10-13 Thread John Baldwin
Author: jhb Date: Tue Oct 13 17:26:12 2020 New Revision: 366672 URL: https://svnweb.freebsd.org/changeset/base/366672 Log: Add a for i386 that includes . arm64 has a similar wrapper. This permits defining as the standard header for fpu_kern_*. Reviewed by: kib Sponsored by: Net

svn commit: r366671 - head/lib/libgssapi

2020-10-13 Thread Brooks Davis
Author: brooks Date: Tue Oct 13 17:14:30 2020 New Revision: 366671 URL: https://svnweb.freebsd.org/changeset/base/366671 Log: libgssapi: modernize static string array use Use designated initializers to document positions in the arrays rather than requiring counting. Use nitems() rather th

svn commit: r366670 - head/stand/efi/loader/arch/arm64

2020-10-13 Thread Andrew Turner
Author: andrew Date: Tue Oct 13 16:51:05 2020 New Revision: 366670 URL: https://svnweb.freebsd.org/changeset/base/366670 Log: Use adrp in the arm64 efi loader On startup the arm64 efi loaders need to know PC-relative addresses. Previously we used the adr instruction to find this address,

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

2020-10-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 13 16:19:21 2020 New Revision: 39 URL: https://svnweb.freebsd.org/changeset/base/39 Log: Implement more RCU list functions in the LinuxKPI. This also fixes a bug in the existing list_add_rcu() where the prev->prev pointer was updated to the new eleme

svn commit: r366668 - in head/sys/dev: mpr mps

2020-10-13 Thread Scott Long
Author: scottl Date: Tue Oct 13 14:10:49 2020 New Revision: 38 URL: https://svnweb.freebsd.org/changeset/base/38 Log: Bring the request_descriptor union into harmony internally. No functional change. Modified: head/sys/dev/mpr/mpr.c head/sys/dev/mps/mps.c Modified: head/sys/dev/

svn commit: r366667 - head/sys/netpfil/pf

2020-10-13 Thread Kristof Provost
Author: kp Date: Tue Oct 13 11:04:00 2020 New Revision: 37 URL: https://svnweb.freebsd.org/changeset/base/37 Log: pf: do not remove kifs that are referenced by rules Even if a kif doesn't have an ifp or if_group pointer we still can't delete it if it's referenced by a rule. In oth

svn commit: r366666 - head/sys/sys

2020-10-13 Thread Andrew Turner
Author: andrew Date: Tue Oct 13 10:31:12 2020 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: Bump __FreeBSD_version for the fix to arm64 write-only mappings Sponsored by: Innovate UK Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h =

svn commit: r366665 - in head: sys/arm64/arm64 tests/sys/vm

2020-10-13 Thread Andrew Turner
Author: andrew Date: Tue Oct 13 10:26:15 2020 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Fix write only mappings on arm64 When trapping on a wrote access to a buffer the kernel has mapped as write only we should only pass the VM_PROT_WRITE flag. Previo

svn commit: r366664 - head/share/mk

2020-10-13 Thread Alex Richardson
Author: arichardson Date: Tue Oct 13 08:14:33 2020 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: Stop using -O instead of -O2 for MIPS Until clang 11 that was equivalent to -O2, but clang changed it to -O1 so generated MIPS code will now be unnecessarily