MFC r271073:
  Do not blindly announce 1000baseT half-duplex capability in
  autonegotiation.  Some controllers like cgem(4) do not support
  half-duplex at gigabit speeds.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273306 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272721:
  Fix a long standing bug in MAC statistics register access.  One
  additional register was erroneously added in the MAC register set
  such that 7 TX statistics counters were wrong.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273358 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272729,272732:
  Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4).
  QAC AR816x/E2200 controller has a silicon bug that MSI interrupt
  does not assert if PCIM_CMD_INTxDIS bit of command register is set.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273362 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272730,273018:
  Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers.
  These controllers seem to have the same feature of AR813x/AR815x and
  improved RSS support(4 TX queues and 8 RX queues).  alc(4) supports
  all hardware features except RSS.  I didn't implement RX checksum
  offloading for AR816x/AR817x just because I couldn't get
  confirmation from the Vendor whether AR816x/AR817x corrected its
  predecessor's RX checksum offloading bug on fragmented packets.
  This change adds supports for the following controllers.
   o AR8161 PCIe Gigabit Ethernet controller
   o AR8162 PCIe Fast Ethernet controller
   o AR8171 PCIe Gigabit Ethernet controller
   o AR8172 PCIe Fast Ethernet controller
   o Killer E2200 Gigabit Ethernet controller


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273367 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272731:
  Document newly added controller AR816x/AR817x.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273369 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r273034

Add one more AMD Kaveri APU device ID.

Submitted by:	Remy Nonnenmacher <remy.nonnenmacher@activnetworks.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r271287:

Merge from NetBSD:

PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings
gracefully.  (don't abuse 0 to mean compute string length internally)

PR:		193447
Submitted by:	Conrad Meyer <conrad.meyer@isilon.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273387 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC revisions 253175, 268999, 269027, 269351-269352, 269354, 269460,
270283, 270505, 270954, 270989, 273067, and 273068:
r253175: Introduce f_which() to common.subr
r268999: Add new bsdconfig example scripts; remove obsolete ones
r269027: Update bsdconfig dot module; fixes and enhancements
r269351: Add setvar() for non-FreeBSD platforms using bash as /bin/sh
r269352: Fix syntax error when run under bash
r269354: Update setvar() function introduced in r269351
r269460: Update f_xdialog_info() in bsdconfig's dialog.subr include
r270283: Add `-A' flag to pkg-install(8) when installing dependencies
r270505: Optimize f_which() to be slightly faster still (common.subr)
r270954: Update f_dialog_init() for safer getopts usage (dialog.subr)
r270989: Fix for previously mentioned r270954
r273067: Fix awk(1) asorti() implementation to work when called in a loop
r273068: Rename awk(1) asorti() to prevent conflict with GNU awk(1)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273398 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20]

Fix routed(8) remote denial of service vulnerability. [SA-14:21]

Fix memory leak in sandboxed namei lookup. [SA-14:22]


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273412 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272830 (des):

Change the hardcoded default back from SHA512 to DES.

This will become EN-14:11.crypt.

PR:		192277


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273425 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r272833 (des):

Two more places where login_setcryptfmt() defaults to MD5 were missed
in r252688.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273427 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22,
SA-14:23

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273432 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document the following security advisories:
 FreeBSD-SA-14:20.rtsold
 FreeBSD-SA-14:21.routed
 FreeBSD-SA-14:22.namei
 FreeBSD-SA-14:23.openssl

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273433 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r271692:
Fix a typo.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273490 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.

PR:           194143


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273553 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r258902:
The uaddr, ufunc, umod and usym functions all seem to work as expected on
FreeBSD, so stop hiding them behind a "#if defined(sun)".


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273596 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r270643, r273448:
- Fix typo: s/mac_rev/mac_ver/
- Fix the kernel panic in hostap mode.
  rvp->beacon_mbuf was NULL in run_update_beacon().


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@273637 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f