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

2020-05-29 Thread Andrey V. Elsukov
Author: ae Date: Fri May 29 10:37:42 2020 New Revision: 361624 URL: https://svnweb.freebsd.org/changeset/base/361624 Log: Fix O_IP_FLOW_LOOKUP opcode handling. Do not check table value matching when table lookup has failed. Reported by: Sergey Lobanov MFC after:1 week

svn commit: r361623 - head/tests/sys/netipsec/tunnel

2020-05-29 Thread Li-Wen Hsu
Author: lwhsu Date: Fri May 29 10:09:47 2020 New Revision: 361623 URL: https://svnweb.freebsd.org/changeset/base/361623 Log: Revert r361497, these cases are fixed by r361617. PR: 246737 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r361618 - stable/12/lib/libprocstat

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:37:27 2020 New Revision: 361618 URL: https://svnweb.freebsd.org/changeset/base/361618 Log: MFC r361330: libprocstat: fix reading of file descriptor table via kvm This seems to have been broken since r247602 (from year 2013!). Can be easily tested with

svn commit: r361622 - head/sys/vm

2020-05-29 Thread Mateusz Guzik
Author: mjg Date: Fri May 29 08:30:35 2020 New Revision: 361622 URL: https://svnweb.freebsd.org/changeset/base/361622 Log: uma: hide item_domain under ifdef NUMA Fixes build warnings on mips. Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r361619 - stable/12/sys/net80211

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:38:57 2020 New Revision: 361619 URL: https://svnweb.freebsd.org/changeset/base/361619 Log: MFC r361364: net80211: post RTM_IFINFO notification after toggling IFF_DRV_RUNNING This is useful when a wireless driver is stopped or started in response to events

Re: svn commit: r361583 - head/sys/crypto/aesni

2020-05-29 Thread Kornel Dulęba
On Thu, May 28, 2020 at 8:30 PM John Baldwin wrote: > On 5/28/20 2:13 AM, Marcin Wojtas wrote: > > Author: mw > > Date: Thu May 28 09:13:20 2020 > > New Revision: 361583 > > URL: https://svnweb.freebsd.org/changeset/base/361583 > > > > Log: > > Change return types of hash update functions in

Re: svn commit: r361481 - in head: share/man/man9 sys/crypto/ccp sys/dev/cxgbe/crypto sys/dev/hifn sys/dev/safe sys/geom/eli sys/kern sys/kgssapi/krb5 sys/netipsec sys/opencrypto sys/sys

2020-05-29 Thread Mateusz Guzik
This gives me tinderbox failures with mips: _.mips.XLP64 /usr/src/sys/mips/nlm/dev/sec/nlmseclib.c:113:10: error: enumeration value 'CRYPTO_BUF_NONE' not handled in switch [-Werror,-Wswitch] switch (crp->crp_buf.cb_type) { _.mips.OCTEON1 _.mips.ERL

svn commit: r361620 - head/sys/kern

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:44:02 2020 New Revision: 361620 URL: https://svnweb.freebsd.org/changeset/base/361620 Log: corefile_open_last: don't keep a locked vnode while locking other ones Consider this scenario: - kern.corefile=/var/coredumps/%N.%U.%I.core - multiple processes

svn commit: r361621 - head/sys/dev/pci

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:50:55 2020 New Revision: 361621 URL: https://svnweb.freebsd.org/changeset/base/361621 Log: do not enable pci bridge decoding on resume until I/O windows are restored PCI bus driver restores most but not all of a child PCI-PCI bridge configuration. The

Re: svn commit: r361583 - head/sys/crypto/aesni

2020-05-29 Thread John Baldwin
On 5/29/20 12:46 AM, Kornel Dulęba wrote: > On Thu, May 28, 2020 at 8:30 PM John Baldwin wrote: > >> On 5/28/20 2:13 AM, Marcin Wojtas wrote: >>> Author: mw >>> Date: Thu May 28 09:13:20 2020 >>> New Revision: 361583 >>> URL: https://svnweb.freebsd.org/changeset/base/361583 >>> >>> Log: >>>

svn commit: r361625 - in head: sys/cam/ctl usr.sbin/ctladm

2020-05-29 Thread Alexander Motin
Author: mav Date: Fri May 29 13:07:52 2020 New Revision: 361625 URL: https://svnweb.freebsd.org/changeset/base/361625 Log: Report STATUS_QUEUED/SENT in `ctladm dumpooa` output. MFC after:2 weeks Sponsored by: iXsystems, Inc. Modified: head/sys/cam/ctl/ctl.c

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-29 Thread Kyle Evans
On Fri, May 22, 2020 at 11:12 AM Kyle Evans wrote: > > On Wed, May 20, 2020 at 6:04 AM Wei Hu wrote: > > > > Author: whu > > Date: Wed May 20 11:03:59 2020 > > New Revision: 361275 > > URL: https://svnweb.freebsd.org/changeset/base/361275 > > > > Log: > > HyperV socket implementation for

Re: svn commit: r361481 - in head: share/man/man9 sys/crypto/ccp sys/dev/cxgbe/crypto sys/dev/hifn sys/dev/safe sys/geom/eli sys/kern sys/kgssapi/krb5 sys/netipsec sys/opencrypto sys/sys

2020-05-29 Thread John Baldwin
On 5/29/20 1:34 AM, Mateusz Guzik wrote: > This gives me tinderbox failures with mips: > > _.mips.XLP64 > > /usr/src/sys/mips/nlm/dev/sec/nlmseclib.c:113:10: error: enumeration > value 'CRYPTO_BUF_NONE' not handled in switch [-Werror,-Wswitch] > switch (crp->crp_buf.cb_type) { > >

svn commit: r361626 - head/sys/dev/usb/wlan

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Fri May 29 15:56:44 2020 New Revision: 361626 URL: https://svnweb.freebsd.org/changeset/base/361626 Log: [run] Add initial 802.11n support. * Enable self-generated 11n frames * add MCS rates for 1-stream and 2-stream rates; will do 3-stream once the rest of this

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-29 Thread Kyle Evans
On Fri, May 29, 2020 at 12:08 PM Wei Hu wrote: > > -Original Message- > > > > [... snip ...] > > > > +void > > > > +hvs_trans_init(void) > > > > +{ > > > > + /* Skip initialization of globals for non-default instances. */ > > > > + if (!IS_DEFAULT_VNET(curvnet)) > > > > +

svn commit: r361628 - head/share/mk

2020-05-29 Thread Ed Maste
Author: emaste Date: Fri May 29 17:36:54 2020 New Revision: 361628 URL: https://svnweb.freebsd.org/changeset/base/361628 Log: Disable BINUTILS by default on i386 The retirement of obsolete binutils 2.17.50 has been in progress for quite some time. All tools other than GNU as were

svn commit: r361629 - head/share/man/man5

2020-05-29 Thread Ed Maste
Author: emaste Date: Fri May 29 17:39:25 2020 New Revision: 361629 URL: https://svnweb.freebsd.org/changeset/base/361629 Log: regen src.conf.5 after BINUTILS changes Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

RE: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-29 Thread Wei Hu via svn-src-all
> -Original Message- > > > [... snip ...] > > > +void > > > +hvs_trans_init(void) > > > +{ > > > + /* Skip initialization of globals for non-default instances. */ > > > + if (!IS_DEFAULT_VNET(curvnet)) > > > + return; > > > + > > > + if (vm_guest !=

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

2020-05-29 Thread Alexander Motin
Author: mav Date: Fri May 29 17:52:20 2020 New Revision: 361630 URL: https://svnweb.freebsd.org/changeset/base/361630 Log: Remove session locking from cfiscsi_pdu_update_cmdsn(). cs_cmdsn can be incremented with single atomic. expcmdsn/maxcmdsn set in cfiscsi_pdu_prepare() based on

svn commit: r361631 - releng/11.4/release/pkg_repos

2020-05-29 Thread Glen Barber
Author: gjb Date: Fri May 29 18:05:40 2020 New Revision: 361631 URL: https://svnweb.freebsd.org/changeset/base/361631 Log: Update the pkg.conf used to populate the dvd1.iso to use the release_4 package set from this point forward. Approved by: re (implicit) Sponsored by: Rubicon

svn commit: r361632 - in head/sys: conf modules/ipsec modules/tcp/tcpmd5

2020-05-29 Thread John Baldwin
Author: jhb Date: Fri May 29 19:21:35 2020 New Revision: 361632 URL: https://svnweb.freebsd.org/changeset/base/361632 Log: Honor opt_ipsec.h from kernel builds. To make this simpler, set the default contents of opt_ipsec.h for standalone modules in sys/conf/config.mk. Reviewed by:

svn commit: r361633 - in head/sys: net netipsec

2020-05-29 Thread John Baldwin
Author: jhb Date: Fri May 29 19:22:40 2020 New Revision: 361633 URL: https://svnweb.freebsd.org/changeset/base/361633 Log: Consistently include opt_ipsec.h for consumers of . This fixes ipsec.ko to include all of IPSEC_DEBUG. Reviewed by: imp MFC after:2 weeks Sponsored by:

svn commit: r361634 - head/sys/modules/if_enc

2020-05-29 Thread John Baldwin
Author: jhb Date: Fri May 29 19:29:10 2020 New Revision: 361634 URL: https://svnweb.freebsd.org/changeset/base/361634 Log: Add opt_ipsec.h to fix standalone builds after r361633. Modified: head/sys/modules/if_enc/Makefile Modified: head/sys/modules/if_enc/Makefile

svn commit: r361635 - head/sys/geom/part

2020-05-29 Thread Conrad Meyer
Author: cem Date: Fri May 29 19:44:18 2020 New Revision: 361635 URL: https://svnweb.freebsd.org/changeset/base/361635 Log: geom_part: Dispatch to partitions to create providers and aliases This allows partitions to create additional aliases of their own. The default method

Re: svn commit: r361632 - in head/sys: conf modules/ipsec modules/tcp/tcpmd5

2020-05-29 Thread John Baldwin
On 5/29/20 12:21 PM, John Baldwin wrote: > Author: jhb > Date: Fri May 29 19:21:35 2020 > New Revision: 361632 > URL: https://svnweb.freebsd.org/changeset/base/361632 > > Log: > Honor opt_ipsec.h from kernel builds. > > To make this simpler, set the default contents of opt_ipsec.h > for

svn commit: r361638 - in head/sys: conf modules modules/tcp

2020-05-29 Thread John Baldwin
Author: jhb Date: Sat May 30 00:47:03 2020 New Revision: 361638 URL: https://svnweb.freebsd.org/changeset/base/361638 Log: Only build ipsec modules if the kernel includes IPSEC_SUPPORT. Honoring the kernel-supplied opt_ipsec.h in r361632 causes builds of ipsec modules to fail if the

svn commit: r361642 - head/sys/arm64/broadcom/genet

2020-05-29 Thread Mike Karels
Author: karels Date: Sat May 30 02:09:36 2020 New Revision: 361642 URL: https://svnweb.freebsd.org/changeset/base/361642 Log: genet: workaround for problem with ICMPv6 echo replies The ICMPv6 echo reply is constructed with the IPv6 header too close to the beginning of a packet for an

svn commit: r361644 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:52:24 2020 New Revision: 361644 URL: https://svnweb.freebsd.org/changeset/base/361644 Log: MFC r361350: Add ebsnvme-id to EC2 AMIs and enable /dev/aws/disk Sponsored by: https://www.patreon.com/cperciva Modified: stable/12/release/tools/ec2.conf

svn commit: r361639 - in stable/12/sys: net netpfil/pf

2020-05-29 Thread Mark Johnston
Author: markj Date: Sat May 30 01:17:26 2020 New Revision: 361639 URL: https://svnweb.freebsd.org/changeset/base/361639 Log: MFC r361095: pf: Add a new zone for per-table entry counters. Modified: stable/12/sys/net/pfvar.h stable/12/sys/netpfil/pf/pf_table.c Directory Properties:

svn commit: r361645 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:56:13 2020 New Revision: 361645 URL: https://svnweb.freebsd.org/changeset/base/361645 Log: Direct commit to stable/12: Only install ebsnvme-id on amd64 for now. This port is in the "latest" ports tree but not in "quarterly", so we have a package for

svn commit: r361636 - head/sys/dev/usb/wlan

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Sat May 30 00:06:26 2020 New Revision: 361636 URL: https://svnweb.freebsd.org/changeset/base/361636 Log: [run] Set ampdu rxmax same as linux; RF2020 isn't an 11n NIC This is from the linux driver: * set the ampdu rx max to 32k for 1 stream devics like mine, and

svn commit: r361637 - head/sys/dev/usb/wlan

2020-05-29 Thread Adrian Chadd
Author: adrian Date: Sat May 30 00:07:42 2020 New Revision: 361637 URL: https://svnweb.freebsd.org/changeset/base/361637 Log: [run] Don't add 11ng channels (2GHz) for RF2020 Don't also add the 11ng channels if we're not in 11n mode or net80211 will get super weird. Modified:

svn commit: r361640 - head/sys/sys

2020-05-29 Thread Doug Moore
Author: dougm Date: Sat May 30 01:48:12 2020 New Revision: 361640 URL: https://svnweb.freebsd.org/changeset/base/361640 Log: RB_REMOVE invokes RB_REMOVE_COLOR either when child is red or child is null. In the first case, RB_REMOVE_COLOR just changes the child to black and returns. With this

svn commit: r361643 - stable/12/release/tools

2020-05-29 Thread Colin Percival
Author: cperciva Date: Sat May 30 02:50:26 2020 New Revision: 361643 URL: https://svnweb.freebsd.org/changeset/base/361643 Log: MFC r361143: Add /etc/autofs/special_efs to EC2 AMIs Sponsored by: https://www.patreon.com/cperciva Modified: stable/12/release/tools/ec2.conf Directory

svn commit: r361641 - head/sys/arm64/broadcom/genet

2020-05-29 Thread Mike Karels
Author: karels Date: Sat May 30 02:02:34 2020 New Revision: 361641 URL: https://svnweb.freebsd.org/changeset/base/361641 Log: genet: fix issues with transmit checksum offload Fix problem with ICMP echo replies: check only deferred data checksum flags, and not the received checksum status

Re: svn commit: r361360 - head/sys/dev/hyperv/hvsock

2020-05-29 Thread Kyle Evans
On Fri, May 22, 2020 at 10:51 AM Kyle Evans wrote: > > On Fri, May 22, 2020 at 4:17 AM Wei Hu wrote: > > > > Author: whu > > Date: Fri May 22 09:17:07 2020 > > New Revision: 361360 > > URL: https://svnweb.freebsd.org/changeset/base/361360 > > > > Log: > > Socket AF_HYPERV should return failure