svn commit: r363440 - head/sys/netinet

2020-07-22 Thread Michael Tuexen
Author: tuexen Date: Thu Jul 23 01:35:24 2020 New Revision: 363440 URL: https://svnweb.freebsd.org/changeset/base/363440 Log: Detect and handle an invalid reassembly constellation, which results in a memory leak. Thanks to Felix Weinrank for finding this issue using fuzz testing the use

svn commit: r363439 - head/usr.sbin/mountd

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 23:39:58 2020 New Revision: 363439 URL: https://svnweb.freebsd.org/changeset/base/363439 Log: Correct a type-mismatch between xdr_long and the variable "bad". Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD information leak fix via OpenB

svn commit: r363438 - head/sys/kern

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 23:35:41 2020 New Revision: 363438 URL: https://svnweb.freebsd.org/changeset/base/363438 Log: Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions. No functional change. When these SYSINITs were added these macros didn't exist. Reviewed by: imp

svn commit: r363437 - head/sys/fs/nfsclient

2020-07-22 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 22 23:33:37 2020 New Revision: 363437 URL: https://svnweb.freebsd.org/changeset/base/363437 Log: Modify writing to mirrored pNFS DSs to prepare for use of ext_pgs mbufs. This patch modifies writing to mirrored pNFS DSs slightly so that there is only one m_co

svn commit: r363436 - in head/sys: arm64/arm64 riscv/riscv

2020-07-22 Thread John Baldwin
Author: jhb Date: Wed Jul 22 22:51:14 2020 New Revision: 363436 URL: https://svnweb.freebsd.org/changeset/base/363436 Log: Add missing space after switch. Reviewed by: br, emaste Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D25778 Modified: head/sys/

svn commit: r363435 - head/usr.sbin/mountd

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 21:44:51 2020 New Revision: 363435 URL: https://svnweb.freebsd.org/changeset/base/363435 Log: Avoid reading one byte before the path buffer. This happens when there's only one component (e.g. "/foo"). This (mostly-harmless) bug has been present since June 1

svn commit: r363431 - in head/sys: amd64/amd64 i386/i386

2020-07-22 Thread Alexander Motin
Author: mav Date: Wed Jul 22 20:15:21 2020 New Revision: 363431 URL: https://svnweb.freebsd.org/changeset/base/363431 Log: Untie nmi_handle_intr() from DEV_ISA. The only part of nmi_handle_intr() depending on ISA is isa_nmi(), which is already wrapped. Entering debugger on NMI does not r

svn commit: r363428 - head/sys/cam/mmc

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 19:08:05 2020 New Revision: 363428 URL: https://svnweb.freebsd.org/changeset/base/363428 Log: mmccam: Add support for 1.2V and 1.8V eMMC If the card reports that it support 1.2V or 1.8V signaling switch to this voltage. Submitted by: kibab Modified: he

svn commit: r363427 - in head/sys/cam: . mmc

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 19:04:45 2020 New Revision: 363427 URL: https://svnweb.freebsd.org/changeset/base/363427 Log: mmccam: Add support for 1.8V sdcard If the card reports that it support 1.8V signaling switch to this voltage. While here update the list of mode for mmccam. Su

svn commit: r363426 - head/sys/arm/allwinner

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 18:33:36 2020 New Revision: 363426 URL: https://svnweb.freebsd.org/changeset/base/363426 Log: aw_mmc: Start a mmccam discovery when the CD handler is called. Submitted by: kibab Modified: head/sys/arm/allwinner/aw_mmc.c Modified: head/sys/arm/allwinner/aw_m

svn commit: r363425 - in head/sys: cam/mmc dev/sdhci

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 18:30:17 2020 New Revision: 363425 URL: https://svnweb.freebsd.org/changeset/base/363425 Log: mmccam: Add a generic mmccam_start_discovery function This is a generic function start a scan request for the given cam_sim. Other driver can now just use this fun

svn commit: r363424 - head/sys/cam/mmc

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 18:21:37 2020 New Revision: 363424 URL: https://svnweb.freebsd.org/changeset/base/363424 Log: mmccam: Use a sbuf for the mmc ident function While here fix a typo. Modified: head/sys/cam/mmc/mmc_xpt.c Modified: head/sys/cam/mmc/mmc_xpt.c

svn commit: r363422 - head/sys/cam/mmc

2020-07-22 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 22 17:36:28 2020 New Revision: 363422 URL: https://svnweb.freebsd.org/changeset/base/363422 Log: mmc_xpt: Fix debug messages PROBE_RESET was printed for PROBE_IDENTIFY, fix this. While here add one for the PROBE_RESET. Submitted by: kibab Modified: head/

svn commit: r363423 - head/tests/sys/geom/class/eli

2020-07-22 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Jul 22 17:37:11 2020 New Revision: 363423 URL: https://svnweb.freebsd.org/changeset/base/363423 Log: Fix sys.geom.class.eli.onetime_test.onetime after r363402 PR: 247954 X-MFC with: r363402 Sponsored by: The FreeBSD Foundation Modified: head/tests/

svn commit: r363421 - head/usr.sbin/pkg

2020-07-22 Thread Kyle Evans
Author: kevans Date: Wed Jul 22 17:33:35 2020 New Revision: 363421 URL: https://svnweb.freebsd.org/changeset/base/363421 Log: pkg-bootstrap: complain on improper `pkg bootstrap` usage Right now, the bootstrap will gloss over things like pkg bootstrap -x or pkg bootstrap -f pkg. Make it mo

svn commit: r363420 - in head/sys: compat/linuxkpi/common/src dev/sound/usb dev/usb dev/usb/input dev/usb/storage

2020-07-22 Thread Mark Johnston
Author: markj Date: Wed Jul 22 14:32:47 2020 New Revision: 363420 URL: https://svnweb.freebsd.org/changeset/base/363420 Log: usb(4): Stop checking for failures from malloc(M_WAITOK). Handle the fact that parts of usb(4) can be compiled into the boot loader, where M_WAITOK does not guarant

svn commit: r363417 - in head: etc/mtree sbin/route sbin/route/tests

2020-07-22 Thread Tom Jones
Author: thj Date: Wed Jul 22 13:49:54 2020 New Revision: 363417 URL: https://svnweb.freebsd.org/changeset/base/363417 Log: Add tests for "add", "change" and "delete" functionality of /sbin/route. Add tests to cover "add", "change" and "delete" functionality of /sbin/route for ipv4 and ipv

svn commit: r363416 - head/lib/geom/eli

2020-07-22 Thread Gordon Bergling
Author: gbe (doc committer) Date: Wed Jul 22 13:00:56 2020 New Revision: 363416 URL: https://svnweb.freebsd.org/changeset/base/363416 Log: geli(8): Add missing commands in the EXAMPLES section - Add a missing 'geli attach' command - Fix the passphrase prompt for a 'geli attach' command

svn commit: r363415 - in head/sys: kern sys ufs/ffs

2020-07-22 Thread Mateusz Guzik
Author: mjg Date: Wed Jul 22 12:30:31 2020 New Revision: 363415 URL: https://svnweb.freebsd.org/changeset/base/363415 Log: lockmgr: add adaptive spinning It is very conservative. Only spinning when LK_ADAPTIVE is passed, only on exclusive lock and never when any waiters are present. buffe