MFC r269180:

When interval is set to very small value with limited amount of packets,
ping6(8) would quit before the remote side gets a chance to respond.

Solve this by resetting the itimer when we have reached the maximum packet
number have reached, but let the other handling to continue.

PR:        bin/151023
Submitted by:    tjmao at tjmao.net
MFC r269740:

Pull in r214736 from upstream libc++ trunk (by Marshall Clow):

  Fix PR#20520 - predicate called too many times in list::remove_if.
  Add tests for list, forward_list, and the std::remove_if algorithm

This fixes an issue where std::list<>::remove_if() and remove() could
erroneously visit elements twice.

Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
PR:		192303
MFC r269302:

  Fix relative numerical addressing (addr,+N).

  As a bonus the patch untangles a bit the logic and makes the code
  easier to grasp.

  PR:           192108
MFC r268316:
Fix OFED startup order: All SYSINIT()'s and modules should be loaded
prior to starting "/sbin/init" which will run all the "/etc/rc.d/xxx"
scripts. Else there can be a race configuring the interfaces via
"/etc/rc.conf".

Sponsored by:	Mellanox Technologies
MFC r258162 and r257594:
Add some more IDs for Intel ATA, AHCI and USB controllers.
MFC r264417: realpath(): Properly fail "." or ".." components after
non-directories.

If realpath() is called on pathnames like "/dev/null/." or "/dev/null/..",
it should fail with [ENOTDIR]. Pathnames like "/dev/null/" already failed as
they should.

Also, put the check for non-directories after lstatting the previous
component instead of when the empty component (consecutive or trailing
slashes) is detected, saving an lstat() call and some lines of code.

PR:		kern/82980
MFC r269566:
Fix for deadlock in USB device side mode.
MFC r269565:
Rename driver name a bit to avoid unit number confusion in dmesg.
Merge r268637 from head:

  fortune(8): Search fortune files installed by ports/packages as well as
  those supplied by the base system.

PR:		191800
Submitted by:	Andy Kosela
Merge r268725 from head:

  Since r202933, kthread_suspend_check() takes no arguments.  Update the
  example to match.
Merge r268728 from head:

  When we fail to extract the pkg binaries (for example, / is read-only),
  give a more helpful error message.
Merge r267859 (by bapt), r268998 from head:

o Mark send-pr info page as an obsolete file

o /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
  are no longer installed since r267486 (r267734 in stable/10).  Add them
  to ObsoleteFiles.inc1, which should have been done in r267486.

PR:		192010 (partial)
Submitted by:	Vick Khera (partial)
MFC r257877:
Don't try to use the 32-bit drti.o unless the data model is explicitly set
to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't
determine which data model to use, which happens when -64 is omitted and
no object files are provided, e.g. with

# dtrace -G -n BEGIN

This would result in a linker error, but now works properly.

Also remove an unnecessary #ifdef.
MFC r269888:
  Fix a typo in a comment: s/interprete/interpret/

Sponsored by:	The FreeBSD Foundation
MFC r269948:

Supplement r259111 by also using correct casts in gcc's emmintrin.h for
the first argument of the following builtin function:

* __builtin_ia32_psrlqi128() takes __v2di instead of __v4si

This should fix the following errors when building the graphics/webp
port with base gcc:

lossless_sse2.c:403: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'
lossless_sse2.c:404: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'

Reported by:	Jos Chrispijn <ports@webrz.net>
MFC r269954:

Stop telling people to directly report llvm or clang bugs upstream,
point them to the FreeBSD bug tracker instead, since we use our own
patches.