]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
11 years agoMFC r241092:
kib [Thu, 4 Oct 2012 09:02:38 +0000 (09:02 +0000)]
MFC r241092:
Add the UPDATING note about padlock rng support requiring the config change.

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

11 years agoMFC r241115:
eadler [Thu, 4 Oct 2012 01:37:11 +0000 (01:37 +0000)]
MFC r241115:
Indicate (loudly) that ports csup is going away.

While here clarify some other portions.

Approved by: cperciva (implicit)

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

11 years agoMFC r241062:
eadler [Thu, 4 Oct 2012 01:33:48 +0000 (01:33 +0000)]
MFC r241062:
clarify the wording for 'first' and 'last'

Approved by: cperciva (implicit)

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

11 years agoMFC r240645:
zont [Wed, 3 Oct 2012 11:56:18 +0000 (11:56 +0000)]
MFC r240645:
- Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively.

MFC r240649:
- Bump date.

Approved by: kib (mentor)

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

11 years agoMFC r240682
bapt [Tue, 2 Oct 2012 17:05:20 +0000 (17:05 +0000)]
MFC r240682

if a file in plist starts with / then do not prefix it with "prefix" [1]
pkg info -g returns 1 if a file mismatch [2]
flush stdout in pkg info -g [3]
clean up quiet mode (-q | --quiet) output of pkg_version(1) [4]
fix missing error call in uname check added to pkg_version(1) [5]
fix pkg_add(1) fails to install with -C from bad path [6]
only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7]

PR: bin/13128 [1]
bin/139015 [2]
bin/113702 [3]
bin/142570 [4]
bin/146857 [5]
bin/157543 [6]
Submitted by: cy [1]
Anton Yuzhaninov <citrin@citrin.ru> [2]
Ighighi <ighighi@gmail.com> [3]
"N.J. Mann" <njm@njm.me.uk> [4]
gcooper [5]
David Naylor <naylor.b.david@gmail.com> [6]
netchild [7]

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

11 years agoMFC 239779:
jhb [Mon, 1 Oct 2012 19:43:37 +0000 (19:43 +0000)]
MFC 239779:
Shorten the name of the fast SWI taskqueue to "fast taskq" so that
it fits.

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

11 years agoMerge r240683 from head
gavin [Mon, 1 Oct 2012 15:50:18 +0000 (15:50 +0000)]
Merge r240683 from head
  Add entries for two USB devices I have locally.

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

11 years agoMerge the following from head:
gavin [Mon, 1 Oct 2012 15:47:13 +0000 (15:47 +0000)]
Merge the following from head:

  r240694
    Add PCI subclass for NVM Express devices.

  r240699, r240739
    Recognise NVM devices and pretty-print their name.

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

11 years agoMFC r238547:
jh [Mon, 1 Oct 2012 14:55:22 +0000 (14:55 +0000)]
MFC r238547:

Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes differently compared to UFS.

PR: bin/169493

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

11 years agoMFC r238546: Remove trailing whitespace.
jh [Mon, 1 Oct 2012 14:52:34 +0000 (14:52 +0000)]
MFC r238546: Remove trailing whitespace.

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

11 years agoMFC r240856:
hselasky [Mon, 1 Oct 2012 06:00:08 +0000 (06:00 +0000)]
MFC r240856:
Correct driver name.

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

11 years agoMFC r233090 and r240891:
hselasky [Mon, 1 Oct 2012 05:57:48 +0000 (05:57 +0000)]
MFC r233090 and r240891:
The UMS module is now loaded by rules in /etc/devd/usb.conf.
Improve moused when used with USB mouse devices.

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

11 years agoMFC r240982:
kevlo [Mon, 1 Oct 2012 03:17:23 +0000 (03:17 +0000)]
MFC r240982:
Initialize the num variable to avoid uninitialized data.
This fixes the bug introduced by r238378.

Reviewed by: pfg

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

11 years agoMFC r241007, r241008:
pfg [Sun, 30 Sep 2012 00:44:53 +0000 (00:44 +0000)]
MFC r241007, r241008:

Complete revert of r239963 (from head).

The attempt to merge changes from the linux libtirpc caused
rpc.lockd to exit after startup under unclear conditions.

Reported by: David Wolfskill

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

11 years agoMFC r239744:
delphij [Fri, 28 Sep 2012 22:26:44 +0000 (22:26 +0000)]
MFC r239744:

Show error messages if nmount() failed.

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

11 years agoMFC r240495:
eadler [Fri, 28 Sep 2012 01:04:09 +0000 (01:04 +0000)]
MFC r240495:
Adding missing return statements during error conditions.

PR: kern/171187
Approved by: cperciva (implicit)

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

11 years agoMFC r240595:
trociny [Thu, 27 Sep 2012 18:52:04 +0000 (18:52 +0000)]
MFC r240595:

In snmp_hostres, device_map table is used for consistent device table
indexing. When a device has gone it is not removed from device_map
table but just its entry_p field is set to NULL.

So when traversing device_map in disk_OS_get_ATA_disks() and
disk_OS_get_MD_disks() check for entry_p being NULL, otherwise the
bsnmpd crash is possible when a removed map entry is dereferenced.

Before the fix, for disk_OS_get_ATA_disks() the crash could be easily
reproduced running:

  atacontrol detach ata1

The crash was not observed in disk_OS_get_MD_disks() because currently
snmp_hostres does no see md(4) disks: to get the device list it uses
devinfo(3), which does not return md devices.

Reported by:  Miroslav Lachman 000.fbsd quip.cz

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

11 years agoMFC r240135:
kib [Thu, 27 Sep 2012 10:56:25 +0000 (10:56 +0000)]
MFC r240135:
Add support for new Intel on-CPU Bull Mountain random number generator.

MFC r240455:
Rename the IVY_RNG option to RDRAND_RNG.

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

11 years agoMFC r229887 (by jkim):
kib [Thu, 27 Sep 2012 10:41:34 +0000 (10:41 +0000)]
MFC r229887 (by jkim):
Enable hardware RNG for VIA Nano processors.

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

11 years agoMFC r240884:
mav [Thu, 27 Sep 2012 08:06:03 +0000 (08:06 +0000)]
MFC r240884:
Fix panic caused by wrong pointer dereference, left after pin sense rewrite
at r230551.

Also while there, make sense polling use reported for each node separately
instead of reporting accumulated total status.

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

11 years agoMFC 240880:
pfg [Thu, 27 Sep 2012 04:06:20 +0000 (04:06 +0000)]
MFC 240880:

Revert a change from Bull's NFSv4 libtirpc implementation:

libtirpc: be sure to free cl_netid and cl_tp

This change is causing rpc.lockd to exit after startup.

Reported by: David Wolfskill

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

11 years agoAdd new DEBUG kernel distribution.
dteske [Wed, 26 Sep 2012 20:14:04 +0000 (20:14 +0000)]
Add new DEBUG kernel distribution.

Submitted by: Rick Miller <vmiller at hostileadmin dit com>
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)

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

11 years agoMFC r226940 (rmh):
mm [Wed, 26 Sep 2012 12:36:22 +0000 (12:36 +0000)]
MFC r226940 (rmh):

Fix a few gratuitous library dependencies. Some of the ZFS utilities
are linked with libraries they don't use:

 - zinject doesn't use libavl
 - ztest doesn't use libz
 - zdb uses neither libavl nor libz
 - zfs uses neither libbsdxml nor libm, nor libsbuf
 - zpool uses neither libbsdxml nor libm, nor libsbuf

In addition, libzfs needs libm because it uses pow(), however it isn't
linked with -lm.  This went unnoticed because all its users had -lm before.

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

11 years agoMFC r236248-r236250:
mm [Wed, 26 Sep 2012 11:12:09 +0000 (11:12 +0000)]
MFC r236248-r236250:

MFC r236248 (pjd):
Remove unused variable.

MFC r236249 (pjd):
Eliminate 'where' argument, we don't use it.

MFC r236250 (pjd):
Tighten up the assertion: because size can't be 0 and even if sm_space is equal
to sm_size, any 'sm_space - size' will be less than sm_size.

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

11 years agoMFC r240701:
tijl [Tue, 25 Sep 2012 13:34:09 +0000 (13:34 +0000)]
MFC r240701:

Fix a panic when trying to play invalid audio tracks.

PR: kern/167340
Reported by: Michael L. Semon <mlsemon35 gmail com>

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

11 years agoMFC r240480:
eadler [Tue, 25 Sep 2012 01:33:22 +0000 (01:33 +0000)]
MFC r240480:
Belatedly add myself

Approved by: cperciva (implicit)

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

11 years agoMFC r240470:
eadler [Tue, 25 Sep 2012 01:31:23 +0000 (01:31 +0000)]
MFC r240470:
Remove scripts and tools which only functioned when src was using CVS

Approved by: cperciva (implicit)

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

11 years agoMFC r240466:
eadler [Tue, 25 Sep 2012 01:28:13 +0000 (01:28 +0000)]
MFC r240466:
Define missing DEBUGOUT# macros. DEBUGOUT[45] are not yet used but are
being defined pre-emptively to avoid future build breakage

PR: kern/168967
Approved by: cperciva (implicit)

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

11 years agoMFC r238601
sbruno [Sun, 23 Sep 2012 20:31:45 +0000 (20:31 +0000)]
MFC r238601

On BIO_ERROR, set bio_resid to stop losing data in the error case.

Submitted by: Mark Johnston <markjdb@gmail.com>

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

11 years agoMFC r238371
sbruno [Sun, 23 Sep 2012 20:24:17 +0000 (20:24 +0000)]
MFC r238371

When an MFI command fails, the driver needs to set bio->bio_resid so that
the upper levels notice.  Otherwise we see commands silently failing leading
to data corruption.  This mirrors dadone()

Submitted by: Andrew Boyer aboyer@averesystems.com

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

11 years agoMFC r238373
sbruno [Sun, 23 Sep 2012 20:16:17 +0000 (20:16 +0000)]
MFC r238373

sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on
unless the file also includes opt_mfi.h.

Submitted by: Andrew Boyer aboyer@averesystems.com

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

11 years agoMFC r240205:
zeising [Sun, 23 Sep 2012 14:50:01 +0000 (14:50 +0000)]
MFC r240205:

Change the link pointing to more information about the Yarrow algorithm, the
current link points to a irrelevant catchall site.

PR:             docs/171411
Submitted by:   Mark Martinec <Mark.Martinec@ijs.si> (pr), zeising (patch)
Approved by:    joel (mentor)

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

11 years agoMFC r240513: sched_ule: fix inverted condition in reporting of priority
avg [Sat, 22 Sep 2012 21:19:49 +0000 (21:19 +0000)]
MFC r240513: sched_ule: fix inverted condition in reporting of priority
lending via ktr

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

11 years agoMFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync
avg [Sat, 22 Sep 2012 21:14:53 +0000 (21:14 +0000)]
MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync
with kernel code

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

11 years agoMFC r239963:
pfg [Sat, 22 Sep 2012 04:22:17 +0000 (04:22 +0000)]
MFC r239963:

Bring some changes from Bull's NFSv4 libtirpc implementation.

____

Fixed infinite loop in svc_run()
____

__rpc_taddr2uaddr_af() assumes the netbuf to always have a
non-zero data. This is a bad assumption and can lead to a
seg-fault. This patch adds a check for zero length and returns
NULL when found.
____

Changed clnt_spcreateerror() to return clearer
and more concise error messages.
____

Converted all uid and gid variables of the type uid_t and gid_t.
____

libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed

These fields in the rpcbind GETADDR call are being passed uninitialized
to CLNT_CALL. In the case of x86_64 at least, this usually leads to a
segfault. On x86, it sometimes causes segfaults and other times causes
garbage to be sent on the wire.

rpcbind generally ignores the r_owner field for calls that come in over
the wire, so it really doesn't matter what we send in that slot. We just
need to send something. The reference implementation from Sun seems to
send a blank string. Have ours follow suit.
____

libtirpc: be sure to free cl_netid and cl_tp

When creating a client with clnt_tli_create, it uses strdup to copy
strings for these fields if nconf is passed in. clnt_dg_destroy frees
these strings already. Make sure clnt_vc_destroy frees them in the same
way.

____

Obtained from: Bull GNU/Linux NFSv4 Project

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

11 years agoMFC r240524: siginfo(3): Document TRAP_DTRACE signal code.
jilles [Fri, 21 Sep 2012 12:40:31 +0000 (12:40 +0000)]
MFC r240524: siginfo(3): Document TRAP_DTRACE signal code.

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

11 years agosiginfo(3): Document SI_USER and SI_KERNEL signal codes.
jilles [Fri, 21 Sep 2012 12:38:52 +0000 (12:38 +0000)]
siginfo(3): Document SI_USER and SI_KERNEL signal codes.

Different from stable/9 and head, do not mention pthread_kill(3), which
generates a different code (SI_USER) in stable/8.

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

11 years agoMFC r240383:
mav [Thu, 20 Sep 2012 19:05:24 +0000 (19:05 +0000)]
MFC r240383:
Fix AHCI 1.2 version checks. This should be mostly cosmetic.

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

11 years agoMFC r240530 from HEAD:
issyl0 [Thu, 20 Sep 2012 17:39:07 +0000 (17:39 +0000)]
MFC r240530 from HEAD:
  - Remove a reference to CVS and freefall from a user-facing man page.

PR: docs/171658
Approved by: gabor (mentor)

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

11 years agoMFC r240464:
kib [Thu, 20 Sep 2012 10:28:44 +0000 (10:28 +0000)]
MFC r240464:
The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively,
which is an elaborate way to cause kernel panic. Change the VOPs
implementation to return EBADF for a reclaimed vnode.

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

11 years agoUpgrade to 9.6-ESV-R7-P3:
dougb [Thu, 20 Sep 2012 04:35:20 +0000 (04:35 +0000)]
Upgrade to 9.6-ESV-R7-P3:

Prevents a crash when queried for a record whose RDATA exceeds
65535 bytes.

Prevents a crash when validating caused by using "Bad cache" data
before it has been initialized.

ISC_QUEUE handling for recursive clients was updated to address
a race condition that could cause a memory leak. This rarely
occurred with UDP clients, but could be a significant problem
for a server handling a steady rate of TCP queries.

A condition has been corrected where improper handling of
zero-length RDATA could cause undesirable behavior, including
termination of the named process.

For more information: https://kb.isc.org/article/AA-00788

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

11 years agoMFC r240079,215837:
delphij [Wed, 19 Sep 2012 23:03:54 +0000 (23:03 +0000)]
MFC r240079,215837:

Update arcmsr(4) to vendor version 1.20.00.25.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: Ching-Lung Huang <ching2048 areca com tw>

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

11 years agoMF9: r237795
obrien [Wed, 19 Sep 2012 20:11:47 +0000 (20:11 +0000)]
MF9: r237795
     MFC: r236592 r236593 r236594 r236620 r236621 r236622 r236637 r237794:
          filemon(4)

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

11 years agoMFC: r240391
bapt [Wed, 19 Sep 2012 06:20:25 +0000 (06:20 +0000)]
MFC: r240391

Fix IEC / SI binary prefixes (Ki, Mi, Gi, etc) production by humanize_number(3)

PR: bin/171487
Submitted by: matthew

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

11 years agoMFC: r236213, r236333, r236336, r240476
bapt [Tue, 18 Sep 2012 20:20:29 +0000 (20:20 +0000)]
MFC: r236213, r236333, r236336, r240476

- Let pkg_add use the ENV variable PACKAGESUFFIX
- Make sure that each va_start has one and only one matching va_end
- Do not change owner, group, or mode when package database directory and
its contents are created with pkg_add(1).  It may happen when the packing
list contains @owner, @group, or @mode.

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

11 years agoMFC r240340: acpi.4: machdep.cpu_idle_hlt no longer exists
avg [Tue, 18 Sep 2012 08:28:08 +0000 (08:28 +0000)]
MFC r240340: acpi.4: machdep.cpu_idle_hlt no longer exists

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

11 years agoMFC r240514:
jimharris [Mon, 17 Sep 2012 16:11:22 +0000 (16:11 +0000)]
MFC r240514:

isci(4): Fix SCSI/ATA translation for SCSI_WRITE_BUFFER w/ mode==0x7
(download microcode with offsets, save, and activate).

SATI translation layer was incorrectly using allocation length instead
of blocks, and was constructing the ATA command incorrectly.

Also change #define to specify that the 512 block size here is
specific for DOWNLOAD_MICROCODE, and does not relate to the device's
logical block size.

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

11 years agoMFC r240003, r240004:
trociny [Mon, 17 Sep 2012 14:54:58 +0000 (14:54 +0000)]
MFC r240003, r240004:

r240003:

In soreceive_generic() when checking if the type of mbuf has changed
check it for MT_CONTROL type too, otherwise the assertion
"m->m_type == MT_DATA" below may be triggered by the following scenario:

- the sender sends some data (MT_DATA) and then a file descriptor
  (MT_CONTROL);
- the receiver calls recv(2) with a MSG_WAITALL asking for data larger
  than the receive buffer (uio_resid > hiwat).

r240004:

In soreceive_generic() remove the optimization for the case when
MSG_WAITALL is set, and it is possible to do the entire receive
operation at once if we block (resid <= hiwat). Actually it might make
the recv(2) with MSG_WAITALL flag get stuck when there is enough space
in the receiver buffer to satisfy the request but not enough to open
the window closed previously due to the buffer being full.

The issue can be reproduced using the following scenario:

On the sender side do 2 send(2) requests:

1) data of size much smaller than SOBUF_SIZE (e.g. SOBUF_SIZE / 10);
2) data of size equal to SOBUF_SIZE.

On the receiver side do 2 recv(2) requests with MSG_WAITALL flag set:

1) recv() data of SOBUF_SIZE / 10 size;
2) recv() data of SOBUF_SIZE size;

We totally fill the receiver buffer with one SOBUF_SIZE/10 size request
and partial SOBUF_SIZE request. When the first request is processed we
get SOBUF_SIZE/10 free space. It is just enough to receive the rest of
bytes for the second request, and soreceive_generic() blocks in the
part that is a subject of this change waiting for the rest. But the
window was closed when the buffer was filled and to avoid silly window
syndrome it opens only when available space is larger than sb_hiwat/4
or maxseg. So it is stuck and pending data is only sent via TCP window
probes.

Discussed with: kib (long ago)

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

11 years agoMFC r240520:
eadler [Mon, 17 Sep 2012 00:47:37 +0000 (00:47 +0000)]
MFC r240520:
s/teh/the/g

Approved by: cperciva (implicit)

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

11 years agoMFC r240518:
eadler [Mon, 17 Sep 2012 00:44:11 +0000 (00:44 +0000)]
MFC r240518:
Correct double "the the"

Approved by: cperciva (implicit)

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

11 years agoMFC r240521:
eadler [Mon, 17 Sep 2012 00:32:35 +0000 (00:32 +0000)]
MFC r240521:

s/ is is / is /g
s/ a a / a /g

Approved by: cperciva (implicit)

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

11 years agoMerge r240118 from head:
gavin [Sun, 16 Sep 2012 18:57:32 +0000 (18:57 +0000)]
Merge r240118 from head:
  Support another uchcom(4) device.

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

11 years agoMerge r240146 from head:
gavin [Sun, 16 Sep 2012 18:26:32 +0000 (18:26 +0000)]
Merge r240146 from head:
  - If the PCIe "SLOT" flag is set, include this in the capability output
  - Fix printing of PCIe interrupt number, the shift was incorrect.

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

11 years agoMFC r239326:
mav [Sun, 16 Sep 2012 12:08:06 +0000 (12:08 +0000)]
MFC r239326:
Fix "speaker" volume control, broken at r230451.

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

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 09:01:40 +0000 (09:01 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

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

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 08:58:34 +0000 (08:58 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

pR:

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

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 08:44:55 +0000 (08:44 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

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

11 years agoMFC r240252,r240253:
eadler [Sun, 16 Sep 2012 00:35:09 +0000 (00:35 +0000)]
MFC r240252,r240253:
Remove documentation and www cvsup files as they are no longer useful
with the switch to subversion.
Specifically document that an incomplete ports tree is not supported.
Remove useless comment about sendmail.

Approved by: cperciva (implicit)

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

11 years agoMFC r240060, r240062:
pfg [Sun, 16 Sep 2012 00:34:04 +0000 (00:34 +0000)]
MFC r240060, r240062:

Rename __rpc_xdr with XDR. This fixes at least one C++ application and
matches what upstream (Solaris) has done on their xdr.h header.

PR: 137443

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

11 years agoMFC r239829:
pluknet [Fri, 14 Sep 2012 15:09:59 +0000 (15:09 +0000)]
MFC r239829:
  Follow r239818 and remove no more relevant vslock() ENOMEM error.

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

11 years agoMFC r240026:
zont [Fri, 14 Sep 2012 14:24:21 +0000 (14:24 +0000)]
MFC r240026:
- Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz
  and kern.sgrowsiz sysctls writable.

MFC r240068:
- Mark some sysctls with CTLFLAG_TUN flag instead of CTLFLAG_RDTUN.

MFC r240069:
- After r240026 sgrowsiz should be used in a safer maner.

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

11 years agoMFC r239818:
zont [Fri, 14 Sep 2012 13:57:34 +0000 (13:57 +0000)]
MFC r239818:
- Don't take an account of locked memory for current process in vslock(9).

There are two consumers of vslock(9): sysctl code and drm driver.  These
consumers are using locked memory as transient memory, it doesn't belong
to a process's memory.

MFC r239895:
- Remove accounting of locked memory from vsunlock(9) that I missed in r239818.

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

11 years agoMFC r240328:
eadler [Fri, 14 Sep 2012 00:37:12 +0000 (00:37 +0000)]
MFC r240328:
Follow up to doc r39516:

Update the Vendor Relations Team information to reflect that
incoming email is now handled by core@ and the Foundation.

Approved by: cperciva (implicit)

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

11 years agoMFC of 240457, tzdata2012f
edwin [Thu, 13 Sep 2012 10:25:30 +0000 (10:25 +0000)]
MFC of 240457, tzdata2012f

 - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013.
 - Fix offset for Pacific/Tokelau.
 - Gaza and West Bank had DST from 29 March to 28 September 2012.
 - Syria has DST from April till October
 - Morocco had DST from April to September 2012 except for 20 July to 20 August.
 - Cuba changed to DST from 1 April 2012 only.
 - Haiti has DST between 8 March and 1 November in 2012.

  Obtained from:  ftp://ftp.iana.org/tz/releases/

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

11 years agoMFC r240293:
eadler [Thu, 13 Sep 2012 01:05:29 +0000 (01:05 +0000)]
MFC r240293:
Sync access file date recommendation
Change from CVS to svn for canconical source of information

Approved by: cperciva (implicit)

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

11 years agoMFC r237676,r237677,r237680,r240294,r240318,r240324:
eadler [Thu, 13 Sep 2012 01:02:56 +0000 (01:02 +0000)]
MFC r237676,r237677,r237680,r240294,r240318,r240324:
Update organization.dot to reflect reality

Approved by: cperciva (implicit)

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

11 years agoMFC r240163: Fix "Corrupted DWARF expression" from (k)gdb.
emaste [Thu, 13 Sep 2012 01:02:42 +0000 (01:02 +0000)]
MFC r240163: Fix "Corrupted DWARF expression" from (k)gdb.

  Google turned up Debian bug 405116, which describes the problem in
  sufficient detail to identify the overflowing variables.

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

11 years agoMFC r240316:
eadler [Thu, 13 Sep 2012 00:54:23 +0000 (00:54 +0000)]
MFC r240316:
We moved to subversion ages ago.

Approved by: cperciva (implicit)

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

11 years agoMFC r239254:
mav [Thu, 13 Sep 2012 00:39:44 +0000 (00:39 +0000)]
MFC r239254:
Fix multichannel input signals tracing on some CODECs like ALC260.

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

11 years agoMFC r239872:
dim [Wed, 12 Sep 2012 18:16:40 +0000 (18:16 +0000)]
MFC r239872:

Teach libdwarf about the DW_FORM_flag_present dwarf attribute, so
programs using libdwarf (such as ctfconvert) don't error out on files
containing the attribute.

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

11 years agoMFC r239870:
dim [Wed, 12 Sep 2012 17:57:52 +0000 (17:57 +0000)]
MFC r239870:

Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't
error out on files that contain it.  (This attribute can be emitted by
newer versions of clang.)

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

11 years agoMFC r235777: Make dumptid non-static. It is used by libkvm.
avg [Tue, 11 Sep 2012 05:59:19 +0000 (05:59 +0000)]
MFC r235777: Make dumptid non-static. It is used by libkvm.

PR: kern/167671
MFC slacker: harti

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

11 years agoMFC: r239663, r239664
bapt [Sun, 9 Sep 2012 22:12:15 +0000 (22:12 +0000)]
MFC: r239663, r239664

change ALWAYS_ASSUME_YES to ASSUME_ALWAYS_YES for consistency with pkg(8)
if not on a tty prompt about the missing pkg(8) but default on 'no' except if
ASSUME_ALWAYS_YES is set

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

11 years agoMFC r236507, r237931, r238120, r238538:
trociny [Sun, 9 Sep 2012 08:40:44 +0000 (08:40 +0000)]
MFC r236507, r237931, r238120, r238538:

r236507 (pjd):

Simplify the code by using snprlcat().

r237931 (pjd):

Check if there is cmsg at all.

r238120 (pjd):

Make use of GEOM Gate direct reads feature. This allows HAST to serve
reads with native speed of the underlying provider.
There are three situations when direct reads are not used:
1. Data is being synchronized and synchronization source is the secondary
   node, which means secondary node has more recent data and we should read
   from it.
2. Local read failed and we have to try to read from the secondary node.
3. Local component is unavailable and all I/O requests are served from the
   secondary node.

Sponsored by: Panzura, http://www.panzura.com

r238538:

Metaflush on/off values don't need quotes.

Reviewed by: pjd

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

11 years agoMFC r239987 (pjd):
trociny [Sun, 9 Sep 2012 08:30:22 +0000 (08:30 +0000)]
MFC r239987 (pjd):

Allow to pass providers with /dev/ prefix to g_provider_by_name().

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

11 years agoMFC r238119, r238868, r239131:
trociny [Sun, 9 Sep 2012 08:21:06 +0000 (08:21 +0000)]
MFC r238119, r238868, r239131:

r238119 (pjd):

Extend GEOM Gate class to handle read I/O requests directly within the kernel.
This will allow HAST to read directly from the local component without
even communicating userland daemon.

Sponsored by:   Panzura, http://www.panzura.com

r238868:

Reorder things in g_gate_create() so at the moment when g_new_geomf()
is called name is properly initialized.

Discussed with: pjd

r239131:

In g_gate_dumpconf() always check the result of g_gate_hold().

This fixes "Negative sc_ref" panic possible when sysctl_kern_geom_confxml()
is run simultaneously with destroying GATE device.

Reviewed by: pjd

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

11 years agoMFC r240162:
mm [Sun, 9 Sep 2012 07:46:45 +0000 (07:46 +0000)]
MFC r240162:
Make r230454 more readable and vendor-like.

PR: kern/171380

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

11 years agoMFC r239769:
zont [Sat, 8 Sep 2012 18:07:35 +0000 (18:07 +0000)]
MFC r239769:
- Don't allow watchdogd(8) to be swapped out.
  On machines with huge amount of swap and high IO activity,
  watchdogd(8) may wait for a swap memory longer than timeout and
  sometimes fires.

MFC r239896:
- It's also need to lock current memory.

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

11 years agoMFC r240153:
gjb [Sat, 8 Sep 2012 04:42:33 +0000 (04:42 +0000)]
MFC r240153:
-  Typo fix and minor word swap.

PR: 171356

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

11 years agoMFC r238202:
eadler [Sat, 8 Sep 2012 03:10:58 +0000 (03:10 +0000)]
MFC r238202:
Remove ancient vnconfig symlink

Approved by: cperciva (implicit)

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

11 years agoMerge rev. 239673 from head to stable/8:
thomas [Fri, 7 Sep 2012 22:34:30 +0000 (22:34 +0000)]
Merge rev. 239673 from head to stable/8:
(g_multipath_rotate): Fix algorithm so that it does rotate over all good
providers, not just the last two.

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

11 years agoMFC: r237244
rmacklem [Fri, 7 Sep 2012 20:57:36 +0000 (20:57 +0000)]
MFC: r237244
Fix the NFSv4 client for the case where mmap'd files are
written, but not msync'd by a process. A VOP_PUTPAGES()
called when VOP_RECLAIM() happens will usually fail, since
the NFSv4 Open has already been closed by VOP_INACTIVE().
Add a vm_object_page_clean() call to the NFSv4 client's
VOP_INACTIVE(), so that the write happens before the NFSv4
Open is closed. kib@ suggested using vgone() instead and
I will explore this, but this patch fixes things in the
meantime. For some reason, the VOP_PUTPAGES() is still
attempted in VOP_RECLAIM(), but having this fail doesn't
cause any problems except a "stateid0 in write" being logged.

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

11 years agoMFC r239962:
dim [Fri, 7 Sep 2012 18:03:29 +0000 (18:03 +0000)]
MFC r239962:

Fix a twelve year old bug in readelf: when process_dynamic_segment()
encounters a DT_RUNPATH entry, the global dynamic_info[] array is
overrun, causing some other global variable to be overwritten.

In my testcase, this was the section_headers variable, leading to
segfaults or jemalloc assertions when it was freed later on.

Thanks to Koop Mast for providing samples of a few "bad" .so files.

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

11 years agoMFC r239908:
mav [Fri, 7 Sep 2012 14:10:22 +0000 (14:10 +0000)]
MFC r239908:
Add bunch of ATI HDMI HDA controller IDs.

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

11 years agoMFC r239907:
mav [Fri, 7 Sep 2012 14:05:08 +0000 (14:05 +0000)]
MFC r239907:
Add IDs for JMicron JMB360/JMB362 AHCI SATA controllers.

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

11 years agoMFC: r237200
rmacklem [Fri, 7 Sep 2012 13:17:18 +0000 (13:17 +0000)]
MFC: r237200
Move the nfsrpc_close() call in ncl_reclaim() for the NFSv4 client
to below the vnode_destroy_vobject() call, since that is where
writes are flushed.

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

11 years agoDirect commit to stable/8 to fix the mis-merge in r239983: in 8.x
trociny [Thu, 6 Sep 2012 10:10:56 +0000 (10:10 +0000)]
Direct commit to stable/8 to fix the mis-merge in r239983: in 8.x
read-locking of the inpcbinfo is not used in the TCP timer code.

Reported by: bz
Submitted by: rwatson

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

11 years agoMFC rev. 239012 to stable/8:
thomas [Thu, 6 Sep 2012 07:48:17 +0000 (07:48 +0000)]
MFC rev. 239012 to stable/8:
New command "gmultipath prefer" to force selection of a specified
provider in an Active/Passive configuration.

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

11 years agoMFC: less v451.
delphij [Wed, 5 Sep 2012 06:15:15 +0000 (06:15 +0000)]
MFC: less v451.

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

11 years agoMFC 239883:
emaste [Wed, 5 Sep 2012 02:26:13 +0000 (02:26 +0000)]
MFC 239883:

  Avoid passing uninitialized stack to addelem() if called with an empty
  arg.

PR: bin/171174

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

11 years agoMFC r239571:
jimharris [Tue, 4 Sep 2012 17:27:21 +0000 (17:27 +0000)]
MFC r239571:

Add -m option (for printing sampled PCs to a file) to pmcstat usage
message.

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

11 years agoMFC r239889:
jimharris [Tue, 4 Sep 2012 17:13:52 +0000 (17:13 +0000)]
MFC r239889:

Do not call sati_check_data_io() for SATI_UNMAP sequences.

This routine is intended only for commands such as INQUIRY where
the controller may fill out a smaller amount of data than allocated
by the host.

The end result of this bug was that isci(4) would report non-zero
resid for successful SCSI_UNMAP commands.

Sponsored by:   Intel

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

11 years agoRevert MFC of r238206 as this feature isn't available in stable/8
eadler [Sun, 2 Sep 2012 21:44:24 +0000 (21:44 +0000)]
Revert MFC of r238206 as this feature isn't available in stable/8

Approved by: cperciva (implicit)
Pointyhat to: me

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

11 years agoMFC r236596:
eadler [Sun, 2 Sep 2012 18:54:47 +0000 (18:54 +0000)]
MFC r236596:
Fix style nit: don't use leading zero for dates in .Dd

Approved by: cperciva (implicit)

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

11 years agoMFC r237178,r237180:
eadler [Sun, 2 Sep 2012 18:44:43 +0000 (18:44 +0000)]
MFC r237178,r237180:
Fix mdoc style nits

PR: kern/168910
Approved by: cperciva (implicit)

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

11 years agoMFC r235251,r238205:
eadler [Sun, 2 Sep 2012 18:40:14 +0000 (18:40 +0000)]
MFC r235251,r238205:

Add Spanish Dvorak keyboard model to syscons.

(not verified to be accurate)

PR: conf/160235
Approved by: cperciva (implicit)

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

11 years agoMFC r238199:
eadler [Sun, 2 Sep 2012 18:33:47 +0000 (18:33 +0000)]
MFC r238199:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

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

11 years agoMFC r238206:
eadler [Sun, 2 Sep 2012 18:19:37 +0000 (18:19 +0000)]
MFC r238206:
Add missing sleep stat increase

PR: kern/168211
Approved by: cperciva (implicit)

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

11 years agoMFC r238201:
eadler [Sun, 2 Sep 2012 18:17:16 +0000 (18:17 +0000)]
MFC r238201:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

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

11 years agoMFC r238203:
eadler [Sun, 2 Sep 2012 18:13:18 +0000 (18:13 +0000)]
MFC r238203:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

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