svn commit: r345256 - stable/12/sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 09:21:30 2019 New Revision: 345256 URL: https://svnweb.freebsd.org/changeset/base/345256 Log: MFC r345003: Add NULL pointer check to nat64_output(). It is possible that a processed packet was originated by local host, in this case m->m_pkthdr.rcvif is N

svn commit: r345257 - stable/11/sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 09:23:15 2019 New Revision: 345257 URL: https://svnweb.freebsd.org/changeset/base/345257 Log: MFC r345003: Add NULL pointer check to nat64_output(). It is possible that a processed packet was originated by local host, in this case m->m_pkthdr.rcvif is N

svn commit: r345258 - stable/12/sys/netpfil/ipfw

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 09:28:53 2019 New Revision: 345258 URL: https://svnweb.freebsd.org/changeset/base/345258 Log: MFC r345004 (with modification): Add IP_FW_NAT64 to codes that ipfw_chk() can return. It will be used by upcoming NAT64 changes. We use separate code to avoid

svn commit: r345259 - stable/11/sys/netpfil/ipfw

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 09:31:23 2019 New Revision: 345259 URL: https://svnweb.freebsd.org/changeset/base/345259 Log: MFC r345004 (with modification): Add IP_FW_NAT64 to codes that ipfw_chk() can return. It will be used by upcoming NAT64 changes. We use separate code to avoid

svn commit: r345260 - stable/12/sys/x86/include

2019-03-18 Thread Konstantin Belousov
Author: kib Date: Mon Mar 18 10:25:36 2019 New Revision: 345260 URL: https://svnweb.freebsd.org/changeset/base/345260 Log: MFC r345189: Add symbolic name for TSC_AUX MSR address. Modified: stable/12/sys/x86/include/specialreg.h Directory Properties: stable/12/ (props changed) Modified:

svn commit: r345261 - stable/11/sys/x86/include

2019-03-18 Thread Konstantin Belousov
Author: kib Date: Mon Mar 18 10:28:40 2019 New Revision: 345261 URL: https://svnweb.freebsd.org/changeset/base/345261 Log: MFC r345189: Add symbolic name for TSC_AUX MSR address. Modified: stable/11/sys/x86/include/specialreg.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r345262 - in head: sbin/ipfw sys/netinet6 sys/netpfil/ipfw sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 10:39:14 2019 New Revision: 345262 URL: https://svnweb.freebsd.org/changeset/base/345262 Log: Modify struct nat64_config. Add second IPv6 prefix to generic config structure and rename another fields to conform to RFC6877. Now it contains two prefixes and length

svn commit: r345263 - in head: sbin/ipfw sys/netinet6 sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 10:50:32 2019 New Revision: 345263 URL: https://svnweb.freebsd.org/changeset/base/345263 Log: Add SPDX-License-Identifier and update year in copyright. MFC after:1 month Modified: head/sbin/ipfw/nat64lsn.c head/sbin/ipfw/nat64stl.c head/sys/netinet6/ip

svn commit: r345264 - in head: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet sys/netinet6 sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 11:44:53 2019 New Revision: 345264 URL: https://svnweb.freebsd.org/changeset/base/345264 Log: Add NAT64 CLAT implementation as defined in RFC6877. CLAT is customer-side translator that algorithmically translates 1:1 private IPv4 addresses to global IPv6 address

svn commit: r345265 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:04:43 2019 New Revision: 345265 URL: https://svnweb.freebsd.org/changeset/base/345265 Log: MFC r344751: Make superblock reading logic more strict. Add more on-disk superblock consistency checks to ext2_compute_sb_data() function. It should decrease the p

svn commit: r345266 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:09:10 2019 New Revision: 345266 URL: https://svnweb.freebsd.org/changeset/base/345266 Log: MFC: r344753: Validate block bitmaps. Reviewed by:pfg Differential Revision:https://reviews.freebsd.org/D19324 Modified: stable/12/sys/fs/ext2fs/ext2_

svn commit: r345267 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:15:58 2019 New Revision: 345267 URL: https://svnweb.freebsd.org/changeset/base/345267 Log: MFC: r344755: Fix integer overflow possibility. Reported by:Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE Reported as:FS-2-

svn commit: r345268 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:22:04 2019 New Revision: 345268 URL: https://svnweb.freebsd.org/changeset/base/345268 Log: MFC: r344756, r345179: Do not read the on-disk inode in case of vnode allocation. Reported by:Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraun

svn commit: r345269 - in head/sys: dev/netmap net

2019-03-18 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Mar 18 12:22:23 2019 New Revision: 345269 URL: https://svnweb.freebsd.org/changeset/base/345269 Log: netmap: add support for multiple host rings Some applications forward from/to host rings most or all the traffic received or sent on a physical interface. In th

svn commit: r345270 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:26:25 2019 New Revision: 345270 URL: https://svnweb.freebsd.org/changeset/base/345270 Log: MFC: r344754: Do not panic if inode bitmap is corrupted. admbug: 804 Reported by:Ilja Van Sprundel Reviewed by:pfg Differential Revision:

svn commit: r345271 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:31:07 2019 New Revision: 345271 URL: https://svnweb.freebsd.org/changeset/base/345271 Log: MFC: r344752: Add additional on-disk inode checks. Reviewed by:pfg Differential Revision:https://reviews.freebsd.org/D19323 Modified: stable/12/sys/fs

svn commit: r345272 - stable/12/sys/fs/ext2fs

2019-03-18 Thread Fedor Uporov
Author: fsu Date: Mon Mar 18 12:34:13 2019 New Revision: 345272 URL: https://svnweb.freebsd.org/changeset/base/345272 Log: MFC: r344757: Fix double free in case of mount error. Reported by:Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE Reported as:

svn commit: r345273 - head/sys/kern

2019-03-18 Thread Andrew Gallatin
Author: gallatin Date: Mon Mar 18 12:41:42 2019 New Revision: 345273 URL: https://svnweb.freebsd.org/changeset/base/345273 Log: Fix a typo introduced in r344133 The line was misedited to change tt to st instead of changing ut to st. The use of st as the denominator in mul64_by_fracti

svn commit: r345274 - in head: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet6 sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 12:59:08 2019 New Revision: 345274 URL: https://svnweb.freebsd.org/changeset/base/345274 Log: Update NAT64LSN implementation: o most of data structures and relations were modified to be able support large number of translation states. Now each supported proto

svn commit: r345275 - in head: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet6 sys/netpfil/ipfw/nat64

2019-03-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 18 14:00:19 2019 New Revision: 345275 URL: https://svnweb.freebsd.org/changeset/base/345275 Log: Revert r345274. It appears that not all 32-bit architectures have necessary CK primitives. Modified: head/sbin/ipfw/ipfw.8 head/sbin/ipfw/ipfw2.h head/sbin/ipfw/nat6

svn commit: r345276 - head/contrib/blacklist/bin

2019-03-18 Thread Kurt Lidl
Author: lidl Date: Mon Mar 18 15:45:06 2019 New Revision: 345276 URL: https://svnweb.freebsd.org/changeset/base/345276 Log: Fixup syslog() call that should have used logging function pointer PR: 236614 Submitted by: Helge Oldach Modified: head/contrib/blacklist/bin/blacklist

Re: svn commit: r345238 - head

2019-03-18 Thread John Baldwin
On 3/16/19 1:02 PM, Wolfram Schneider wrote: > Author: wosch > Date: Sat Mar 16 20:02:57 2019 > New Revision: 345238 > URL: https://svnweb.freebsd.org/changeset/base/345238 > > Log: > `make buildkernel' should display the build time in seconds > > PR: 224433 > Approved by:

svn commit: r345278 - head/lib/libomp

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 19:11:11 2019 New Revision: 345278 URL: https://svnweb.freebsd.org/changeset/base/345278 Log: Also explicitly link libomp.so against -lm, as it transitively depends on scalbn and a few other math functions, via libcompiler-rt. This should allow OpenMP programs t

svn commit: r345280 - head/sys/sys

2019-03-18 Thread Ed Maste
Author: emaste Date: Mon Mar 18 19:23:19 2019 New Revision: 345280 URL: https://svnweb.freebsd.org/changeset/base/345280 Log: sys/stat.h: Improve timespec compatibility with other BSDs OpenBSD and NetBSD provide macros to directly reference the underlying struct timespec's tv_nsec member.

svn commit: r345281 - in head/usr.sbin/makefs: . tests

2019-03-18 Thread Ed Maste
Author: emaste Date: Mon Mar 18 19:26:36 2019 New Revision: 345281 URL: https://svnweb.freebsd.org/changeset/base/345281 Log: makefs: Fix "time" mtree attribute handling When processing mtree(5) MANIFEST files, makefs(8) previously threw an error if it encountered an entry whose "time" at

svn commit: r345282 - head/lib/libomp

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 19:56:00 2019 New Revision: 345282 URL: https://svnweb.freebsd.org/changeset/base/345282 Log: Remove --as-needed from the linker flags for libomp.so, as these actually prevent the transitive dependency on libm. Reported by: jbeich PR: 236062, 2365

svn commit: r345283 - in head: contrib/openmp/runtime/src lib

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 21:04:28 2019 New Revision: 345283 URL: https://svnweb.freebsd.org/changeset/base/345283 Log: Enable building libomp.so for 32-bit x86. This is done by selectively enabling the functions that save and restore MXCSR, since access to this register requires SSE sup

Re: svn commit: r345238 - head

2019-03-18 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 3/16/19 1:02 PM, Wolfram Schneider wrote: > > Author: wosch > > Date: Sat Mar 16 20:02:57 2019 > > New Revision: 345238 > > URL: https://svnweb.freebsd.org/changeset/base/345238 > > > > Log: > > `make buildkernel' should display the build time in

Re: svn commit: r345274 - in head: sbin/ipfw sys/conf sys/modules/ipfw_nat64 sys/netinet6 sys/netpfil/ipfw/nat64

2019-03-18 Thread Gleb Smirnoff
Hi, On Mon, Mar 18, 2019 at 12:59:09PM +, Andrey V. Elsukov wrote: A> Author: ae A> Date: Mon Mar 18 12:59:08 2019 A> New Revision: 345274 A> URL: https://svnweb.freebsd.org/changeset/base/345274 A> A> Log: A> Update NAT64LSN implementation: ... A> o ConcurrencyKit and epoch(9) is used

svn commit: r345284 - head/sys/contrib/dev/ath/ath_hal/ar9300

2019-03-18 Thread Adrian Chadd
Author: adrian Date: Tue Mar 19 00:07:12 2019 New Revision: 345284 URL: https://svnweb.freebsd.org/changeset/base/345284 Log: [ath_hal_ar9300] Add some comments around the AR9300 ANI code. I'm refamiliarising myself with the behaviour of the ANI code and I thought I'd drop some comments t

svn commit: r345285 - stable/12/sys/net

2019-03-18 Thread Kristof Provost
Author: kp Date: Tue Mar 19 00:27:45 2019 New Revision: 345285 URL: https://svnweb.freebsd.org/changeset/base/345285 Log: MFC r344794: tun: VIMAGE fix for if_tun cloner The if_tun cloner is not virtualised, but if_clone_attach() does use a virtualised list of cloners. The result is

svn commit: r345286 - stable/11/sys/net

2019-03-18 Thread Kristof Provost
Author: kp Date: Tue Mar 19 00:27:48 2019 New Revision: 345286 URL: https://svnweb.freebsd.org/changeset/base/345286 Log: MFC r344794: tun: VIMAGE fix for if_tun cloner The if_tun cloner is not virtualised, but if_clone_attach() does use a virtualised list of cloners. The result is

svn commit: r345287 - stable/12/tests/sys/net

2019-03-18 Thread Kristof Provost
Author: kp Date: Tue Mar 19 00:29:18 2019 New Revision: 345287 URL: https://svnweb.freebsd.org/changeset/base/345287 Log: MFC r344797: tun tests: Test renaming and destroying a tun interface in a vnet jail There was a problem destroying renamed tun interfaces in vnet jails. This was

svn commit: r345288 - head/sys/amd64/sgx

2019-03-18 Thread Marcin Wojtas
Author: mw Date: Tue Mar 19 02:33:58 2019 New Revision: 345288 URL: https://svnweb.freebsd.org/changeset/base/345288 Log: Prevent loading SGX with incorrect EPC data It may happen on some machines, that even if SGX is disabled in firmware, the driver would still attach despite EPC base an

svn commit: r345289 - head/stand/common

2019-03-18 Thread Marcin Wojtas
Author: mw Date: Tue Mar 19 02:45:32 2019 New Revision: 345289 URL: https://svnweb.freebsd.org/changeset/base/345289 Log: Add missing boot.4th verification During initialization of the forth interpreter the loader looks for "/boot/boot.4th" and executes any code found there. That file

svn commit: r345291 - head/share/mk

2019-03-18 Thread Dimitry Andric
Author: dim Date: Tue Mar 19 06:58:28 2019 New Revision: 345291 URL: https://svnweb.freebsd.org/changeset/base/345291 Log: Turn on MK_OPENMP for i386 by default, now that it can build. Noticed by: jbeich PR: 236062, 236582 MFC after:1 month X-MFC-With: r344779 Modif