svn commit: r344716 - in head/sys: powerpc/powerpc sys

2019-03-01 Thread Justin Hibbits
Author: jhibbits Date: Sat Mar 2 01:51:41 2019 New Revision: 344716 URL: https://svnweb.freebsd.org/changeset/base/344716 Log: powerpc: Scale intrcnt by mp_ncpus On very large powerpc64 systems (2x22x4 power9) it's very easy to run out of available IRQs and crash the system at boot. Sca

svn commit: r344714 - head/sys/crypto/chacha20

2019-03-01 Thread Conrad Meyer
Author: cem Date: Fri Mar 1 23:30:23 2019 New Revision: 344714 URL: https://svnweb.freebsd.org/changeset/base/344714 Log: Embedded chacha: Add 0-bit iv + 128-bit counter mode This mode might be suitable for a Fortuna keystream primitive. Reviewed by: markm Sponsored by: Dell EMC Is

svn commit: r344713 - head/sys/dev/random

2019-03-01 Thread Conrad Meyer
Author: cem Date: Fri Mar 1 22:51:45 2019 New Revision: 344713 URL: https://svnweb.freebsd.org/changeset/base/344713 Log: fortuna: Deduplicate kernel vs user includes No functional change. Reviewed by: markj, markm Approved by: secteam (delphij), core (brooks) Sponsored by: Dell

svn commit: r344712 - stable/12/sbin/pfctl

2019-03-01 Thread Kristof Provost
Author: kp Date: Fri Mar 1 22:33:24 2019 New Revision: 344712 URL: https://svnweb.freebsd.org/changeset/base/344712 Log: MFC r343978: pfctl: Fix ifa_grouplookup() Setting the length of the request got lost in r343287, which means SIOCGIFGMEMB gives us the required length, but does

svn commit: r344711 - head/sys/amd64/vmm/intel

2019-03-01 Thread John Baldwin
Author: jhb Date: Fri Mar 1 20:43:48 2019 New Revision: 344711 URL: https://svnweb.freebsd.org/changeset/base/344711 Log: Fix missed posted interrupts in VT-x in bhyve. When a vCPU is HLTed, interrupts with a priority below the processor priority (PPR) should not resume the vCPU while in

svn commit: r344710 - head/sys/dev/random

2019-03-01 Thread Conrad Meyer
Author: cem Date: Fri Mar 1 19:21:45 2019 New Revision: 344710 URL: https://svnweb.freebsd.org/changeset/base/344710 Log: Fortuna: push CTR-mode loop down into randomdev hash.h interface As a step towards adding other potential streaming ciphers. As well as just pushing the loop down in

svn commit: r344709 - head/sbin/ipfw

2019-03-01 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Fri Mar 1 19:06:13 2019 New Revision: 344709 URL: https://svnweb.freebsd.org/changeset/base/344709 Log: Fix typos and caps for ipfw(8) man page. MFC after:3 days PR: 236030 Submitted by: olgeni Modified: head/sbin/ipfw/ipfw.8 Modified

svn commit: r344708 - head/sys/netinet

2019-03-01 Thread Michael Tuexen
Author: tuexen Date: Fri Mar 1 18:47:41 2019 New Revision: 344708 URL: https://svnweb.freebsd.org/changeset/base/344708 Log: Honor the memory limits provided when processing the IPPROTO_SCTP level socket option SCTP_GET_LOCAL_ADDRESSES in a getsockopt() call. Thanks to Thomas Barabosch f

svn commit: r344707 - stable/11/sys/netpfil/pf

2019-03-01 Thread Kristof Provost
Author: kp Date: Fri Mar 1 18:12:07 2019 New Revision: 344707 URL: https://svnweb.freebsd.org/changeset/base/344707 Log: MFC r344691: pf: IPv6 fragments with malformed extension headers could be erroneously passed by pf or cause a panic We mistakenly used the extoff value from the la

svn commit: r344706 - stable/12/sys/netpfil/pf

2019-03-01 Thread Kristof Provost
Author: kp Date: Fri Mar 1 18:12:05 2019 New Revision: 344706 URL: https://svnweb.freebsd.org/changeset/base/344706 Log: MFC r344691: pf: IPv6 fragments with malformed extension headers could be erroneously passed by pf or cause a panic We mistakenly used the extoff value from the la

svn commit: r344705 - in head/sys: amd64/amd64 amd64/cloudabi32 amd64/cloudabi64 amd64/linux amd64/linux32 arm/arm arm/cloudabi32 arm64/arm64 arm64/cloudabi32 arm64/cloudabi64 arm64/linux compat/ia...

2019-03-01 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 1 16:16:38 2019 New Revision: 344705 URL: https://svnweb.freebsd.org/changeset/base/344705 Log: Remove sv_pagesize, originally introduced with r100384. In all of the architectures we have today, we always use PAGE_SIZE. While in theory one could define differe

svn commit: r344704 - head/sys/netinet

2019-03-01 Thread Michael Tuexen
Author: tuexen Date: Fri Mar 1 15:57:55 2019 New Revision: 344704 URL: https://svnweb.freebsd.org/changeset/base/344704 Log: Improve consistency, not functional change. MFC after:3 days Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c ==

svn commit: r344702 - head/sys/conf

2019-03-01 Thread Alexander Motin
Author: mav Date: Fri Mar 1 15:00:13 2019 New Revision: 344702 URL: https://svnweb.freebsd.org/changeset/base/344702 Log: There is no `device atacard` but there is `device atapccard`. Reported by: Dmitry Luhtionov MFC after:1 week Modified: head/sys/conf/NOTES Modified: head/sy

svn commit: r344701 - head/sbin/camcontrol

2019-03-01 Thread Steven Hartland
Author: smh Date: Fri Mar 1 14:39:15 2019 New Revision: 344701 URL: https://svnweb.freebsd.org/changeset/base/344701 Log: Fix incorrect / unused sector_count for identify requests Fix incorrect / unused sector_count for identify requests from camcontrol. Submitted by: Alexey Dokuchaev

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

2019-03-01 Thread Bjoern A. Zeeb
Author: bz Date: Fri Mar 1 14:33:20 2019 New Revision: 344700 URL: https://svnweb.freebsd.org/changeset/base/344700 Log: Add ushort and ulong to linux/types.h. When porting code once written for Linux we find not only uints but also ushort and ulong. Provide central typedefs as part of

svn commit: r344699 - head/sys/arm64/rockchip/clk

2019-03-01 Thread Emmanuel Vadot
Author: manu Date: Fri Mar 1 13:05:37 2019 New Revision: 344699 URL: https://svnweb.freebsd.org/changeset/base/344699 Log: arm64: rockchip: rk3399_pll: Fix the recalc function The plls frequency are now correctly calculated in fractional mode and integer mode. While here add some debug

svn commit: r344697 - stable/12/lib/libc/sys

2019-03-01 Thread Konstantin Belousov
Author: kib Date: Fri Mar 1 11:29:18 2019 New Revision: 344697 URL: https://svnweb.freebsd.org/changeset/base/344697 Log: MFC r344592: procctl(2): fix -width parameter to .Bl. Modified: stable/12/lib/libc/sys/procctl.2 Directory Properties: stable/12/ (props changed) Modified: stable/

svn commit: r344698 - stable/11/lib/libc/sys

2019-03-01 Thread Konstantin Belousov
Author: kib Date: Fri Mar 1 11:30:19 2019 New Revision: 344698 URL: https://svnweb.freebsd.org/changeset/base/344698 Log: MFC r344592: procctl(2): fix -width parameter to .Bl. Modified: stable/11/lib/libc/sys/procctl.2 Directory Properties: stable/11/ (props changed) Modified: stable/

svn commit: r344696 - head/tools/tools/netmap

2019-03-01 Thread Vincenzo Maffione
Author: vmaffione Date: Fri Mar 1 09:10:16 2019 New Revision: 344696 URL: https://svnweb.freebsd.org/changeset/base/344696 Log: netmap: pkt-gen: fix bug in send_packets() The send_packets() function was using ring->cur as index to scan the transmit ring. This function may also set ring->

svn commit: r344694 - in stable/11/sys/dev/usb: . quirk

2019-03-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 1 08:05:29 2019 New Revision: 344694 URL: https://svnweb.freebsd.org/changeset/base/344694 Log: MFC r344477: Add new USB quirk. PR: 235897 Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/usb/quirk/usb_quirk.c

svn commit: r344695 - in stable/10/sys/dev/usb: . quirk

2019-03-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 1 08:06:23 2019 New Revision: 344695 URL: https://svnweb.freebsd.org/changeset/base/344695 Log: MFC r344477: Add new USB quirk. PR: 235897 Sponsored by: Mellanox Technologies Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c

svn commit: r344692 - head/tests/sys/netpfil/pf

2019-03-01 Thread Kristof Provost
Author: kp Date: Fri Mar 1 07:39:55 2019 New Revision: 344692 URL: https://svnweb.freebsd.org/changeset/base/344692 Log: pf tests: Test CVE-2019-5597 Generate a fragmented packet with different header chains, to provoke the incorrect behaviour of pf. Without the fix this will trigger a

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

2019-03-01 Thread Kristof Provost
Author: kp Date: Fri Mar 1 07:37:45 2019 New Revision: 344691 URL: https://svnweb.freebsd.org/changeset/base/344691 Log: pf: IPv6 fragments with malformed extension headers could be erroneously passed by pf or cause a panic We mistakenly used the extoff value from the last packet to patch

svn commit: r344693 - in stable/12/sys/dev/usb: . quirk

2019-03-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 1 08:04:17 2019 New Revision: 344693 URL: https://svnweb.freebsd.org/changeset/base/344693 Log: MFC r344477: Add new USB quirk. PR: 235897 Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/usb/quirk/usb_quirk.c