]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
7 years agoMFC r302076:
hselasky [Wed, 29 Jun 2016 10:25:32 +0000 (10:25 +0000)]
MFC r302076:
Update the definition for number of scratch pages to match the latest
version of the XHCI specification. Make sure the code can handle the
maximum number of allowed scratch pages.

Submitted by: Shichun_Ma@Dell.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@302268 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC r300667:
hselasky [Fri, 3 Jun 2016 08:58:26 +0000 (08:58 +0000)]
MFC r300667:
Check for signals when locking the USB enumeration thread from
userspace, so that USB applications can be killed if an enumeration
thread should be stuck for various reasons.

git-svn-id: svn://svn.freebsd.org/base/stable/8@301255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC r299060:
hselasky [Fri, 3 Jun 2016 08:53:14 +0000 (08:53 +0000)]
MFC r299060:
Extend the UQ_NO_STRINGS quirk to also cover the USB language string
descriptor. This fixes enumeration of some older Samsung Galaxy S3
phones.

git-svn-id: svn://svn.freebsd.org/base/stable/8@301252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC 299310:
jhb [Tue, 24 May 2016 23:04:16 +0000 (23:04 +0000)]
MFC 299310:
Don't store generated firmware object files in the source directory.

Trim the leading directory of a firmware source file from the resulting
target object file name so the object file is stored in the object
directory. Previously, using 'FIRMWS= /path/to/fw.bin:fw.bin' would
store the generated 'fw.bin.fwo' file in the /path/to directory. Now
it stores it in the object directory of the kernel module being built.

git-svn-id: svn://svn.freebsd.org/base/stable/8@300629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC r298591
davidcs [Tue, 10 May 2016 03:11:37 +0000 (03:11 +0000)]
MFC r298591

1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c

git-svn-id: svn://svn.freebsd.org/base/stable/8@299305 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC r298496
davidcs [Tue, 10 May 2016 03:04:14 +0000 (03:04 +0000)]
MFC r298496

Remove Unused/Dead Code

git-svn-id: svn://svn.freebsd.org/base/stable/8@299304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

7 years agoMFC r298294
davidcs [Tue, 10 May 2016 02:58:52 +0000 (02:58 +0000)]
MFC r298294

1. modify fwdump (a.k.a grcdump) so that grcdump memory is allocated
   and freed on as needed basis.
2. grcdump can be taken at failure points by invoking bxe_grc_dump()
   when trigger_grcdump sysctl flag is set. When grcdump is taken
   grcdump_done sysctl flag is set.
3. grcdump_done can be monitored by the user to retrieve the grcdump

Submitted by:vaishali.kulkarni@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@299303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r270256, r298640:
danfe [Fri, 29 Apr 2016 13:58:01 +0000 (13:58 +0000)]
MFC r270256, r298640:

  ed(1): switch two statements so we check the index before dereferencing.

Approved by: pfg

git-svn-id: svn://svn.freebsd.org/base/stable/8@298785 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r297884
davidcs [Tue, 19 Apr 2016 19:14:04 +0000 (19:14 +0000)]
MFC r297884
Add support for Flash Update

Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org

git-svn-id: svn://svn.freebsd.org/base/stable/8@298289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r297873
davidcs [Tue, 19 Apr 2016 19:08:44 +0000 (19:08 +0000)]
MFC r297873

1. Process tx completions in bxe_periodic_callout_func() and restart
   transmissions if possible.
2. For SIOCSIFFLAGS call bxe_init_locked() only if !BXE_STATE_DISABLED
3. remove code not needed in bxe_init_internal_common()

Submitted by:vaishali.kulkarni@qlogic.com;venkata.bhavaraju@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@298287 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r296342:
hselasky [Thu, 7 Apr 2016 07:19:30 +0000 (07:19 +0000)]
MFC r296342:
Allow for overlapping quirk device ranges. Prior to this patch only
the first device entry matching the USB vendor, product and revision
would be searched for quirks. After this patch all device entries will
be searched for quirks.

git-svn-id: svn://svn.freebsd.org/base/stable/8@297644 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r297155
davidcs [Wed, 6 Apr 2016 21:45:31 +0000 (21:45 +0000)]
MFC r297155
    Modifications to achieve a common source base from FreeBSD7.x thru 10.x

git-svn-id: svn://svn.freebsd.org/base/stable/8@297624 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoWhen building on a newer host, boostrap using lex from the stable-8 source
ian [Tue, 15 Mar 2016 04:03:15 +0000 (04:03 +0000)]
When building on a newer host, boostrap using lex from the stable-8 source
to match the yacc being used from that source.  This avoids a build error
caused by the newer lex emitting a yylex() decl that's already in the source.

This is a direct commit to stable-8; there is no corresponding change in
later branches to MFC from.  For the record, the new lex came in at version
1000032, but slipping it into the 1000013 block makes more sense than
creating a whole new .if block for it.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296888 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r206424: (by rdivacky in 2010)
ian [Tue, 15 Mar 2016 03:20:24 +0000 (03:20 +0000)]
MFC r206424: (by rdivacky in 2010)

  Rename the ALIGN macro to LINT_ALIGN so it does not clash with
  machine/param.h

  Bump the alignment to 16bytes because lint1 memory allocator is used for
  objects that require 16bytes alignment on amd64 (ie. val_t). This makes
  lint1 work when compiled with compiler(s) that use SSE for memcpy on amd64.
  (e.g. clang).

This allows me to compile stable-8 on a 64-bit build host running 10-stable,
without dying during the xlint build.  It should work fine on 11-current too.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296887 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r296579
davidcs [Mon, 14 Mar 2016 23:43:09 +0000 (23:43 +0000)]
MFC r296579
Fix code so that buf_ring allocation for Tx Queues and their mutexes
is done during during bxe_attach() and freed during bxe_detach()

git-svn-id: svn://svn.freebsd.org/base/stable/8@296878 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r296071
davidcs [Wed, 9 Mar 2016 21:45:09 +0000 (21:45 +0000)]
MFC r296071
Upgrade the firmware carried in driver and loaded during hardware
initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)

git-svn-id: svn://svn.freebsd.org/base/stable/8@296582 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r295928:
hselasky [Mon, 7 Mar 2016 10:07:01 +0000 (10:07 +0000)]
MFC r295928:
Configure the correct bMaxPacketSize for control endpoints before
requesting the initial complete device descriptor and not as part of
the subsequent babble error recovery. Babble means that the received
USB packet was bigger than than configured maximum packet size. This
only affects enumeration of FULL speed USB devices which use a
bMaxPacketSize different from 8 bytes. This patch might help fix
enumeration of USB devices which exhibit USB I/O errors in dmesg
during boot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296448 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r255949: Create /var/cache with mode 0755.
ian [Tue, 1 Mar 2016 17:33:27 +0000 (17:33 +0000)]
MFC r255949: Create /var/cache with mode 0755.

pkg(8) expects this directory to exist, this allows using pkg on 8-stable.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296270 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r295830
davidcs [Thu, 25 Feb 2016 18:20:54 +0000 (18:20 +0000)]
MFC r295830
Remove dead code. Code Cleanup. Improve clarity in debug messages

git-svn-id: svn://svn.freebsd.org/base/stable/8@296046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r295823
davidcs [Thu, 25 Feb 2016 18:17:06 +0000 (18:17 +0000)]
MFC r295823
Modified the use of bxe_grc_dump() function so that it can be invoked directly at any potential error path, where a fwdump is needed. The fwdump (a.k.a grcdump) is stored in a driver buffer. The sysctl grcdump_done indicates if a fwdump was taken and waiting to be retrieved.
The sysctl trigger_grcdump can be used to manually trigger a fwdump.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 295418,295419:
jhb [Wed, 17 Feb 2016 01:45:34 +0000 (01:45 +0000)]
MFC 295418,295419:
Fix hangs or panics when misbehaved kernel threads return from their
main function.

295418:
Mark proc0 as a kernel process via the P_KTHREAD flag.

All other kernel processes have this flag set and all threads in proc0
(including thread0) have the similar TDP_KTHREAD flag set.

295419:
Call kthread_exit() rather than kproc_exit() for a premature kthread exit.

Kernel threads (and processes) are supposed to call kthread_exit() (or
kproc_exit()) to terminate.  However, the kernel includes a fallback in
fork_exit() to force a kthread exit if a kernel thread's "main" routine
returns.  This fallback was added back when the kernel only had processes
and was not updated to call kthread_exit() instead of kproc_exit() when
threads were added to the kernel.

This mistake was particularly exciting when the errant thread belonged to
proc0.  Due to the missing P_KTHREAD flag the fallback did not kick in
and instead tried to return to userland via whatever garbage was in the
trapframe.  With P_KTHREAD set it tried to terminate proc0 resulting in
other amusements.

PR: 204999

git-svn-id: svn://svn.freebsd.org/base/stable/8@295684 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r293856:
brooks [Fri, 22 Jan 2016 00:13:18 +0000 (00:13 +0000)]
MFC r293856:

Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR: 206178
Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
Requested by: danfe

git-svn-id: svn://svn.freebsd.org/base/stable/8@294538 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r293855:
brooks [Fri, 22 Jan 2016 00:08:16 +0000 (00:08 +0000)]
MFC r293855:

Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR: 206177
Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
Requested by: danfe

git-svn-id: svn://svn.freebsd.org/base/stable/8@294537 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r294102:
dim [Tue, 19 Jan 2016 18:35:22 +0000 (18:35 +0000)]
MFC r294102:

MFV r294101: 6527 Possible access beyond end of string in zpool comment

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Gordon Ross <gwr@nexenta.com>

illumos/illumos-gate@2bd7a8d078223b122d65fea49bb8641f858b1409

This fixes erroneous double increments of the 'check' variable in a loop
in spa_prop_validate().  I ran into this in the clang380-import branch,
where clang 3.8.0 warns about it.  (It is already fixed there.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@294334 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r292639
davidcs [Wed, 13 Jan 2016 00:34:16 +0000 (00:34 +0000)]
MFC r292639
  Add support for firmware dump (a.k.a grcdump)

git-svn-id: svn://svn.freebsd.org/base/stable/8@293795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r292638
davidcs [Wed, 13 Jan 2016 00:29:59 +0000 (00:29 +0000)]
MFC r292638
    Check for packet_length is greater than 60 bytes as well as packet_length is
    greater than len_on_bd, before invoking the routine to handle jumbo over SGL
    (bxe_service_rxsgl()).
    Add counters for number of jumbo_over_SGL packets (rx_bxe_service_rxsgl) and
    erroneous jumbo_over_SGL packets (rx_erroneous_jumbo_sge_pkts)

    Fix formatting in bxe_sysctl_state()

git-svn-id: svn://svn.freebsd.org/base/stable/8@293794 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r289199
davidcs [Wed, 13 Jan 2016 00:26:45 +0000 (00:26 +0000)]
MFC r289199
  Add support for reading device temperature

git-svn-id: svn://svn.freebsd.org/base/stable/8@293793 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoAdd missed mergeinfo.
hselasky [Mon, 4 Jan 2016 08:41:13 +0000 (08:41 +0000)]
Add missed mergeinfo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@293150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r291199:
hselasky [Mon, 4 Jan 2016 07:30:49 +0000 (07:30 +0000)]
MFC r291199:
Fix compile warning about shifting signed negative constant.

git-svn-id: svn://svn.freebsd.org/base/stable/8@293148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFH: r207615 by csjp
brueffer [Mon, 14 Dec 2015 13:38:05 +0000 (13:38 +0000)]
MFH: r207615 by csjp

Add a case to make sure that internal audit records get converted
to BSM format for lpathconf(2) events.

PR: 157946

git-svn-id: svn://svn.freebsd.org/base/stable/8@292209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r291146:
hselasky [Tue, 24 Nov 2015 12:32:15 +0000 (12:32 +0000)]
MFC r291146:
Add support for Kana and Eisu keys to the USB keyboard driver.

PR: 204709

git-svn-id: svn://svn.freebsd.org/base/stable/8@291256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r290326:
hselasky [Tue, 24 Nov 2015 12:23:15 +0000 (12:23 +0000)]
MFC r290326:
Relax the BUS_DMA_KEEP_PG_OFFSET requirement to allow optimising
allocation of DMA bounce buffers.

Discussed with: ian @

git-svn-id: svn://svn.freebsd.org/base/stable/8@291252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284722 and r284724:
hselasky [Mon, 23 Nov 2015 13:44:25 +0000 (13:44 +0000)]
MFC r284722 and r284724:
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.

git-svn-id: svn://svn.freebsd.org/base/stable/8@291204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC of 290697,tzdata8:
edwin [Thu, 12 Nov 2015 03:29:36 +0000 (03:29 +0000)]
MFC of 290697,tzdata8:

Update to tzdata2015g:

Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.

Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.

Fiji's 2016 fall-back transition is scheduled for January 17, not 24.

Fort Nelson, British Columbia will not fall back on 2015-11-01.  It has
effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
New zone America/Fort_Nelson.

git-svn-id: svn://svn.freebsd.org/base/stable/8@290700 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r290441:
hselasky [Mon, 9 Nov 2015 11:29:54 +0000 (11:29 +0000)]
MFC r290441:
Fix for unaligned IP-header.

The mbuf length fields must be set before m_adj() is called else
m_adj() will not always adjust the mbuf and an unaligned read
exception can trigger inside the network stack. This can happen on
platforms where unaligned reads are not supported. Adjust a length
check to include the 2-byte ethernet alignment while at it.

git-svn-id: svn://svn.freebsd.org/base/stable/8@290609 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r287698: Fixing a memory leak on module unloading.
avatar [Sat, 24 Oct 2015 19:05:19 +0000 (19:05 +0000)]
MFC r287698: Fixing a memory leak on module unloading.

git-svn-id: svn://svn.freebsd.org/base/stable/8@289885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r238980:
avatar [Wed, 7 Oct 2015 09:39:45 +0000 (09:39 +0000)]
MFC r238980:

  Just like the other file systems found in /sys/fs, g_vfs_open()
should be paried with g_vfs_close().  Though g_vfs_close() is a wrapper
around g_wither_geom_close(), r206130 added the following test in
g_vfs_open():

if (bo->bo_private != vp)
return (EBUSY);

  Which will cause a 'Device busy' error inside reiserfs_mountfs() if
the same file system is re-mounted again after umount or mounting failure:

(case 1, /dev/ad4s3 is not a valid REISERFS partition)
# mount -t reiserfs -o ro /dev/ad4s3 /mnt
mount: /dev/ad4s3: Invalid argument
# mount -t msdosfs -o ro /dev/ad4s3 /mnt
mount: /dev/ad4s3: Device busy

(case 2, /dev/ad4s3 is a valid REISERFS partition)
# mount -t reiserfs -o ro /dev/ad4s3 /mnt
# umount /mnt
# mount -t reiserfs -o ro /dev/ad4s3 /mnt
mount: /dev/ad4s3: Device busy

  On the other hand, g_vfs_close() 'fixed' the above cases by doing an
extra step to keep 'sc->sc_bo->bo_private' and 'cp->private' pointers
synchronised.

Reviewed by: kib

git-svn-id: svn://svn.freebsd.org/base/stable/8@288987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r287886:
smh [Thu, 24 Sep 2015 10:31:39 +0000 (10:31 +0000)]
MFC r287886:

Fix kqueue write events for files > 2GB

Relnotes: YES
Sponsored by: Multiplay

git-svn-id: svn://svn.freebsd.org/base/stable/8@288169 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286888: Using consistent coding style to deal with error inside the loop.
avatar [Mon, 14 Sep 2015 15:47:25 +0000 (15:47 +0000)]
MFC r286888: Using consistent coding style to deal with error inside the loop.

git-svn-id: svn://svn.freebsd.org/base/stable/8@287788 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286887: Using the error return code documented in the comment.
avatar [Mon, 14 Sep 2015 15:44:03 +0000 (15:44 +0000)]
MFC r286887: Using the error return code documented in the comment.

Though there is no direct midi_uninit() caller amongst existing drivers
at this moment, a quick experiment indicates that EBUSY gives users more
precise error message once drivers start to honour this result.  For example,
emu_midi_detach() should check the result of mpu401_uninit() and block
module unloading if there is any MIDI I/O in progress.

git-svn-id: svn://svn.freebsd.org/base/stable/8@287786 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286886: Fixing typo as well as improving readability of a few comments.
avatar [Wed, 9 Sep 2015 04:16:55 +0000 (04:16 +0000)]
MFC r286886: Fixing typo as well as improving readability of a few comments.

git-svn-id: svn://svn.freebsd.org/base/stable/8@287588 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286799:
hselasky [Sat, 29 Aug 2015 06:28:48 +0000 (06:28 +0000)]
MFC r286799:
Fix race in USB PF which can happen if we stop tracing exactly when
the kernel is tapping an USB transfer. This leads to a NULL pointer
access. The solution is to only trace while the USB bus lock is
locked.

git-svn-id: svn://svn.freebsd.org/base/stable/8@287275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC of 286750,tzdata8:
edwin [Fri, 14 Aug 2015 00:00:50 +0000 (00:00 +0000)]
MFC of 286750,tzdata8:

Update to tzdata2015f:

Changes affecting future time stamps

    North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
    The abbreviation remains "KST".  (Thanks to Robert Elz.)
    Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo Camargo.)
    Changes affecting past and future time stamps
    Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to Roman Tudos.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@286753 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286519:
dim [Wed, 12 Aug 2015 19:18:54 +0000 (19:18 +0000)]
MFC r286519:

In GNU as, avoid left-shifting negative integers, which is undefined.

git-svn-id: svn://svn.freebsd.org/base/stable/8@286690 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r286515:
dim [Wed, 12 Aug 2015 19:06:35 +0000 (19:06 +0000)]
MFC r286515:

In libm's exp2(3), avoid left-shifting a negative integer, which is
undefined.  Replace it with the intended value, in a defined way.

Reviewed by: bde

git-svn-id: svn://svn.freebsd.org/base/stable/8@286688 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new
gshapiro [Sat, 8 Aug 2015 16:35:42 +0000 (16:35 +0000)]
MFC: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new
     version imports.

git-svn-id: svn://svn.freebsd.org/base/stable/8@286455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r285973
davidcs [Wed, 5 Aug 2015 02:08:42 +0000 (02:08 +0000)]
MFC r285973
    - Avoid lock contention in the if_transmit callback by using trylock and
     enqueueing the frames when it fails. This way there is some latency
     removed from the transmitting path.
    - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just
     enqueue the desired frames and return successful transmit. This way we
     avoid to return errors on transmit side and resulting in
     possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set
     everytime we get the threshold ring hit, so this can be happening quite
     often.

Submitted by: Attilio.Rao@isilon.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@286300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoFix a regression introduced with previous OpenSSH by explicitly
delphij [Thu, 30 Jul 2015 10:09:07 +0000 (10:09 +0000)]
Fix a regression introduced with previous OpenSSH by explicitly
initializing devices_done.

Submitted by: jkim

git-svn-id: svn://svn.freebsd.org/base/stable/8@286067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument SA-15:14 through SA-15:17.
gjb [Tue, 28 Jul 2015 20:38:52 +0000 (20:38 +0000)]
Document SA-15:14 through SA-15:17.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@285982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoFix resource exhaustion in TCP reassembly. [SA-15:15]
delphij [Tue, 28 Jul 2015 19:58:54 +0000 (19:58 +0000)]
Fix resource exhaustion in TCP reassembly. [SA-15:15]

Fix OpenSSH multiple vulnerabilities. [SA-15:16]

Fix BIND remote denial of service vulnerability. [SA-15:17]

git-svn-id: svn://svn.freebsd.org/base/stable/8@285977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r285340:
dim [Tue, 28 Jul 2015 09:19:04 +0000 (09:19 +0000)]
MFC r285340:

Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function.
Detected by clang 3.7.0 with the warning:

sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18: error: variable
'rptr' is uninitialized when used here [-Werror,-Wuninitialized]
chp->cq.rptr = rptr;
       ^~~~

git-svn-id: svn://svn.freebsd.org/base/stable/8@285942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument FreeBSD-SA-15:13.
gjb [Wed, 22 Jul 2015 16:38:07 +0000 (16:38 +0000)]
Document FreeBSD-SA-15:13.

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

git-svn-id: svn://svn.freebsd.org/base/stable/8@285800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoFix resource exhaustion due to sessions stuck in LAST_ACK state.
delphij [Tue, 21 Jul 2015 23:42:20 +0000 (23:42 +0000)]
Fix resource exhaustion due to sessions stuck in LAST_ACK state.

Security: CVE-2015-5358
Security: SA-15:13.tcp
Submitted by: Jonathan Looney (Juniper SIRT)
Reviewed by: lstewart

git-svn-id: svn://svn.freebsd.org/base/stable/8@285779 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoNote merge of sendmail 8.15.2
gshapiro [Sat, 11 Jul 2015 04:55:01 +0000 (04:55 +0000)]
Note merge of sendmail 8.15.2

git-svn-id: svn://svn.freebsd.org/base/stable/8@285383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoPrevious MFC to trigger new .cf builds didn't catch freebsd.mc.
gshapiro [Sat, 11 Jul 2015 03:57:36 +0000 (03:57 +0000)]
Previous MFC to trigger new .cf builds didn't catch freebsd.mc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@285380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Update for sendmail 8.15.2 import
gshapiro [Sat, 11 Jul 2015 03:53:03 +0000 (03:53 +0000)]
MFC: Update for sendmail 8.15.2 import

git-svn-id: svn://svn.freebsd.org/base/stable/8@285378 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files
gshapiro [Sat, 11 Jul 2015 03:50:17 +0000 (03:50 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files
     are built to use the new sendmail-8.15.2/cf tree.

git-svn-id: svn://svn.freebsd.org/base/stable/8@285376 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Merge sendmail 8.15.2
gshapiro [Sat, 11 Jul 2015 03:46:36 +0000 (03:46 +0000)]
MFC: Merge sendmail 8.15.2

git-svn-id: svn://svn.freebsd.org/base/stable/8@285374 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Temporarily disable WARNS while addressing a non-issue with the
gshapiro [Sat, 11 Jul 2015 03:34:57 +0000 (03:34 +0000)]
MFC: Temporarily disable WARNS while addressing a non-issue with the
     upstream code

git-svn-id: svn://svn.freebsd.org/base/stable/8@285372 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoBy default, sendmail 8.15 uses uncompressed IPv6 addresses. Keep
gshapiro [Sat, 11 Jul 2015 03:32:22 +0000 (03:32 +0000)]
By default, sendmail 8.15 uses uncompressed IPv6 addresses.  Keep
current FreeBSD 10 and earlier behavior of using compressed IPv6
addresses in configuration, maps, rulesets, etc.  (FreeBSD 11 and
later will use the new default of uncompressed IPv6 addresses.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@285370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: libsm/path.c is about to disappear in the merge of sendmail 8.15.2. It
gshapiro [Sat, 11 Jul 2015 03:29:04 +0000 (03:29 +0000)]
MFC: libsm/path.c is about to disappear in the merge of sendmail 8.15.2.  It
     is an empty file now so it is safe to remove before the merge.

git-svn-id: svn://svn.freebsd.org/base/stable/8@285368 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument SA-15:11.bind.
gjb [Tue, 7 Jul 2015 23:37:16 +0000 (23:37 +0000)]
Document SA-15:11.bind.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@285259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoFix BIND resolver remote denial of service when validating.
delphij [Tue, 7 Jul 2015 21:43:23 +0000 (21:43 +0000)]
Fix BIND resolver remote denial of service when validating.

Security: CVE-2015-4620
Security: FreeBSD-SA-15:11.bind

git-svn-id: svn://svn.freebsd.org/base/stable/8@285257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r281337
marius [Sun, 5 Jul 2015 20:16:51 +0000 (20:16 +0000)]
MFC: r281337

Don't enable RX and TX before their initial configuration is done, i. e.
after setting up interrupt moderation but before turning interrupts on.
This matches what Realtek's r8168 Linux driver does as of version 8.039.00
and fixes problems with certain incarnations of certain MAC revisions
like the interface requiring an extra up/down-cycle after boot to start
working or DMA configuration not being adhered to.

PR: 193743, 197535

git-svn-id: svn://svn.freebsd.org/base/stable/8@285179 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r281751
marius [Sun, 5 Jul 2015 19:34:45 +0000 (19:34 +0000)]
MFC: r281751

Refine the workaround for Intel HSD131 [1] added in r269052 (MFCed to
stable/8 in r269595):
- Use the full mask described by the erratum as with a sufficiently high
  number of these false-positives, the overflow bit (bit 62) additionally
  gets set [7].
- HSD131 has been brought into several other Haswell-derived CPUs including
  to the next generation, i. e. Intel Broadwell. Thus, also skip reporting of
  these benign errors by default on CPU models affected by HSM142, HSW131 and
  BDM48 [2 - 5], describing the HSD131 silicon bug for additional models.
  Also, Celeron 2955U with a CPU ID of 0x45 have been reported to be covered
  by this fault [6], with the specification update concerned with HSM142 [2]
  only referring to 0x3c and 0x46.

Submitted by: David Froehlich [7]
Approved by: re (kib)

http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf [1]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-mobile-specification-update.pdf [2]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/5th-gen-core-family-spec-update.pdf [3]
http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/core-m-processor-family-spec-update.pdf [4]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e3-1200v3-spec-update.pdf [5]
https://lists.freebsd.org/pipermail/freebsd-hackers/2015-January/046878.html [6]

git-svn-id: svn://svn.freebsd.org/base/stable/8@285176 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument EN-15:08 (revised), EN-15:09, EN-15:10.
gjb [Thu, 2 Jul 2015 20:41:50 +0000 (20:41 +0000)]
Document EN-15:08 (revised), EN-15:09, EN-15:10.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@285060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284739
davidcs [Tue, 30 Jun 2015 20:31:00 +0000 (20:31 +0000)]
MFC r284739
  tx_mtx should be grabbed before calling buf_ring_dequeue_sc()

Submitted by: Attilio.Rao@isilon.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@284978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284470
davidcs [Tue, 30 Jun 2015 20:28:07 +0000 (20:28 +0000)]
MFC r284470
In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK()
In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING

Submitted by: gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@284977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284335
davidcs [Tue, 30 Jun 2015 20:24:23 +0000 (20:24 +0000)]
MFC r284335

PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.

bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.

bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context

Submitted by:gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@284976 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument FreeBSD-EN-15:06.file, FreeBSD-EN-15:07.zfs,
gjb [Thu, 25 Jun 2015 20:01:27 +0000 (20:01 +0000)]
Document FreeBSD-EN-15:06.file, FreeBSD-EN-15:07.zfs,
FreeBSD-EN-15:08.sendmail, FreeBSD-SA-15:10.openssl.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@284859 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoAdd a note on the second sendmail fix for WeakDH interoperability.
gshapiro [Thu, 25 Jun 2015 01:57:47 +0000 (01:57 +0000)]
Add a note on the second sendmail fix for WeakDH interoperability.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284791 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: An additional fix for the openssl Weak DH remediation:
gshapiro [Thu, 25 Jun 2015 01:56:36 +0000 (01:56 +0000)]
MFC: An additional fix for the openssl Weak DH remediation:

     The import of openssl to address the FreeBSD-SA-15:10.openssl security
     advisory includes a change which rejects handshakes with DH parameters
     below 768 bits.  sendmail releases prior to 8.15.2 (not yet released),
     defaulted to a 512 bit DH parameter setting for client connections.

     The first fix committed last week changed the default to 1024 bits.

     This commit fixes the case where the DHParameters option is set to a
     file which doesn't exist, which is the case on newer versions of
     FreeBSD which enable STARTTLS by default by auto-creating TLS
     certificates.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284790 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284237,r284277:
delphij [Wed, 24 Jun 2015 23:05:17 +0000 (23:05 +0000)]
MFC r284237,r284277:

file 5.23.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284782 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284346:
dim [Sat, 20 Jun 2015 13:30:09 +0000 (13:30 +0000)]
MFC r284346:

Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:

    lib/libfetch/http.c:1628:26: error: address of array 'purl->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = purl->user ?
                                                   ~~~~~~^~~~ ~
    lib/libfetch/http.c:1630:30: error: address of array 'purl->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = purl->pwd?
                                                       ~~~~~~^~~~
    lib/libfetch/http.c:1657:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1659:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~
    lib/libfetch/http.c:1669:25: error: address of array 'url->user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url->user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1671:29: error: address of array 'url->pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url->pwd ?
                                                       ~~~~~^~~ ~

Since url->user and url->pwd are arrays, they can never be NULL, so the
checks can be removed.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D2673

git-svn-id: svn://svn.freebsd.org/base/stable/8@284643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284229: Add support for '_' occurring at the beginning or
ume [Thu, 18 Jun 2015 16:46:40 +0000 (16:46 +0000)]
MFC r284229: Add support for '_' occurring at the beginning or
end of a name component.

PR: 176093
Submitted by: landonf__at__bikemonkey.org

git-svn-id: svn://svn.freebsd.org/base/stable/8@284561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r284011:
hselasky [Wed, 17 Jun 2015 07:38:50 +0000 (07:38 +0000)]
MFC r284011:
Don't wait forever for USB data to be flushed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284502 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoAdd a note regarding the change to sendmail'c default DH parameter size
gshapiro [Wed, 17 Jun 2015 03:23:45 +0000 (03:23 +0000)]
Add a note regarding the change to sendmail'c default DH parameter size
for client connections.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: The import of openssl to address the FreeBSD-SA-15:10.openssl security
gshapiro [Wed, 17 Jun 2015 03:22:18 +0000 (03:22 +0000)]
MFC: The import of openssl to address the FreeBSD-SA-15:10.openssl security
     advisory includes a change which rejects handshakes with DH parameters
     below 768 bits.  sendmail releases prior to 8.15.2 (not yet released),
     defaulted to a 512 bit DH parameter setting for client connections.
     This commit chages that default to 1024 bits.  sendmail 8.15.2, when
     released well use a default of 2048 bits.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC of 284397,tzdata8:
edwin [Mon, 15 Jun 2015 01:03:21 +0000 (01:03 +0000)]
MFC of 284397,tzdata8:

Update to tzdata2015e:

  Changes affecting future time stamps

    Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
    not 06-13 and 07-18 as we had guessed.  (Thanks to Milamber.)

    Assume Cayman Islands will observe DST starting next year, using US rules.
    Although it isn't guaranteed, it is the most likely.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284400 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMerge OpenSSL 0.9.8zg.
jkim [Thu, 11 Jun 2015 19:39:27 +0000 (19:39 +0000)]
Merge OpenSSL 0.9.8zg.

git-svn-id: svn://svn.freebsd.org/base/stable/8@284286 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 281887:
jhb [Tue, 2 Jun 2015 19:20:39 +0000 (19:20 +0000)]
MFC 281887:
Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283927 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 282417:
jhb [Tue, 2 Jun 2015 15:12:33 +0000 (15:12 +0000)]
MFC 282417:
Various updates to the ftruncate(2) documentation:
- Note that ftruncate(2) can operate on shared memory objects and cross
  reference shm_open(2).
- Note that ftruncate(2) does not change the file position pointer (aka
  seek pointer) of the file descriptor.
- ftruncate(2) will fail with EINVAL for all sorts of other fd types than
  just sockets, so instead note that it fails for all but regular files and
  shared memory objects.
- Note that ftruncate(2) also appeared in 4.2BSD along with truncate(2).
  (Or at least the manpage for both appeared in 4.2, I did not check the
  kernel code itself to see if either predated 4.2.)

PR: 199472

git-svn-id: svn://svn.freebsd.org/base/stable/8@283916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC 281170:
jhb [Tue, 2 Jun 2015 15:02:28 +0000 (15:02 +0000)]
MFC 281170:
vfork() first appeared in 3BSD which pre-dates 2.9BSD.  Verified via the
copy of 3BSD on disc 1 of "The CSRG Archives".

PR: 198612

git-svn-id: svn://svn.freebsd.org/base/stable/8@283912 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: r283261
jkim [Mon, 1 Jun 2015 19:26:24 +0000 (19:26 +0000)]
MFC: r283261

Do not probe Intel PIIX4 south bridge quirks on amd64.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283892 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r283274
davidcs [Fri, 29 May 2015 23:33:49 +0000 (23:33 +0000)]
MFC r283274

Submitted by:gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@283760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r283269
davidcs [Fri, 29 May 2015 23:28:55 +0000 (23:28 +0000)]
MFC r283269

Submitted by: gary.zambrano@qlogic.com
Approved by:davidcs@freebsd.org

git-svn-id: svn://svn.freebsd.org/base/stable/8@283759 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r283254:
dim [Thu, 28 May 2015 06:45:13 +0000 (06:45 +0000)]
MFC r283254:

Ensure that the static structs emitted by the MODULE_DEPEND() and
MODULE_VERSION() macros don't end up as .comm symbols, when all the
version fields are zero.

Normally, such symbols will end up in .bss, but for kernel module
version objects, this can lead to "garbage" version numbers.

Fix this by instructing the compiler to always put these structs in the
.data segment instead.

Reported by: delphij, ae

git-svn-id: svn://svn.freebsd.org/base/stable/8@283642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r283064:
hselasky [Wed, 27 May 2015 13:27:39 +0000 (13:27 +0000)]
MFC r283064:
Fix an off-by-one error by adding proper range checks when parsing the
HDA association descriptors. This fixes a crash during device probe
for some HDA PCI devices.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283611 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r282652:
hselasky [Thu, 21 May 2015 07:09:19 +0000 (07:09 +0000)]
MFC r282652:
Ensure the USB audio driver doesn't attach twice on the same USB
device by grabbing all the USB audio device interfaces.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: file 5.22.
delphij [Tue, 19 May 2015 23:53:25 +0000 (23:53 +0000)]
MFC: file 5.22.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC of 283079,tzdata8:
edwin [Mon, 18 May 2015 21:18:44 +0000 (21:18 +0000)]
MFC of 283079,tzdata8:

Update to tzdata2015d:

Release 2015d - 2015-04-24 08:09:46 -0700

  Changes affecting future time stamps

    Egypt will not observe DST in 2015 and will consider canceling it
    permanently.  For now, assume no DST indefinitely.
    (Thanks to Ahmed Nazmy and Tim Parenti.)

  Change affecting past and future time zone abbreviations

    The abbreviations for Hawaii-Aleutian standard and daylight times
    have been changed from HAST/HADT to HST/HDT, as per US Government
    Printing Office style.  This affects only America/Adak since 1983,
    as America/Honolulu was already using the new style.

git-svn-id: svn://svn.freebsd.org/base/stable/8@283082 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC of 283042,tzdata8:
edwin [Mon, 18 May 2015 02:10:19 +0000 (02:10 +0000)]
MFC of 283042,tzdata8:

Update to tzdata2015c:

    Release 2015c - 2015-04-11 08:55:55 -0700

    Changes affecting future time stamps

    Egypt's spring-forward transition is at 24:00 on April's last Thursday,
    not 00:00 on April's last Friday.  2015's transition will therefore be on
    Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
    apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@283045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoDocument EN-15:04 and EN-15:05.
gjb [Thu, 14 May 2015 04:05:34 +0000 (04:05 +0000)]
Document EN-15:04 and EN-15:05.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@282875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC: Sync freebsd-update with -HEAD.
delphij [Wed, 13 May 2015 22:39:29 +0000 (22:39 +0000)]
MFC: Sync freebsd-update with -HEAD.

git-svn-id: svn://svn.freebsd.org/base/stable/8@282872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

8 years agoMFC r280598:
hselasky [Tue, 5 May 2015 20:01:28 +0000 (20:01 +0000)]
MFC r280598:
Add definition of the ISOCHRONOUS endpoint usage bits.
Refer to the USB v2.0 specification for more information.

git-svn-id: svn://svn.freebsd.org/base/stable/8@282511 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281582:
bdrewery [Thu, 23 Apr 2015 15:26:07 +0000 (15:26 +0000)]
MFC r281582:

  Remove extra flags from r250462.

git-svn-id: svn://svn.freebsd.org/base/stable/8@281898 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280999:
bdrewery [Thu, 23 Apr 2015 15:21:47 +0000 (15:21 +0000)]
MFC r280999:

  Use proper CHAN_TCP_PACKET_DEFAULT for agent forwarding when HPN disabled.

git-svn-id: svn://svn.freebsd.org/base/stable/8@281895 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoDocument SA-15:07, SA-15:08, SA-15:09.
gjb [Tue, 21 Apr 2015 16:54:21 +0000 (16:54 +0000)]
Document SA-15:07, SA-15:08, SA-15:09.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/8@281835 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281605,281768:
brooks [Tue, 21 Apr 2015 15:00:49 +0000 (15:00 +0000)]
MFC r281605,281768:

r281605:
Fix a minor function definition inconsistancy.

r281768:
Bump doc date missed in r281605.

git-svn-id: svn://svn.freebsd.org/base/stable/8@281833 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r281331
jkim [Mon, 13 Apr 2015 22:22:32 +0000 (22:22 +0000)]
MFC: r281331

Do not crash when RSDT/XSDT contains an empty entry.

git-svn-id: svn://svn.freebsd.org/base/stable/8@281505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f