svn commit: r339678 - head/stand/lua

2018-10-23 Thread Kyle Evans
Author: kevans Date: Wed Oct 24 03:14:10 2018 New Revision: 339678 URL: https://svnweb.freebsd.org/changeset/base/339678 Log: menu.lua: Abort autoboot sequence on failed command Currently, a timeout in the menu autoboot sequence would effectively do nothing. We would return from the autob

svn commit: r339677 - head/stand/lua

2018-10-23 Thread Kyle Evans
Author: kevans Date: Wed Oct 24 02:02:37 2018 New Revision: 339677 URL: https://svnweb.freebsd.org/changeset/base/339677 Log: lualoader: unload upon kernel change if a kernel was previously loaded In the majority of cases, a kernel is not loaded before we hit the menu. However, if a passw

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

2018-10-23 Thread Kristof Provost
Author: kp Date: Wed Oct 24 00:19:44 2018 New Revision: 339676 URL: https://svnweb.freebsd.org/changeset/base/339676 Log: pf: Fix copy/paste error in IPv6 address rewriting We checked the destination address, but replaced the source address. This was fixed in OpenBSD as part of their NAT

svn commit: r339675 - head/lib/libcasper/libcasper

2018-10-23 Thread Mark Johnston
Author: markj Date: Wed Oct 24 00:17:19 2018 New Revision: 339675 URL: https://svnweb.freebsd.org/changeset/base/339675 Log: Fix comments. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/lib/libcasper/libcasper/libcasper.c Modified: head/lib/libcasper/libcaspe

svn commit: r339673 - head/stand/libsa

2018-10-23 Thread Konstantin Belousov
Author: kib Date: Tue Oct 23 23:11:38 2018 New Revision: 339673 URL: https://svnweb.freebsd.org/changeset/base/339673 Log: Fix stand/ build after r339671. ffs_subr.c requires calculate_crc32c() from libkern. Unfortunately we cannot just add libkern/crc32.c to libstand because crc32.o is

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

2018-10-23 Thread Kristof Provost
Author: kp Date: Tue Oct 23 23:15:44 2018 New Revision: 339674 URL: https://svnweb.freebsd.org/changeset/base/339674 Log: pf: ifp can never be NULL in pfi_ifaddr_event() There's no point in the NULL check for ifp, because we'll already have dereferenced it by then. Moreover, the event wil

svn commit: r339672 - in head/sys: fs/nfsclient kern sys tools

2018-10-23 Thread Konstantin Belousov
Author: kib Date: Tue Oct 23 21:43:41 2018 New Revision: 339672 URL: https://svnweb.freebsd.org/changeset/base/339672 Log: Only call sigdeferstop() for NFS. Use bypass to catch any NFS VOP dispatch and route it through the wrapper which does sigdeferstop() and then dispatches original V

svn commit: r339671 - in head: sbin/fsck_ffs sbin/newfs sys/sys sys/ufs/ffs

2018-10-23 Thread Kirk McKusick
Author: mckusick Date: Tue Oct 23 21:10:06 2018 New Revision: 339671 URL: https://svnweb.freebsd.org/changeset/base/339671 Log: Continuing efforts to provide hardening of FFS, this change adds a check hash to the superblock. If a check hash fails when an attempt is made to mount a filesystem

svn commit: r339668 - head/sys/sys

2018-10-23 Thread Warner Losh
Author: imp Date: Tue Oct 23 20:45:46 2018 New Revision: 339668 URL: https://svnweb.freebsd.org/changeset/base/339668 Log: For the moment, put back the MOUSE_PROTO_{BUS,INPORT} #defines until some ports can be updated. Modified: head/sys/sys/mouse.h Modified: head/sys/sys/mouse.h =

Re: svn commit: r339646 - head/sys/net

2018-10-23 Thread Kristof Provost
> On 23 Oct 2018, at 06:03, Andrey V. Elsukov wrote: > > Author: ae > Date: Tue Oct 23 13:03:03 2018 > New Revision: 339646 > URL: https://svnweb.freebsd.org/changeset/base/339646 > > Log: > Add the check that current VNET is ready and access to srchash is > allowed. > > ipsec_srcaddr() c

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

2018-10-23 Thread Navdeep Parhar
Author: np Date: Tue Oct 23 18:32:55 2018 New Revision: 339667 URL: https://svnweb.freebsd.org/changeset/base/339667 Log: cxgbe/iw_cxgbe: save the ep in the driver-private provider_data field. Submitted By: Lily Wang @ Netapp MFC after:1 week Modified: head/sys/dev/cxgbe/iw_cxgb

svn commit: r339666 - head/sys/dev/cxgbe/crypto

2018-10-23 Thread John Baldwin
Author: jhb Date: Tue Oct 23 18:31:39 2018 New Revision: 339666 URL: https://svnweb.freebsd.org/changeset/base/339666 Log: Support the SHA224 HMAC algorithm in ccr(4). MFC after:2 months Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/crypto/t4_crypto.c Modified:

svn commit: r339665 - head/sys/opencrypto

2018-10-23 Thread John Baldwin
Author: jhb Date: Tue Oct 23 18:07:37 2018 New Revision: 339665 URL: https://svnweb.freebsd.org/changeset/base/339665 Log: Add sha224 to the authctx union. MFC after:2 months Sponsored by: Chelsio Communications Modified: head/sys/opencrypto/xform_auth.h Modified: head/sys/opencry

svn commit: r339664 - head/sys/vm

2018-10-23 Thread Mark Johnston
Author: markj Date: Tue Oct 23 18:07:16 2018 New Revision: 339664 URL: https://svnweb.freebsd.org/changeset/base/339664 Log: Initialize static domainsets regardless of whether an SRAT is present. Reported by: yuripv X-MFC with: r339452 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r339663 - head/sys/dev/nvdimm

2018-10-23 Thread Konstantin Belousov
Author: kib Date: Tue Oct 23 17:53:35 2018 New Revision: 339663 URL: https://svnweb.freebsd.org/changeset/base/339663 Log: Initializer error variable in nvdimm_spa_uio(). Several code paths might result in returning uninitialized value. Reported by: coverity through cem CID: 139631

svn commit: r339662 - in head/sys: kern net

2018-10-23 Thread Eric Joyner
Author: erj Date: Tue Oct 23 17:06:36 2018 New Revision: 339662 URL: https://svnweb.freebsd.org/changeset/base/339662 Log: Revert r339634. That commit is causing kernel panics in em(4), so this will be reverted until those are fixed. Reported by: ae@, pho@, et al Sponsored by: Int

svn commit: r339661 - in head/sys: sys vm

2018-10-23 Thread Mark Johnston
Author: markj Date: Tue Oct 23 16:35:58 2018 New Revision: 339661 URL: https://svnweb.freebsd.org/changeset/base/339661 Log: Refactor domainset iterators for use by malloc(9) and UMA. Before this change we had two flavours of vm_domainset iterators: "page" and "malloc". The latter was on

RE: svn commit: r339658 - head/stand/i386/libi386

2018-10-23 Thread Cy Schubert
Thank you Toomas. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -Original Message- From: Toomas Soome Sent: 23/10/2018 07:44

svn commit: r339659 - in head: share/man/man4 tools/tools/netmap

2018-10-23 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Oct 23 15:34:43 2018 New Revision: 339659 URL: https://svnweb.freebsd.org/changeset/base/339659 Log: netmap: add man page for the bridge program Added bridge(8). Also, minor fixes to the netmap "bridge" application: - indentation fixes and code cleanup -

svn commit: r339658 - head/stand/i386/libi386

2018-10-23 Thread Toomas Soome
Author: tsoome Date: Tue Oct 23 14:44:32 2018 New Revision: 339658 URL: https://svnweb.freebsd.org/changeset/base/339658 Log: loader: biosdisk interface should be able to cope with 4k sectors The 4kn support in current bios specific biosdisk.c is broken, as the code is only implementing t

svn commit: r339657 - head/release

2018-10-23 Thread Glen Barber
Author: gjb Date: Tue Oct 23 14:38:08 2018 New Revision: 339657 URL: https://svnweb.freebsd.org/changeset/base/339657 Log: Add debug.witness.trace=0 back to the installer sysctl.conf(5), incorrectly removed from head when it should have been removed from stable/12 post-branch. Reported

svn commit: r339656 - head/lib/libc/stdio

2018-10-23 Thread Cy Schubert
Author: cy Date: Tue Oct 23 14:16:02 2018 New Revision: 339656 URL: https://svnweb.freebsd.org/changeset/base/339656 Log: Follow up on r331936. gets_s(3) will also fail in the same way that gets(3) does. This was missed in r331936. Reported by: emaste@ MFC after:3 days Modified:

svn commit: r339655 - head/contrib/jemalloc/src

2018-10-23 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 23 14:11:35 2018 New Revision: 339655 URL: https://svnweb.freebsd.org/changeset/base/339655 Log: Pick f80c97e477d1b3fe7778c65d9439d673738b4131 from upstream: Rework the way jemalloc uses mmap(2) on FreeBSD. This makes it directly use MAP_EXCL and MAP

svn commit: r339654 - head/contrib/jemalloc/src

2018-10-23 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 23 13:54:54 2018 New Revision: 339654 URL: https://svnweb.freebsd.org/changeset/base/339654 Log: Pick 676cdd66792ccb629a978837ea2a066d5db342cc from upstream: Disable runtime detection of lazy purging support on FreeBSD. The check doesn't seem to serv

svn commit: r339653 - head/usr.bin/ldd

2018-10-23 Thread Mark Johnston
Author: markj Date: Tue Oct 23 13:49:53 2018 New Revision: 339653 URL: https://svnweb.freebsd.org/changeset/base/339653 Log: Add an IMPLEMENTATION NOTES section to ldd.1. PR: 231926 Reviewed by: emaste MFC after:1 month Modified: head/usr.bin/ldd/ldd.1 Modified: head/

svn commit: r339651 - head/stand/libsa

2018-10-23 Thread Toomas Soome
Author: tsoome Date: Tue Oct 23 13:38:39 2018 New Revision: 339651 URL: https://svnweb.freebsd.org/changeset/base/339651 Log: libsa: re-send ACK for older data packets in tftp In current tftp code we drop out-of-order packets; however, we should play nice and re-send ACK for older data pa

svn commit: r339649 - in head/sys: net netinet netinet6

2018-10-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 23 13:11:45 2018 New Revision: 339649 URL: https://svnweb.freebsd.org/changeset/base/339649 Log: Add the check that current VNET is ready and access to srchash is allowed. This change is similar to r339646. The callback that checks for appearing and disappearing o

svn commit: r339648 - head/usr.bin/ar

2018-10-23 Thread Ed Maste
Author: emaste Date: Tue Oct 23 13:07:03 2018 New Revision: 339648 URL: https://svnweb.freebsd.org/changeset/base/339648 Log: ar: report errno on warning/error Previously ar would report an error like "ar: fatal: Write error" without including additional errno information. Change warning

svn commit: r339647 - head/share/man/man7

2018-10-23 Thread Ed Maste
Author: emaste Date: Tue Oct 23 13:03:24 2018 New Revision: 339647 URL: https://svnweb.freebsd.org/changeset/base/339647 Log: arch.7: update final ia64 release to 10.4 No more 10.x releases are planned. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 ==

svn commit: r339646 - head/sys/net

2018-10-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 23 13:03:03 2018 New Revision: 339646 URL: https://svnweb.freebsd.org/changeset/base/339646 Log: Add the check that current VNET is ready and access to srchash is allowed. ipsec_srcaddr() callback can be called during VNET teardown, since ingress address checkin

svn commit: r339645 - head

2018-10-23 Thread Ed Maste
Author: emaste Date: Tue Oct 23 13:00:11 2018 New Revision: 339645 URL: https://svnweb.freebsd.org/changeset/base/339645 Log: sort {delete,check}-old* output It is more convenient to review old libraries, files, and directories in order. Sort check-* after checking for existence of f

svn commit: r339643 - head/sys/dev/ipw

2018-10-23 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 23 12:53:09 2018 New Revision: 339643 URL: https://svnweb.freebsd.org/changeset/base/339643 Log: Fix ipw_start(), where logic was reverted in r287197. PR: 232554 Submitted by: gl0...@mail.ru Modified: head/sys/dev/ipw/if_ipw.c Modified: head/sys

svn commit: r339642 - head/sys/net

2018-10-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 23 12:50:28 2018 New Revision: 339642 URL: https://svnweb.freebsd.org/changeset/base/339642 Log: Remove softc from idhash when interface is destroyed. MFC after:20 days Modified: head/sys/net/if_ipsec.c Modified: head/sys/net/if_ipsec.c =

Re: svn commit: r339634 - in head/sys: kern net

2018-10-23 Thread Peter Holm
On Tue, Oct 23, 2018 at 04:37:29AM +, Eric Joyner wrote: > Author: erj > Date: Tue Oct 23 04:37:29 2018 > New Revision: 339634 > URL: https://svnweb.freebsd.org/changeset/base/339634 > > Log: > iflib: drain enqueued tasks before detaching from taskqgroup > > The taskqgroup_detach functi

Re: svn commit: r339634 - in head/sys: kern net

2018-10-23 Thread Andrey V. Elsukov
On 23.10.2018 07:37, Eric Joyner wrote: > Author: erj > Date: Tue Oct 23 04:37:29 2018 > New Revision: 339634 > URL: https://svnweb.freebsd.org/changeset/base/339634 > > Log: > iflib: drain enqueued tasks before detaching from taskqgroup > > The taskqgroup_detach function does not check if

svn commit: r339639 - in head/sys: conf dev/netmap net

2018-10-23 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Oct 23 08:55:16 2018 New Revision: 339639 URL: https://svnweb.freebsd.org/changeset/base/339639 Log: netmap: align codebase to the current upstream (sha 8374e1a7e6941) Changelist: - Move large parts of VALE code to a new file and header netmap_bdg.[ch].

Re: svn commit: r339554 - head/sys/net

2018-10-23 Thread Andrey V. Elsukov
On 23.10.2018 07:17, Kristof Provost wrote: > I think I understand what’s happening here. > > With this patch I see a different panic: > > |diff --git a/sys/net/if_ipsec.c b/sys/net/if_ipsec.c index > 91b11a455b3..146cb59 100644 --- a/sys/net/if_ipsec.c +++ > b/sys/net/if_ipsec.c @@ -134,6 +1