svn commit: r351562 - head/sys/contrib/ipfilter/netinet

2019-08-27 Thread Cy Schubert
Author: cy Date: Wed Aug 28 04:55:03 2019 New Revision: 351562 URL: https://svnweb.freebsd.org/changeset/base/351562 Log: Destroy the mutex in case of error. Obtained from:NetBSD ip_nat.c r1.7 MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c Modified:

svn commit: r351563 - head/sys/contrib/ipfilter/netinet

2019-08-27 Thread Cy Schubert
Author: cy Date: Wed Aug 28 04:55:17 2019 New Revision: 351563 URL: https://svnweb.freebsd.org/changeset/base/351563 Log: Document ipf_nat_hashtab_add() return codes. MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c Modified: head/sys/contrib/ipfilter/netinet/ip

svn commit: r351561 - head/sys/contrib/ipfilter/netinet

2019-08-27 Thread Cy Schubert
Author: cy Date: Wed Aug 28 04:54:26 2019 New Revision: 351561 URL: https://svnweb.freebsd.org/changeset/base/351561 Log: Fixup typo in comment. Obtained from:NetBSD ip_nat.c r1.7 MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c Modified: head/sys/cont

svn commit: r351560 - in head: sys/fs/fuse tests/sys/fs/fusefs

2019-08-27 Thread Alan Somers
Author: asomers Date: Wed Aug 28 04:19:37 2019 New Revision: 351560 URL: https://svnweb.freebsd.org/changeset/base/351560 Log: fusefs: Fix some bugs regarding the size of the LISTXATTR list * A small error in r338152 let to the returned size always being exactly eight bytes too large.

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

2019-08-27 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 28 01:22:21 2019 New Revision: 351559 URL: https://svnweb.freebsd.org/changeset/base/351559 Log: proc: remove zpfind It is not used by anything. If someone wants it back it should be reimplemented to use the proc hash. Sponsored by: The FreeBSD Foundation

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
t;>> Author: jhb >>>>> Date: Tue Aug 27 00:01:56 2019 >>>>> New Revision: 351522 >>>>> URL: https://svnweb.freebsd.org/changeset/base/351522 >>>>> >>>>> Log: >>>>> Add kernel-side support for in-kernel TL

svn commit: r351558 - head/sys/kern

2019-08-27 Thread John Baldwin
Author: jhb Date: Tue Aug 27 22:21:18 2019 New Revision: 351558 URL: https://svnweb.freebsd.org/changeset/base/351558 Log: Only define the 'tls' member of sfio in KERN_TLS is defined. This field was not initialized in the !KERN_TLS case triggering an assertion failure when using sendfile(

svn commit: r351557 - head/sys/opencrypto

2019-08-27 Thread John Baldwin
Author: jhb Date: Tue Aug 27 21:29:37 2019 New Revision: 351557 URL: https://svnweb.freebsd.org/changeset/base/351557 Log: Adjust the deprecated warnings for /dev/crypto to be less noisy. Warn when actual operations are performed instead of when sessions are created. The /dev/crypto engi

Re: svn commit: r351550 - head/sys/cam/scsi

2019-08-27 Thread Scott Long
Excellent work, thank you! Scott > On Aug 27, 2019, at 2:57 PM, Alexander Motin wrote: > > Some FreeNAS user reported panic after updating to newer version. On > the screenshot provided were several BUSY statuses for SATA disk on > mps(4), followed by panic "Attempt to remove out-of-bounds in

Re: svn commit: r351187 - head/sys/arm64/rockchip

2019-08-27 Thread Peter Jeremy
On 2019-Aug-27 11:56:38 +0200, Michal Meloun wrote: > > >On 25.08.2019 9:28, Peter Jeremy wrote: >> On 2019-Aug-18 09:19:33 +, Michal Meloun >> wrote: >>> Improve rk_pinctrl driver: >> >> Sorry for the late notice but this breaks my Rock64 (RK3328). >> >Sorry for late response. >Seems like

Re: svn commit: r351550 - head/sys/cam/scsi

2019-08-27 Thread Alexander Motin
Some FreeNAS user reported panic after updating to newer version. On the screenshot provided were several BUSY statuses for SATA disk on mps(4), followed by panic "Attempt to remove out-of-bounds index -1 from queue ...". In his case I blame ancient LSI firmware or some broken hardware, but I was

Re: svn commit: r351555 - head/sys/kern

2019-08-27 Thread Mateusz Guzik
On 8/27/19, Mateusz Guzik wrote: > Author: mjg > Date: Tue Aug 27 20:30:56 2019 > New Revision: 351555 > URL: https://svnweb.freebsd.org/changeset/base/351555 > > Log: > vfs: stop passing LK_INTERLOCK to VOP_UNLOCK > > The plan is to drop the flags argument. There is also a temporary bug > n

svn commit: r351556 - head/sys/fs/unionfs

2019-08-27 Thread Mateusz Guzik
Author: mjg Date: Tue Aug 27 20:51:17 2019 New Revision: 351556 URL: https://svnweb.freebsd.org/changeset/base/351556 Log: unionfs: stop passing LK_INTERLOCK to VOP_UNLOCK This is part of the preparation to remove flags argument from VOP_UNLOCK. Also has a side effect of fixing stacking o

svn commit: r351555 - head/sys/kern

2019-08-27 Thread Mateusz Guzik
Author: mjg Date: Tue Aug 27 20:30:56 2019 New Revision: 351555 URL: https://svnweb.freebsd.org/changeset/base/351555 Log: vfs: stop passing LK_INTERLOCK to VOP_UNLOCK The plan is to drop the flags argument. There is also a temporary bug now that nullfs ignores the flag. Reviewed by:

Re: svn commit: r351550 - head/sys/cam/scsi

2019-08-27 Thread Scott Long
This is very concerning, and I wonder if it’s the cause of the mystery use-after-free / double-complete that I’ve seen for years and have never been able to catch. Can you say more about how you found it? Scott > On Aug 27, 2019, at 10:41 AM, Alexander Motin wrote: > > Author: mav > Date: T

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

2019-08-27 Thread Hiroki Sato
Author: hrs Date: Tue Aug 27 20:11:45 2019 New Revision: 351554 URL: https://svnweb.freebsd.org/changeset/base/351554 Log: MFV r351553: Fix a problem which prevented -OServerSSLOptions or -OClientSSLOptions specified in the command-line option from working. This patch has been accept

svn commit: r351553 - vendor/sendmail/dist/src

2019-08-27 Thread Hiroki Sato
Author: hrs Date: Tue Aug 27 19:37:19 2019 New Revision: 351553 URL: https://svnweb.freebsd.org/changeset/base/351553 Log: Fix a problem which prevented -OServerSSLOptions or -OClientSSLOptions specified in the command-line option from working. This patch has been accepted by the upstream

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
56 2019 >>>> New Revision: 351522 >>>> URL: https://svnweb.freebsd.org/changeset/base/351522 >>>> >>>> Log: >>>> Add kernel-side support for in-kernel TLS. >>>> >>> >>> Could this be yours? >>> &

svn commit: r351552 - head/sys/arm64/rockchip

2019-08-27 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 27 18:00:01 2019 New Revision: 351552 URL: https://svnweb.freebsd.org/changeset/base/351552 Log: arm64: rk3399: pinctrl: Add gpio banks and fix iomux Since r351187 the pinctrl driver need to know the gpio bank as it directly attach the gpio driver to handle some

svn commit: r351551 - head/sys/arm64/rockchip

2019-08-27 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 27 17:59:09 2019 New Revision: 351551 URL: https://svnweb.freebsd.org/changeset/base/351551 Log: arm64: rk3328: pinctrl: Add gpio banks and fix iomux Since r351187 the pinctrl driver need to know the gpio bank as it directly attach the gpio driver to handle some

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread Alan Somers
Date: Tue Aug 27 00:01:56 2019 > > >> New Revision: 351522 > > >> URL: https://svnweb.freebsd.org/changeset/base/351522 > > >> > > >> Log: > > >> Add kernel-side support for in-kernel TLS. > > >> > > > > > > C

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread Peter Holm
RL: https://svnweb.freebsd.org/changeset/base/351522 > >> > >> Log: > >> Add kernel-side support for in-kernel TLS. > >> > > > > Could this be yours? > > > > 20190827 15:55:34 all (496/668): sendfile12.sh > > Aug 27 15:56:16

svn commit: r351550 - head/sys/cam/scsi

2019-08-27 Thread Alexander Motin
Author: mav Date: Tue Aug 27 16:41:06 2019 New Revision: 351550 URL: https://svnweb.freebsd.org/changeset/base/351550 Log: Always check cam_periph_error() status for ERESTART. Even if we do not expect retries, we better be sure, since otherwise it may result in use after free kernel panic

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
On 8/27/19 6:04 AM, Shawn Webb wrote: > On Mon, Aug 26, 2019 at 05:14:42PM -0700, John Baldwin wrote: >> On 8/26/19 5:01 PM, John Baldwin wrote: >>> Author: jhb >>> Date: Tue Aug 27 00:01:56 2019 >>> New Revision: 351522 >>> URL: https://svnweb.freebsd.org/changeset/base/351522 >>> >>> Log: >>> A

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
; Add kernel-side support for in-kernel TLS. >> > > Could this be yours? > > 20190827 15:55:34 all (496/668): sendfile12.sh > Aug 27 15:56:16 mercat1 kernel: pid 50036 (swap), jid 0, uid 0, was killed: > out of swap space > panic: non-ext_pgs mbuf with TLS session Pos

svn commit: r351549 - head/sys/kern

2019-08-27 Thread Mark Johnston
Author: markj Date: Tue Aug 27 15:42:08 2019 New Revision: 351549 URL: https://svnweb.freebsd.org/changeset/base/351549 Log: Remove an extraneous + 1 in _domainset_create(). DOMAINSET_FLS, like our fls(), is 1-indexed. Reported by: alc MFC after:1 week Sponsored by: The FreeBS

svn commit: r351548 - head/sbin/ping

2019-08-27 Thread Alan Somers
Author: asomers Date: Tue Aug 27 15:34:37 2019 New Revision: 351548 URL: https://svnweb.freebsd.org/changeset/base/351548 Log: ping: raise WARNS level to 6 Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google LLC (Google Summer of Code 2019) Differential Revision:

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread Peter Holm
On Tue, Aug 27, 2019 at 12:01:57AM +, John Baldwin wrote: > Author: jhb > Date: Tue Aug 27 00:01:56 2019 > New Revision: 351522 > URL: https://svnweb.freebsd.org/changeset/base/351522 > > Log: > Add kernel-side support for in-kernel TLS. > Could this be yours

svn commit: r351547 - head/sys/kern

2019-08-27 Thread Mark Johnston
Author: markj Date: Tue Aug 27 14:06:34 2019 New Revision: 351547 URL: https://svnweb.freebsd.org/changeset/base/351547 Log: Fix several logic issues in domainset_empty_vm(). - Don't add 1 to the result of DOMAINSET_FLS. - Do not modify domainsets containing only empty domains. - Always

svn commit: r351546 - head/sys/powerpc/booke

2019-08-27 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 27 14:04:32 2019 New Revision: 351546 URL: https://svnweb.freebsd.org/changeset/base/351546 Log: Revert a part of r350883 that should never have gone in The wire_count change is not part of the unification, and doesn't even make sense. Reported by: mar

svn commit: r351545 - head/tests/sys/sys

2019-08-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 27 13:55:45 2019 New Revision: 351545 URL: https://svnweb.freebsd.org/changeset/base/351545 Log: Fix build on 32 bit archs. Modified: head/tests/sys/sys/qmath_test.c Modified: head/tests/sys/sys/qmath_test.c

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread Shawn Webb
On Mon, Aug 26, 2019 at 05:14:42PM -0700, John Baldwin wrote: > On 8/26/19 5:01 PM, John Baldwin wrote: > > Author: jhb > > Date: Tue Aug 27 00:01:56 2019 > > New Revision: 351522 > > URL: https://svnweb.freebsd.org/changeset/base/351522 > > > > Log: > > Add kernel-side support for in-kernel TLS

svn commit: r351544 - in head: lib/msun/man share/man/man3 sys/sys tests/sys/sys

2019-08-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 27 11:46:22 2019 New Revision: 351544 URL: https://svnweb.freebsd.org/changeset/base/351544 Log: Introduce , a fixed-point math library from Netflix.
 This makes it possible to perform mathematical operations
on fractional values without using floating point. It o

Re: svn commit: r351187 - head/sys/arm64/rockchip

2019-08-27 Thread Michal Meloun
On 25.08.2019 9:28, Peter Jeremy wrote: > On 2019-Aug-18 09:19:33 +, Michal Meloun > wrote: >> Improve rk_pinctrl driver: > > Sorry for the late notice but this breaks my Rock64 (RK3328). > Sorry for late response. Seems like this is caused by unnoticed dependency between patches in my wo

svn commit: r351543 - head/sys/arm64/rockchip

2019-08-27 Thread Michal Meloun
Author: mmel Date: Tue Aug 27 09:20:01 2019 New Revision: 351543 URL: https://svnweb.freebsd.org/changeset/base/351543 Log: Add support for RK3288 into existing RockChip drivers. This patch ensures only minimal level of compatibility necessary to boot on RK3288 based boards. GPIO and pinctrl

svn commit: r351542 - head/sys/kern

2019-08-27 Thread Konstantin Belousov
Author: kib Date: Tue Aug 27 08:28:38 2019 New Revision: 351542 URL: https://svnweb.freebsd.org/changeset/base/351542 Log: vn_vget_ino_gen(): relock the lower vnode on error. The function' interface assumes that the lower vnode is passed and returned locked always. Reported and teste

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread Maxim Konovalov
On 27/08/2019 03:01, John Baldwin wrote: > Author: jhb > Date: Tue Aug 27 00:01:56 2019 > New Revision: 351522 > URL: https://svnweb.freebsd.org/changeset/base/351522 > > Log: > Add kernel-side support for in-kernel TLS. > [...] > This patch is the culmination of years of work by several fo

svn commit: r351541 - stable/12/sys/dev/sound/pci/hda

2019-08-27 Thread Marcelo Araujo
Author: araujo Date: Tue Aug 27 07:17:31 2019 New Revision: 351541 URL: https://svnweb.freebsd.org/changeset/base/351541 Log: MFC r350433: Fix sound on headset jack for ALC255 and ALC256 codec. PR: 219350 [1], [2] Submitted by: Masachika ISHIZUKA (ish_at_amail.plala.or.jp) [1]