svn commit: r322338 - head/sys/net

2017-08-09 Thread Sean Bruno
Author: sbruno Date: Thu Aug 10 03:43:23 2017 New Revision: 322338 URL: https://svnweb.freebsd.org/changeset/base/322338 Log: Don't leak mbufs if clusers exceeds the number of segments. This would leak mbufs over time causing crashes. PR: 221202 Submitted by: Matt Macy

svn commit: r322337 - head/sys/net

2017-08-09 Thread Sean Bruno
Author: sbruno Date: Thu Aug 10 03:11:05 2017 New Revision: 322337 URL: https://svnweb.freebsd.org/changeset/base/322337 Log: Export IFCAP_HWSTATS so that we don't experience double stats counting on iflib enabled devices. PR: 220198 Submitted by: Matt Macy

svn commit: r322336 - head/usr.bin/calendar/calendars

2017-08-09 Thread Sean Bruno
Author: sbruno Date: Thu Aug 10 02:55:22 2017 New Revision: 322336 URL: https://svnweb.freebsd.org/changeset/base/322336 Log: Add sbruno@ birthday information. Reported by: mckusick Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322335 - head/usr.bin/calendar/calendars

2017-08-09 Thread Ryan Libby
Author: rlibby Date: Thu Aug 10 02:15:40 2017 New Revision: 322335 URL: https://svnweb.freebsd.org/changeset/base/322335 Log: Add myself (rlibby) to calendar.freebsd Reported by: mckusick Approved by: markj (mentor) Differential Revision:https://reviews.freebsd.org/D11947

svn commit: r322332 - in head: contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2017-08-09 Thread Ryan Libby
Author: rlibby Date: Wed Aug 9 22:58:42 2017 New Revision: 322332 URL: https://svnweb.freebsd.org/changeset/base/322332 Log: Pick 'Remove external linkage for spin_adaptive' from upstream jemalloc Apply the changes from upstream jemalloc 048c6679. This is actually not quite a cherry

svn commit: r322331 - in head/sys: dev/qlnx/qlnxe modules/qlnx/qlnxe

2017-08-09 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 9 22:18:49 2017 New Revision: 322331 URL: https://svnweb.freebsd.org/changeset/base/322331 Log: Provide compile to choose receive processing in either Ithread or Taskqueue Thread. Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c head/sys/dev/qlnx/qlnxe/qlnx_ver.h

svn commit: r322330 - head/usr.bin/calendar/calendars

2017-08-09 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 21:44:55 2017 New Revision: 322330 URL: https://svnweb.freebsd.org/changeset/base/322330 Log: Add myself to calendar.freebsd Requested by: mckusick Approved by: emaste (mentor) Differential Revision:https://reviews.freebsd.org/D11936 Modified:

svn commit: r322329 - head/sys/boot/i386/boot2

2017-08-09 Thread Ryan Libby
Author: rlibby Date: Wed Aug 9 20:13:49 2017 New Revision: 322329 URL: https://svnweb.freebsd.org/changeset/base/322329 Log: i386/boot2: -fno-asynchronous-unwind-tables for gcc The amd64 build of boot2 was failing with gcc 6.3.0 due to being more than 1 kB too large. It was apparently

svn commit: r322328 - head/sys/netipsec

2017-08-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 9 19:58:38 2017 New Revision: 322328 URL: https://svnweb.freebsd.org/changeset/base/322328 Log: Make user supplied data checks a bit stricter. key_msg2sp() is used for parsing data from setsockopt(IP[V6]_IPSEC_POLICY) call. This socket option is usually used to

svn commit: r322327 - in head: . release/packages

2017-08-09 Thread Glen Barber
Author: gjb Date: Wed Aug 9 19:16:54 2017 New Revision: 322327 URL: https://svnweb.freebsd.org/changeset/base/322327 Log: Add a dependency on the kernel package for the runtime package. The idea here is that, provided upstream pkg(8) maintainers accept the proposed change, the

svn commit: r322326 - in head/contrib/llvm/tools/lldb: include/lldb/Target source/Plugins/ABI/SysV-i386 source/Plugins/Platform/FreeBSD source/Plugins/Platform/NetBSD source/Plugins/Platform/OpenBS...

2017-08-09 Thread Ed Maste
Author: emaste Date: Wed Aug 9 19:09:23 2017 New Revision: 322326 URL: https://svnweb.freebsd.org/changeset/base/322326 Log: lldb: Make i386-*-freebsd expression work on JIT path * Enable i386 ABI creation for freebsd * Added an extra argument in ABISysV_i386::PrepareTrivialCall for

svn commit: r322325 - head/bin/cat

2017-08-09 Thread Ed Maste
Author: emaste Date: Wed Aug 9 18:23:46 2017 New Revision: 322325 URL: https://svnweb.freebsd.org/changeset/base/322325 Log: cat: fix build with -DNO_UDOM_SUPPORT Sponsored by: The FreeBSD Foundation Modified: head/bin/cat/cat.c Modified: head/bin/cat/cat.c

svn commit: r322324 - head/lib/libcapsicum

2017-08-09 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 18:15:07 2017 New Revision: 322324 URL: https://svnweb.freebsd.org/changeset/base/322324 Log: capsicum_helpers: Add FIODTYPE to default ioctls allowed FIODTYPE will be needed by hexdump(1) to speed up the -s flag on devices that should be able to support

svn commit: r322323 - in head/sys: amd64/amd64 i386/include x86/include x86/x86

2017-08-09 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 9 18:09:09 2017 New Revision: 322323 URL: https://svnweb.freebsd.org/changeset/base/322323 Log: Split identify_cpu() into two functions for amd64 as we do for i386. This reduces diff between amd64 and i386. Also, it fixes a regression introduced in r322076,

svn commit: r322322 - head/lib/libusb

2017-08-09 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 18:06:27 2017 New Revision: 322322 URL: https://svnweb.freebsd.org/changeset/base/322322 Log: libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability Some libusb consumers in Linux-land (in this case, libusb4java) expect a dev_capability

svn commit: r322321 - head/sys/kern

2017-08-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Aug 9 17:48:38 2017 New Revision: 322321 URL: https://svnweb.freebsd.org/changeset/base/322321 Log: Plug uninitialized stack variable leak in sendfile(2). Reported by: Ilja Van Sprundel Submitted by: Domagoj Stolfa MFC after:1 week Security:

RE: svn commit: r322076 - in head/sys: amd64/amd64 i386/i386 x86/include x86/x86

2017-08-09 Thread Dexuan Cui via svn-src-head
> From: owner-src-committ...@freebsd.org [mailto:owner-src- > committ...@freebsd.org] On Behalf Of Jung-uk Kim > Sent: Wednesday, August 9, 2017 10:03 > To: Dexuan Cui ; src-committ...@freebsd.org; svn-src- > a...@freebsd.org; svn-src-head@freebsd.org > Cc: Yanmin Qiao

svn commit: r322320 - in head: contrib/libc++/include contrib/llvm/include/llvm/Analysis contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/Analysis contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGe...

2017-08-09 Thread Dimitry Andric
Author: dim Date: Wed Aug 9 17:32:39 2017 New Revision: 322320 URL: https://svnweb.freebsd.org/changeset/base/322320 Log: Upgrade our copies of clang, llvm and libc++ to r310316 from the upstream release_50 branch. MFC after:2 months X-MFC-with: r321369 Modified:

Re: svn commit: r322076 - in head/sys: amd64/amd64 i386/i386 x86/include x86/x86

2017-08-09 Thread Jung-uk Kim
On 08/09/2017 00:09, Dexuan Cui wrote: > Hi jkim, > The patch breaks FreeBSD VM on Hyper-V. > > identify_hypervisor() is moved from identify_cpu() to an earlier place, but > the global > variable cpu_feature2 used by the function is still initialized in > identify_cpu(). > > I'm not sure

Re: svn commit: r322277 - in head: tools/build/mk usr.bin usr.bin/ruptime usr.bin/rwho usr.sbin usr.sbin/rwhod

2017-08-09 Thread John Baldwin
On Tuesday, August 08, 2017 08:17:07 PM Jeremie Le Hen wrote: > Author: jlh > Date: Tue Aug 8 20:17:07 2017 > New Revision: 322277 > URL: https://svnweb.freebsd.org/changeset/base/322277 > > Log: > rwho/ruptime/rwhod shouldn't be gated by RCMDS. > > As peter@ points out in pr/220953: >

svn commit: r322319 - head/sys/geom

2017-08-09 Thread Warner Losh
Author: imp Date: Wed Aug 9 16:37:37 2017 New Revision: 322319 URL: https://svnweb.freebsd.org/changeset/base/322319 Log: Also provide a warning for geom_fox. Differential Review: https://reviews.freebsd.org/D11935 Requested by: jhb@ MFC After: 3 days Modified:

svn commit: r322318 - in head: share/man/man4 sys/conf sys/geom

2017-08-09 Thread Warner Losh
Author: imp Date: Wed Aug 9 16:15:24 2017 New Revision: 322318 URL: https://svnweb.freebsd.org/changeset/base/322318 Log: Mark geom classes as deprecated. geom_bsd, geom_mbr and geom_sunlabel have been obsolete since Marcel Moolenaar's geom_part was in FreeBSD 7. They haven't been in

svn commit: r322316 - head/sys/dev/ahci

2017-08-09 Thread Alexander Motin
Author: mav Date: Wed Aug 9 13:46:16 2017 New Revision: 322316 URL: https://svnweb.freebsd.org/changeset/base/322316 Log: Missing remanant of 322309. MFC after:1 week Modified: head/sys/dev/ahci/ahci_pci.c Modified: head/sys/dev/ahci/ahci_pci.c

svn commit: r322314 - head/usr.bin/calendar/calendars

2017-08-09 Thread Jonathan Anderson
Author: jonathan Date: Wed Aug 9 13:25:27 2017 New Revision: 322314 URL: https://svnweb.freebsd.org/changeset/base/322314 Log: Add birthday information for jonathan@. As requested by mckusick@... Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r322310 - in head: share/man/man4 sys/net

2017-08-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 9 12:24:07 2017 New Revision: 322310 URL: https://svnweb.freebsd.org/changeset/base/322310 Log: Add to if_enc(4) ability to capture packets via BPF after pfil processing. New flag 0x4 can be configured in net.enc.[in|out].ipsec_bpf_mask. When it is set,

svn commit: r322309 - in head/sys/dev: ahci ata ata/chipsets sound/pci/hda

2017-08-09 Thread Alexander Motin
Author: mav Date: Wed Aug 9 12:21:17 2017 New Revision: 322309 URL: https://svnweb.freebsd.org/changeset/base/322309 Log: Use "Ibex Peak" codename for "5 Series/3400 Series" chipsets. This is shorter and unifies naming with later chipsets. MFC after:1 week Modified:

svn commit: r322308 - in head/sys/dev: ahci sound/pci/hda usb/controller

2017-08-09 Thread Alexander Motin
Author: mav Date: Wed Aug 9 12:03:12 2017 New Revision: 322308 URL: https://svnweb.freebsd.org/changeset/base/322308 Log: Add new Intel Lewisburg and Union Point chipset PCI IDs. While there, polish some old AHCI ones, since they are still reused. MFC after:1 week Modified:

svn commit: r322307 - head/sys/netinet

2017-08-09 Thread Oleg Bulyzhin
Author: oleg Date: Wed Aug 9 10:46:34 2017 New Revision: 322307 URL: https://svnweb.freebsd.org/changeset/base/322307 Log: Fix comment typo. Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c

svn commit: r322306 - head/sys/dev/mlx4/mlx4_en

2017-08-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 9 10:32:51 2017 New Revision: 322306 URL: https://svnweb.freebsd.org/changeset/base/322306 Log: Print maximum MTU when trying to set invalid MTU in the mlx4en(4) driver. Useful for debugging. Submitted by: Sepherosa Ziehau

svn commit: r322305 - head/sys/dev/mlx4/mlx4_en

2017-08-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 9 10:30:55 2017 New Revision: 322305 URL: https://svnweb.freebsd.org/changeset/base/322305 Log: Increment queue drops in the network statistics when transmitted packets are dropped by the mlx4en(4) driver. Submitted by: Sepherosa Ziehau

svn commit: r322304 - head/sys/dev/mlx4/mlx4_en

2017-08-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 9 10:27:21 2017 New Revision: 322304 URL: https://svnweb.freebsd.org/changeset/base/322304 Log: Add support for RX and TX statistics when the mlx4en(4) PCI device is in VF or SRIOV mode typically in a virtual machine environment. Submitted by:

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-09 Thread Emmanuel Vadot
On Wed, 9 Aug 2017 18:44:19 +1000 (EST) Bruce Evans wrote: > On Tue, 8 Aug 2017, Emmanuel Vadot wrote: > > > On Tue, 8 Aug 2017 23:55:52 +1000 (EST) > > Bruce Evans wrote: > > > >> On Tue, 8 Aug 2017, Emmanuel Vadot wrote: > >> > >>> Log: > >>>

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

2017-08-09 Thread Alexander Motin
Author: mav Date: Wed Aug 9 09:13:15 2017 New Revision: 322302 URL: https://svnweb.freebsd.org/changeset/base/322302 Log: Do not loose CCB flags after r320493. There is at least CAM_UNLOCKED that should be kept. MFC after:3 days Modified: head/sys/cam/ctl/scsi_ctl.c Modified:

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-09 Thread Bruce Evans
On Tue, 8 Aug 2017, Emmanuel Vadot wrote: On Tue, 8 Aug 2017 23:55:52 +1000 (EST) Bruce Evans wrote: On Tue, 8 Aug 2017, Emmanuel Vadot wrote: Log: vmstat: Always emit a space after the free-memory column When displaying in non-human form, if the free-memory number

svn commit: r322300 - head/sys/netinet

2017-08-09 Thread Dag-Erling Smørgrav
Author: des Date: Wed Aug 9 07:24:58 2017 New Revision: 322300 URL: https://svnweb.freebsd.org/changeset/base/322300 Log: Correct sysctl names. Modified: head/sys/netinet/in.h Modified: head/sys/netinet/in.h == ---

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

2017-08-09 Thread Bruce Evans
On Tue, 8 Aug 2017, Alan Somers wrote: Log: Make p1003_1b.aio_listio_max a tunable p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the sysctl of the same name, and the sysconf(3) variable _SC_AIO_LISTIO_MAX. Its value will be bounded from below by the compile-time

svn commit: r322299 - head/sys/dev/hyperv/netvsc

2017-08-09 Thread Sepherosa Ziehau
Author: sephe Date: Wed Aug 9 05:59:45 2017 New Revision: 322299 URL: https://svnweb.freebsd.org/changeset/base/322299 Log: hyperv/hn: Implement transparent mode network VF. How network VF works with hn(4) on Hyper-V in transparent mode: - Each network VF has a cooresponding hn(4).