]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
10 years agoMFC r256750:
hselasky [Fri, 25 Oct 2013 06:47:01 +0000 (06:47 +0000)]
MFC r256750:
Improve XHCI stability. When a command timeout happens, the command
should be aborted else the command queue can stop. Refer to section
"4.6.1.2" of the XHCI specification.

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

10 years agoMFC r256317:
mav [Fri, 25 Oct 2013 06:04:21 +0000 (06:04 +0000)]
MFC r256317:
Fix mode page length calculation to remove last garbage line from the
`camcontrol mode daX -l` output.

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

10 years agoFix an inverted check for the master user in "camcontrol security -U".
markj [Wed, 16 Oct 2013 03:37:22 +0000 (03:37 +0000)]
Fix an inverted check for the master user in "camcontrol security -U".

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

10 years agoMFC r255931:
dim [Sat, 12 Oct 2013 16:11:57 +0000 (16:11 +0000)]
MFC r255931:

Fix a bug in ld, where indirect symbols are not handled properly during
linking of a shared library, leading to corrupt indexes in the dynamic
symbol table.  This should fix the multimedia/ffmpegthumbnailer port.

Reported by: swills

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

10 years agoMFH (206038,206040): add a -k option which is passed through to finger(1).
des [Sat, 12 Oct 2013 14:54:25 +0000 (14:54 +0000)]
MFH (206038,206040): add a -k option which is passed through to finger(1).
Almost to the day three and a half years after the original MFC date...

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

10 years agoMFC r256061:
kib [Fri, 11 Oct 2013 04:50:27 +0000 (04:50 +0000)]
MFC r256061:
Add padding to match the compat32 struct stat32 definition to the real
struct stat on 32bit architectures.

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

10 years agoMFC r255944 (partial):
bdrewery [Thu, 10 Oct 2013 12:47:34 +0000 (12:47 +0000)]
MFC r255944 (partial):

  Use MK_SSP=no after including bsd.own.mk to disable SSP instead of user-knob
  WITH[OUT]_SSP to avoid hitting an error if user has WITH_SSP in their
  make.conf. Ports now use this knob.

    make[7]: "/usr/src/share/mk/bsd.own.mk" line 466: WITH_SSP and
    WITHOUT_SSP can't both be set.

Approved by:    bapt

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

10 years agoMFH (r255243): create /var/authpf with correct ownership and permissions
des [Mon, 7 Oct 2013 08:20:56 +0000 (08:20 +0000)]
MFH (r255243): create /var/authpf with correct ownership and permissions
MFH (r255597): add unbound user to facilitate cross-building
MFH (r256097): add missing entries to ftpusers and reorder

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

10 years agoMFC r252857,255718:
delphij [Thu, 3 Oct 2013 23:56:38 +0000 (23:56 +0000)]
MFC r252857,255718:

Refresh vendor driver version which fixes command queue
full issue with ARC-1214 and ARC-1224.

Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion in
CCB abort codepath.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: 黃清隆 <ching2048 areca com tw>

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

10 years agoMFC r255714, r255716, r255717:
trociny [Thu, 3 Oct 2013 18:53:13 +0000 (18:53 +0000)]
MFC r255714, r255716, r255717:

r255714:

Use cv_broadcast() instead of cv_signal() when waking up threads
waiting on an empty queue as the queue may have several consumers.

Before the fix the following scenario was possible: 2 threads are
waiting on empty queue, 2 threads are inserting simultaneously. The
first inserting thread detects that the queue is empty and is going to
send the signal, but before it sends the second thread inserts
too. When the first sends the signal only one of the waiting threads
receive it while the other one may wait forever.

The scenario above is is believed to be the cause of the observed
cases, when ggate_recv_thread() was getting stuck on taking free
request, while the free queue was not empty.

Reviewed by: pjd
Tested by: Yamagi Burmeister yamagi.org

r255716:

When updating the map of dirty extents, most recently used extents are
kept dirty to reduce the number of on-disk metadata updates. The
sequence of operations is:

1) acquire the activemap lock;
2) update in-memory map;
3) if the list of keepdirty extents is changed, update on-disk metadata;
4) release the lock.

On-disk updates are not frequent in comparison with in-memory updates,
while require much more time. So situations are possible when one
thread is updating on-disk metadata and another one is waiting for the
activemap lock just to update the in-memory map.

Improve this by introducing additional, on-disk map lock: when
in-memory map is updated and it is detected that the on-disk map needs
update too, the on-disk map lock is acquired and the on-memory lock is
released before flushing the map.

Reported by: Yamagi Burmeister yamagi.org
Tested by: Yamagi Burmeister yamagi.org
Reviewed by: pjd

r255717:

Fix comments.

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

10 years agoMFC r255521, r255526, r255707:
trociny [Thu, 3 Oct 2013 18:50:09 +0000 (18:50 +0000)]
MFC r255521, r255526, r255707:

r255521 (jmg):

add support for writing the pid of the daemon program to a pid file so
that daemon can be used w/ rc.subr and ports can use the additional
functionality, such as keeping the ldap daemon up and running, and have
the proper program to signal to exit.

PR: bin/181341
Submitted by: feld

r255526 (joel):

mdoc: remove EOL whitespace.

r255707:

1. Properly clean pid files in the case of the error.
2. Write the supervisor pid before the restart loop, so we don't
   uselessly rewrite it after every child restart.
3. Remove duplicate ppfh and pfh initialization.

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

10 years agoMFC r255768:
hselasky [Tue, 1 Oct 2013 08:41:28 +0000 (08:41 +0000)]
MFC r255768:
Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port
routing if we get certain errors. Poll for command completion upon
command timeouts. The XHCI error events might not generate interrupts.

PR: usb/181159

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

10 years agoMFC r255648:
delphij [Tue, 1 Oct 2013 00:49:57 +0000 (00:49 +0000)]
MFC r255648:

Fix a typo when accounting for tx_broadcast statistics.

Submitted by: Paul A. Patience <paul-a patience polymtl ca>

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

10 years agoMFC: r255866, r255867
jmg [Mon, 30 Sep 2013 17:35:48 +0000 (17:35 +0000)]
MFC: r255866, r255867

  fix a bug where we access a bread buffer after we have brelse'd it...
  The kernel normally didn't unmap/context switch away before we accessed
  the buffer most of the time, but under heavy I/O pressure and lots of
  mount/unmounting this would cause a fault on nofault panic...

  NULL stale pointers (should be a no-op as they should no longer be
  used)...

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

10 years agoMFC r255891:
delphij [Sun, 29 Sep 2013 07:42:25 +0000 (07:42 +0000)]
MFC r255891:

Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL).

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

10 years agoMFC r255844:
kib [Fri, 27 Sep 2013 07:02:48 +0000 (07:02 +0000)]
MFC r255844:
Ensure that the ERESTART return from the syscall reloads the registers,
to make the restarted syscall instruction pass the correct arguments.

PR: kern/182161

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

10 years agoMFC r254742:
markj [Fri, 20 Sep 2013 21:52:33 +0000 (21:52 +0000)]
MFC r254742:
Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait().
xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if
the driver initiates multiple rescans in quick succession.

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

10 years agoMFC r255488:
hselasky [Thu, 19 Sep 2013 05:43:23 +0000 (05:43 +0000)]
MFC r255488:
Don't issue USB resume signalling in USB device mode, if the USB power
mode is ON and suspend is detected. This confuses iPads running in USB
host mode at least.

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

10 years agoMFC of 253998:
mckusick [Thu, 19 Sep 2013 00:18:25 +0000 (00:18 +0000)]
MFC of 253998:

This bug fix is in a code path in rename taken when there is a
collision between a rename and an open system call for the same
target file. Here, rename releases its vnode references, waits for
the open to finish, and then restarts by reacquiring its needed
vnode locks. In this case, rename was unlocking but failing to
release its reference to one of its held vnodes. The effect was
that even after all the actual references to the vnode had gone,
the vnode still showed active references. For files that had been
removed, their space was not reclaimed until the filesystem was
forcibly unmounted.

This bug manifested itself in the Postgres server which would
leak/lose hundreds of files per day amounting to many gigabytes of
disk space. This bug required shutting down Postgres, forcibly
unmounting its filesystem, remounting its filesystem and restarting
Postgres every few days to recover the lost space.

Reported by: Dan Thomas and Palle Girgensohn
Bug-fix by:  kib
Tested by:   Dan Thomas and Palle Girgensohn

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

10 years agoMFC r255472:
hselasky [Wed, 18 Sep 2013 06:40:47 +0000 (06:40 +0000)]
MFC r255472:
Clear correct data structure.

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

10 years agoMFC r255235:
ae [Tue, 17 Sep 2013 18:51:35 +0000 (18:51 +0000)]
MFC r255235:
  Remove unused code and sort variables declarations.

PR: kern/181822

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

10 years agoMFC r254572:
hselasky [Tue, 17 Sep 2013 12:58:17 +0000 (12:58 +0000)]
MFC r254572:
Force keyboards which don't have the required
HID fields to use the USB BOOT protocol for now.

PR: usb/181425

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

10 years agoMFC r248246:
hselasky [Tue, 17 Sep 2013 12:56:37 +0000 (12:56 +0000)]
MFC r248246:

- Make quirk for reading device descriptor from broken USB devices.
Else they won't enumerate at all:
hw.usb.full_ddesc=1
- Reduce the USB descriptor read timeout from 1000ms to
500ms. Typical value for LOW speed devices is 50-100ms.
- Enumerate USB device a maximum of 3 times when a port
connection change event is detected, before giving up.

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

10 years agoMFC r255483:
delphij [Mon, 16 Sep 2013 16:44:18 +0000 (16:44 +0000)]
MFC r255483:

Do not emit size for non-regular files.  There is nothing that
mtree(1) can do in this situation and would cause confusion.

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

10 years agoMFC r255356:
hselasky [Mon, 16 Sep 2013 10:06:40 +0000 (10:06 +0000)]
MFC r255356:

Revert parts of r245132 and r245175. We don't need to write to the
IMAN register to clear the pending interrupt status bits. This patch
tries to solve problems seen on the MacBook Air, as reported by
Johannes Lundberg <johannes@brilliantservice.co.jp>

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

10 years agoMFC r254714: zfs: do not reject any operations on a pool just because
avg [Fri, 13 Sep 2013 14:15:52 +0000 (14:15 +0000)]
MFC r254714: zfs: do not reject any operations on a pool just because
it's a boot pool

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

10 years agoMFC r254445,254711: zfs: inline and remove zfs_vnode_lock
avg [Fri, 13 Sep 2013 14:07:32 +0000 (14:07 +0000)]
MFC r254445,254711: zfs: inline and remove zfs_vnode_lock

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

10 years agoMFC r254713: fbt: drop a local write-only variable
avg [Fri, 13 Sep 2013 13:53:47 +0000 (13:53 +0000)]
MFC r254713: fbt: drop a local write-only variable

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

10 years agoMFC r255439:
kib [Fri, 13 Sep 2013 06:18:33 +0000 (06:18 +0000)]
MFC r255439:
Call free() on the pointer returned from malloc().

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

10 years agoMFC r254330 -- allow users to run SYS_PD mode JBOD with a non-default MAXPHYS
sbruno [Wed, 11 Sep 2013 21:45:02 +0000 (21:45 +0000)]
MFC r254330 -- allow users to run SYS_PD mode JBOD with a non-default MAXPHYS

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

10 years agoMFC r255428:
delphij [Wed, 11 Sep 2013 17:42:35 +0000 (17:42 +0000)]
MFC r255428:

Pass -n (do not emit comments) when saving mtree information for future
mergemaster(8) runs.

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

10 years agoMerge from stable/9 SVN r250927: MFC: r249628, r249742
dteske [Wed, 11 Sep 2013 07:24:46 +0000 (07:24 +0000)]
Merge from stable/9 SVN r250927: MFC: r249628, r249742

- recover missing arp_ifinit() call.
- plug static llentry leak (ipv4 & ipv6 were affected).

PR: kern/172985

Also merge from stable/9 SVN r240313:

Merge r238990 (manually resolving absence of r237263):
  Fix races between in_lltable_prefix_free(), lla_lookup(),
  llentry_free() and arptimer():

  o Use callout_init_rw() for lle timeout, this allows us safely
    disestablish them.
    - This allows us to simplify the arptimer() and make it
      race safe.
  o Consistently use ifp->if_afdata_lock to lock access to
    linked lists in the lle hashes.
  o Introduce new lle flag LLE_LINKED, which marks an entry that
    is attached to the hash.
    - Use LLE_LINKED to avoid double unlinking via consequent
      calls to llentry_free().
    - Mark lle with LLE_DELETED via |= operation istead of =,
      so that other flags won't be lost.
  o Make LLE_ADDREF(), LLE_REMREF() and LLE_FREE_LOCKED() more
    consistent and provide more informative KASSERTs.

  The patch is a collaborative work of all submitters and myself.

  PR: kern/165863
  Submitted by: zont, rstone
  Submitted by: Eric van Gyzen <eric_van_gyzen dell.com>

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

10 years agoIn IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
des [Tue, 10 Sep 2013 10:12:09 +0000 (10:12 +0000)]
In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
and SIOCSIFNETMASK at the socket layer rather than pass them on to the
link layer without validation or credential checks.  [SA-13:12]

Prevent cross-mount hardlinks between different nullfs mounts of the
same underlying filesystem.  [SA-13:13]

Security: CVE-2013-5691
Security: FreeBSD-SA-13:12.ifioctl
Security: CVE-2013-5710
Security: FreeBSD-SA-13:13.nullfs
Approved by: so

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

10 years agoMFC r253980 -- add new pciids for ciss(4)
sbruno [Mon, 9 Sep 2013 21:26:18 +0000 (21:26 +0000)]
MFC r253980 -- add new pciids for ciss(4)

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

10 years agoMFC r254906 -- add SYSPD (real jbod) support to mfiutil
sbruno [Mon, 9 Sep 2013 21:05:01 +0000 (21:05 +0000)]
MFC r254906 -- add SYSPD (real jbod) support to mfiutil

Add support to reconfigure a drive as SYSPD (real JBOD in LSI
terminology).

Adds command "mfiutil syspd <drive#>" to change a drive to SYSPD.  Drive
will then be scanned/reported immediately as /dev/mfisyspdX by the host.

"mfiutil good <drive#>" clears SYSPD mode, remove /dev/mfisyspdX and
sets disk into UNCONFIGURED mode.

Tested on Dell H310 SAS/SATA RAID controller.

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

10 years agoMFC 236106:
jhb [Mon, 9 Sep 2013 15:38:51 +0000 (15:38 +0000)]
MFC 236106:
Passing NULL as a key casues a segfault when loading SSH 1 keys.  Use
an empty string instead.

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

10 years agoMFC r255090 and r255128:
hselasky [Sat, 7 Sep 2013 06:41:22 +0000 (06:41 +0000)]
MFC r255090 and r255128:
Add more USB IDs.

PR: kern/181728

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

10 years agoMerged r254809 and 254937 from head:
joerg [Thu, 5 Sep 2013 20:34:58 +0000 (20:34 +0000)]
Merged r254809 and 254937 from head:

. Fix "2step" feature (i.e. 360 KiB media in 1200 KiB drives)
. Fix FDOPT_NOERROR option

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

10 years agoMFC r254018:
markj [Tue, 3 Sep 2013 23:20:03 +0000 (23:20 +0000)]
MFC r254018:
Pass variables prefixed with both LD_ and LD_32_ to the run-time linker.
This prevents unintentional execution of programs when running ldd(1) on
32-bit Linux binaries.

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

10 years agoMFC r211847: Set de_dir for user created symbolic links.
avg [Thu, 29 Aug 2013 12:25:12 +0000 (12:25 +0000)]
MFC r211847: Set de_dir for user created symbolic links.

This MFC should fix a panic introduced in r254708.

Reported by: Toomas Aas <toomas.aas@raad.tartu.ee>, jase
Tested by: jase
MFC slacker: jh

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

10 years agoMFC 250421: posix_spawn_file_actions_adddup2(3): Document difference with
jilles [Sun, 25 Aug 2013 15:01:43 +0000 (15:01 +0000)]
MFC 250421: posix_spawn_file_actions_adddup2(3): Document difference with
dup2().

The ability to clear a file descriptor's close-on-exec flag via
posix_spawn_file_actions_adddup2() is in fact proposed in Austin Group issue
#411.

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

10 years agoMFC r250412: posix_spawn_file_actions_addopen(3): Correct error for bad file
jilles [Sun, 25 Aug 2013 15:00:34 +0000 (15:00 +0000)]
MFC r250412: posix_spawn_file_actions_addopen(3): Correct error for bad file
descriptor.

As per POSIX.1-2008, posix_spawn_file_actions_add* return [EBADF] if a file
descriptor is negative, not [EINVAL]. The bug was only in the manual page;
the code is correct.

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

10 years agoMFC r254438:
hselasky [Sat, 24 Aug 2013 07:19:57 +0000 (07:19 +0000)]
MFC r254438:
Fix some USB controller names according to pciconf output.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>

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

10 years agoMFC r212966: Modify devfs_fqpn() for future use in devfs path reference
avg [Fri, 23 Aug 2013 17:03:43 +0000 (17:03 +0000)]
MFC r212966: Modify devfs_fqpn() for future use in devfs path reference
counting code

This should fix build failure introduced in r254708.

Pointyhat to: avg
MFC slacker: jh

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

10 years agoMFC r253677,253679: make path matching in devfs rules consistent and
avg [Fri, 23 Aug 2013 14:25:04 +0000 (14:25 +0000)]
MFC r253677,253679: make path matching in devfs rules consistent and
sane (and safer)

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

10 years agoMFC r253996,253997: opensolaris code: translate INVARIANTS to DEBUG and
avg [Fri, 23 Aug 2013 14:18:24 +0000 (14:18 +0000)]
MFC r253996,253997: opensolaris code: translate INVARIANTS to DEBUG and
ZFS_DEBUG

Please note that support for compiling ZFS into a kernel is not in this
branch as of now.
Also, not all modules from head are in this branch.

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

10 years agoMFC r253772,253773,253989: dtrace disassembler: take the latest/last
avg [Fri, 23 Aug 2013 14:03:48 +0000 (14:03 +0000)]
MFC r253772,253773,253989: dtrace disassembler: take the latest/last
CDDL code from OpenSolaris

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

10 years agoMFC r253606: zfs module: perform cleanup during shutdown in addition to
avg [Fri, 23 Aug 2013 13:30:07 +0000 (13:30 +0000)]
MFC r253606: zfs module: perform cleanup during shutdown in addition to
module unload

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

10 years agoMFC r253603: zfs: move vnode creation from zfs_znode_cache_constructor
avg [Fri, 23 Aug 2013 13:27:27 +0000 (13:27 +0000)]
MFC r253603: zfs: move vnode creation from zfs_znode_cache_constructor
to zfs_znode_alloc

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

10 years agoMFC r253604: rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST
avg [Fri, 23 Aug 2013 13:22:14 +0000 (13:22 +0000)]
MFC r253604: rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST

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

10 years agoMFC r198335,198365: remove dependency between NO_WARNS and CSTD
avg [Fri, 23 Aug 2013 13:19:12 +0000 (13:19 +0000)]
MFC r198335,198365: remove dependency between NO_WARNS and CSTD

There is no reason to have it.

Reviewed by: dim
MFC slackers: rdivacky, ru

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

10 years agoMFC r254095:
ae [Thu, 22 Aug 2013 06:24:02 +0000 (06:24 +0000)]
MFC r254095:
  gpt_entries is used as limit for the number of partition entries in
  the GEOM_PART. Instead of just using number of entries from the GPT
  header, calculate this limit based on the reserved space between
  GPT header and first available LBA.

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

10 years agoFix an integer overflow in computing the size of a temporary buffer
delphij [Thu, 22 Aug 2013 00:51:37 +0000 (00:51 +0000)]
Fix an integer overflow in computing the size of a temporary buffer
can result in a buffer which is too small for the requested
operation.

Security: CVE-2013-3077
Security: FreeBSD-SA-13:09.ip_multicast

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

10 years agoMFC r254457
bryanv [Tue, 20 Aug 2013 19:17:01 +0000 (19:17 +0000)]
MFC r254457
  Do not use potentially stale thread in kthread_add()

  When an existing process is provided, the thread selected to use
  to initialize the new thread could have exited and be reaped.
  Acquire the proc lock earlier to ensure the thread remains valid.

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

10 years agoMFC r254243:
hselasky [Tue, 20 Aug 2013 07:40:40 +0000 (07:40 +0000)]
MFC r254243:

- Try to fix build of 32-bit compatibility USB support for FreeBSD and
Linux targets without breaking the existing IOCTL API.

- Remove some not-needed header file inclusions.

- Wrap a long line.

Reported by: Damjan Jovanovic <damjan.jov@gmail.com>

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

10 years agoMFC r254238:
hselasky [Tue, 20 Aug 2013 07:15:16 +0000 (07:15 +0000)]
MFC r254238:
Correct an EHCI register write.

Reported by:    aseem.jolly@gmail.com

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

10 years agoMFC r254525:
gjb [Mon, 19 Aug 2013 14:38:35 +0000 (14:38 +0000)]
MFC r254525:
 Add entry for packages-9.2-release directory.

Approved by: re (implicit)

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

10 years agoMFC r254191:
kib [Sat, 17 Aug 2013 08:08:58 +0000 (08:08 +0000)]
MFC r254191:
Match malloc(9) calls with free(9), not contigfree(9).

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

10 years agoMFC r254338:
tuexen [Thu, 15 Aug 2013 04:35:25 +0000 (04:35 +0000)]
MFC r254338:

Don't send uninitialized memory (two instances of 4 bytes) in
every cookie on the wire. This bug was reported in
https://bugzilla.mozilla.org/show_bug.cgi?id=905080

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

10 years agoMFC: Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags
gshapiro [Thu, 15 Aug 2013 01:40:55 +0000 (01:40 +0000)]
MFC: Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags
     to prevent problems between the resolver and Microsoft DNS servers with
     AAAA lookups.  The upstream open source project will work on a more
     permanent fix for the next release.  Issue noted by Pavel Timofeev.

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

10 years agoMFC r253850:
markj [Wed, 14 Aug 2013 02:37:07 +0000 (02:37 +0000)]
MFC r253850:
Properly print arguments to vfork(2) and rfork(2).

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

10 years agoMFC r254020:
markj [Wed, 14 Aug 2013 01:55:44 +0000 (01:55 +0000)]
MFC r254020:
Add a missing module version declaration to if_tun(4).

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

10 years agoMFC: r253926
smh [Sun, 11 Aug 2013 01:06:35 +0000 (01:06 +0000)]
MFC: r253926

zfs_ioc_rename should not leave the value of zc_name passed in via zc altered
on return.

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

10 years agoMFC 253887,253977:
hrs [Thu, 8 Aug 2013 17:20:09 +0000 (17:20 +0000)]
MFC 253887,253977:

- Use pget(PGET_CANDEBUG | PGET_NOTWEXIT) to determine if the specified
  PID is valid for monitoring in FILEMON_SET_PID ioctl.

- Set the monitored PID to -1 when the process exits.

Suggested by: jilles
Tested by: sjg

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

10 years agoMFC r253859:
kib [Thu, 8 Aug 2013 05:41:55 +0000 (05:41 +0000)]
MFC r253859:
Remove unused malloc type.

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

10 years agoMFC r253073: zfs: try to properly handle i/o errors in mappedread_sf
avg [Wed, 7 Aug 2013 07:44:13 +0000 (07:44 +0000)]
MFC r253073: zfs: try to properly handle i/o errors in mappedread_sf

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

10 years agoMFC r253070: zfs: load zpool.cache after a root fs is mounted
avg [Wed, 7 Aug 2013 07:42:09 +0000 (07:42 +0000)]
MFC r253070: zfs: load zpool.cache after a root fs is mounted

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

10 years agoMFC r253602: newvers.sh: add another git-svn fallback
avg [Wed, 7 Aug 2013 07:39:52 +0000 (07:39 +0000)]
MFC r253602: newvers.sh: add another git-svn fallback

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

10 years agoMFC r253601: newvers.sh: fix the fallback case of git-svn detection
avg [Wed, 7 Aug 2013 07:38:18 +0000 (07:38 +0000)]
MFC r253601: newvers.sh: fix the fallback case of git-svn detection

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

10 years agoMFC r253072: amd64: use -mno-omit-leaf-frame-pointer in addition to
avg [Wed, 7 Aug 2013 07:36:37 +0000 (07:36 +0000)]
MFC r253072: amd64: use -mno-omit-leaf-frame-pointer in addition to
-fno-omit-frame-pointer

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

10 years agoMFC r253605: zfsboottest: remove explicit -Werror
avg [Wed, 7 Aug 2013 07:34:59 +0000 (07:34 +0000)]
MFC r253605: zfsboottest: remove explicit -Werror

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

10 years agoMFC r253068: zfsboottest.sh: remove checks for things that are not
avg [Wed, 7 Aug 2013 07:33:19 +0000 (07:33 +0000)]
MFC r253068: zfsboottest.sh: remove checks for things that are not
strictly required

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

10 years agoMFC r253067: zfsboottest: sync with changes in zfs boot code
avg [Wed, 7 Aug 2013 07:31:41 +0000 (07:31 +0000)]
MFC r253067: zfsboottest: sync with changes in zfs boot code

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

10 years agoMFC r253076: rc.d/zfs: pass -v option to zfs mount
avg [Wed, 7 Aug 2013 07:28:00 +0000 (07:28 +0000)]
MFC r253076: rc.d/zfs: pass -v option to zfs mount

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

10 years agoMFC r253328:
kib [Wed, 7 Aug 2013 06:32:13 +0000 (06:32 +0000)]
MFC r253328:
Create a proper stack frame for i386 version of bcopy().

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

10 years agoMFC r253417:
kib [Wed, 7 Aug 2013 06:23:28 +0000 (06:23 +0000)]
MFC r253417:
Clear the vnode knotes before destroying vpollinfo.

MFC r253737:
Split the destruction into the helper destroy_vpollinfo_free(), and
call it when raced, instead of destroy_vpollinfo().

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

10 years agoMFC r253818:
smh [Fri, 2 Aug 2013 23:33:40 +0000 (23:33 +0000)]
MFC r253818:

Fix zfs send -D hang after processing requiring a CTRL+C to interrupt due to
pthread_join prior to fd close.

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

10 years agoMFC r253754:
mav [Thu, 1 Aug 2013 09:48:12 +0000 (09:48 +0000)]
MFC r253754:
Partially close race between calls of orphan() method from GEOM and close()
method from ZFS core, that reliably causes use-after-free panic if SSD vdev
detached during inititial erase.

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

10 years agoFix Denial of Service vulnerability in named(8). [13:07]
delphij [Fri, 26 Jul 2013 22:53:17 +0000 (22:53 +0000)]
Fix Denial of Service vulnerability in named(8). [13:07]

Security: CVE-2013-4854
Security: FreeBSD-SA-13:07.bind
Approved by: so

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

10 years agoMFC r253532:
hselasky [Fri, 26 Jul 2013 06:28:41 +0000 (06:28 +0000)]
MFC r253532:

Fix an XHCI regression:

The Block Event Interrupts, BEI, feature does not
work like expected with the Renesas XHCI chipsets.
Revert feature.

While at it correct the TD SIZE computation in
case of Zero Length Packet, ZLP, in the end of a
multi frame USB transfer.

PR: usb/180726

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

10 years agoMFC r253404:
yongari [Fri, 26 Jul 2013 06:23:57 +0000 (06:23 +0000)]
MFC r253404:
   o TxD ring requires 8 bytes alignment to work so change alignment
     constraint to 8. Previously it may have triggered watchdog
     timeouts.
   o Check whether interrupt is ours or not.
   o Enable interrupts before attemping to transmit queued packets.
     This will slightly improve TX performance.
   o No need to clear IFF_DRV_OACTIVE in a loop. AE_FLAG_TXAVAIL is
     used to know whether there are enough available TxD ring space.
   o Added missing bus_dmamap_sync(9) in ae_rx_intr() and rearranged
     code to avoid unncessary register access.
   o Make sure to clear TxD, TxS, RxD rings in driver initialization.
     Otherwise some data in these rings could be interpreted as
     'updated' which in turn will advance internally maintained
     pointers and can trigger watchdog timeouts.

  PR: kern/180382

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

10 years agoMFC: r253455
jkim [Wed, 24 Jul 2013 22:26:58 +0000 (22:26 +0000)]
MFC: r253455

Decode PCIe ASPM capability and status.

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

10 years agoMFC r253380,253413: name passed into __setenv is not necessarily NUL-terminated
avg [Wed, 24 Jul 2013 08:56:59 +0000 (08:56 +0000)]
MFC r253380,253413: name passed into __setenv is not necessarily NUL-terminated

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

10 years agoMFC 252576:
jhb [Wed, 17 Jul 2013 14:05:35 +0000 (14:05 +0000)]
MFC 252576:
Don't perform the acpi_DeviceIsPresent() check for PCI-PCI bridges.  If
we are probing a PCI-PCI bridge it is because we found one by enumerating
the devices on a PCI bus, so the bridge is definitely present.  A few
BIOSes report incorrect status (_STA) for some bridges that claimed they
were not present when in fact they were.

While here, move this check earlier for Host-PCI bridges so attach fails
before doing any work that needs to be torn down.

PR: kern/91594

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

10 years agoMFC r253141:
kib [Wed, 17 Jul 2013 10:53:11 +0000 (10:53 +0000)]
MFC r253141:
When panicing due to the gjournal overflow, print the geom metadata
journal id.

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

10 years agoMFC r253079: dtrace/fasttrap: install hook functions only after all data
avg [Tue, 16 Jul 2013 11:54:25 +0000 (11:54 +0000)]
MFC r253079: dtrace/fasttrap: install hook functions only after all data
is initialized

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

10 years agoMFC r253078: audit_proc_coredump: check return value of audit_new
avg [Tue, 16 Jul 2013 10:43:44 +0000 (10:43 +0000)]
MFC r253078: audit_proc_coredump: check return value of audit_new

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

10 years agoMFC r253075: namecache sdt: freebsd doesn't support structured
avg [Tue, 16 Jul 2013 07:28:38 +0000 (07:28 +0000)]
MFC r253075: namecache sdt: freebsd doesn't support structured
characters yet

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

10 years agoMFC r253290:
gjb [Mon, 15 Jul 2013 15:00:17 +0000 (15:00 +0000)]
MFC r253290:
 Document that a literal jail name of 0 (zero) is not allowed.

PR: 174436

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

10 years agoMFH (r253138,r253258): install authpf-noip
des [Mon, 15 Jul 2013 09:02:57 +0000 (09:02 +0000)]
MFH (r253138,r253258): install authpf-noip

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

10 years agoMFC r221845: Update sticky(7) cross references.
pluknet [Sun, 14 Jul 2013 21:57:25 +0000 (21:57 +0000)]
MFC r221845: Update sticky(7) cross references.

MFC reminded by: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>

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

10 years agoMFC r253105:
tuexen [Fri, 12 Jul 2013 13:52:27 +0000 (13:52 +0000)]
MFC r253105:
Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC in
sctp_opt_info().

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

10 years agoMFC r253104:
tuexen [Fri, 12 Jul 2013 13:51:19 +0000 (13:51 +0000)]
MFC r253104:
Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
sctp_opt_info().

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

10 years agoMFC r253134:
yongari [Fri, 12 Jul 2013 02:28:35 +0000 (02:28 +0000)]
MFC r253134:
  Avoid controller reinitialization which could be triggered by
  dhclient(8) or alias addresses are added.

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

10 years agoMFC: r252673
rmacklem [Fri, 12 Jul 2013 00:59:03 +0000 (00:59 +0000)]
MFC: r252673
A problem with the old NFS client where large writes to large files
would sometimes result in a corrupted file was reported via email.
This problem appears to have been caused by r251719 (reverting
r251719 fixed the problem). Although I have not been able to
reproduce this problem, I suspect it is caused by another thread
increasing np->n_size after the mtx_unlock(&np->n_mtx) but before
the vnode_pager_setsize() call. Since the np->n_mtx mutex serializes
updates to np->n_size, doing the vnode_pager_setsize() with the
mutex locked appears to avoid the problem.
Unfortunately, vnode_pager_setsize() where the new size is smaller,
cannot be called with a mutex held.
This patch returns the semantics to be close to pre-r251719 such that the
call to the vnode_pager_setsize() is only delayed until after the mutex is
unlocked when np->n_size is shrinking. Since the file is growing
when being written, I believe this will fix the corruption.

Tested by: remy.nonnenmacher@activnetworks.com

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

10 years agoMFC r253091:
smh [Thu, 11 Jul 2013 09:13:05 +0000 (09:13 +0000)]
MFC r253091:
Added 4K QUIRK for OCZ Vertex 4 SSDs

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

10 years agoMFC r245926, r245931
yongari [Thu, 11 Jul 2013 08:50:30 +0000 (08:50 +0000)]
MFC r245926, r245931
  - Improve some comments.
  - Make bge_lookup_{rev,vendor}() static.
  - Factor out chip identification rather than duplicating the code.
  - Sanitize bge_probe() a bit (don't hardcode buffer sizes, allow
    bge_lookup_vendor() to return NULL so the excessive panic() can
    be removed there, etc.) and return BUS_PROBE_DEFAULT rather than
    hardcoding 0.
  - According to the Linux tg3 driver, BCM57791 and BCM57795 aren't
    capable of Gigabit Ethernet.
  - Check the return value of taskqueue_start_threads().
  - Mention NetLink controllers in the fallback description, too.

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

10 years agoMFC r245867:
yongari [Thu, 11 Jul 2013 08:42:17 +0000 (08:42 +0000)]
MFC r245867:
  For 57765 class controllers, set low watermark max receive frames to 1.

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

10 years agoMFC r245870:
yongari [Thu, 11 Jul 2013 08:18:46 +0000 (08:18 +0000)]
MFC r245870:
  bge_attach() can fail before attaching mii(4). So make sure to check
  bge_miibus before detaching mii(4).

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

10 years agoMFC r252404:
yongari [Wed, 10 Jul 2013 01:33:49 +0000 (01:33 +0000)]
MFC r252404:
  Fix triggering false watchdog timeout as done in bce(4) when
  controller is in PAUSE state.

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