]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
13 years agoMFC 218794, 219026:
vanhu [Thu, 28 Apr 2011 08:49:43 +0000 (08:49 +0000)]
MFC 218794, 219026:
Fixed IPsec's HMAC_SHA256-512 support to be RFC4868 compliant.
This will break interoperability with all older versions of
FreeBSD for those algorithms.

Reviewed by: bz, gnn
Obtained from: NETASQ

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

13 years agoMFC r220920:
mav [Thu, 28 Apr 2011 07:34:37 +0000 (07:34 +0000)]
MFC r220920:
 - Fix mapping of the last two SATA ports on 6-port Intel controllers.
This improves hard-reset and hot-plug on these ports.
 - Device with ID 0x29218086 is a 2-port variant of ICH9 in legacy mode.
Skip probing for nonexistent slave devices there.

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

13 years agoMFC r220917:
mav [Thu, 28 Apr 2011 07:33:14 +0000 (07:33 +0000)]
MFC r220917:
Use periodic status polling added at r214671 only in ATA_CAM mode. Legacy
mode won't receive much benefit from it due to its hot-plug limitations.

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

13 years agoMFC r220822:
mav [Thu, 28 Apr 2011 07:26:28 +0000 (07:26 +0000)]
MFC r220822:
Properly handle memory allocation errors during error recovery.

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

13 years agoMFC r220886:
mav [Thu, 28 Apr 2011 07:22:41 +0000 (07:22 +0000)]
MFC r220886:
Add basic support for DMA-capable ATA disks on DMA-incapable controller.
This is really rare situation these days, but still may happen in embedded.

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

13 years agoMFC r220786:
mav [Thu, 28 Apr 2011 07:21:01 +0000 (07:21 +0000)]
MFC r220786:
Remove always false "< 0" check for unsgined int variable. This check is
also duplicate, as the value was already checked for 0 before decrementing.

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

13 years agoMFC r221077.
hselasky [Thu, 28 Apr 2011 06:57:46 +0000 (06:57 +0000)]
MFC r221077.
The maximum NCM frame size must be so that it
will generate a short terminated USB transfer if
the maximum NCM frame size is greater than what
the driver can handle.

Approved by:  thompsa

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

13 years agoMFC r221073.
hselasky [Thu, 28 Apr 2011 06:54:38 +0000 (06:54 +0000)]
MFC r221073.
Fix for missing EHCI datatoggle change case.

Approved by: thompsa

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

13 years agoMFC r220900.
hselasky [Thu, 28 Apr 2011 06:51:47 +0000 (06:51 +0000)]
MFC r220900.
Only set the sample rate if the USB audio channel reports
that it supports the frequency control request.

Approved by: thompsa

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

13 years agoMFC 210864:
jhb [Wed, 27 Apr 2011 21:13:20 +0000 (21:13 +0000)]
MFC 210864:
- Retire acpi_pcib_resume().  It is has just been an alias for
  bus_generic_resume() since the pci_link(4) driver was added.
- Change the ACPI PCI-PCI bridge driver to inherit most of its methods
  from the generic PCI-PCI bridge driver.
- This also exposes the generic PCI-PCI bridge driver as pcib_driver so
  other drivers can inherit from it.

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

13 years agoMFC r220520, r220521, r220522, r220523, r220573, r220744, r220865,
trociny [Wed, 27 Apr 2011 19:46:57 +0000 (19:46 +0000)]
MFC r220520, r220521, r220522, r220523, r220573, r220744, r220865,
  r220889, r220890, r220898, r220899:

r220520:

hastd(8) maintains a map of dirty extents, not hastctl(8). Fix this.

r220521:

Fix a typo in comments.

r220522:

In hast_proto_recv_data() check that the size of the data to be
received does not exceed the buffer size.

r220573 (pjd):

The replication mode that is currently support is fullsync, not memsync.
Correct this and print a warning if different replication mode is
configured.

r220523, r220744:

Remove hast_proto_recv(). It was used only in one place, where
hast_proto_recv_hdr() may be used.

r220865 (pjd):

Scenario:
- We have two nodes connected and synchronized (local counters on both sides
  are 0).
- We take secondary down and recreate it.
- Primary connects to it and starts synchronization (but local counters are
  still 0).
- We switch the roles.
- Synchronization restarts but data is synchronized now from new primary
  (because local counters are 0) that doesn't have new data yet.

This fix this issue we bump local counter on primary when we discover that
connected secondary was recreated and has no data yet.

Reported by:    trociny
Discussed with: trociny
Tested by:      trociny

r220889 (pjd):

Timeout must be positive.

r220890 (pjd):

If we act in different role than requested by the remote node, log it
as a warning and not an error.

MFC after:      1 week

r220898 (pjd), r220899 (pjd):

When we become primary, we connect to the remote and expect it to be in
secondary role. It is possible that the remote node is primary, but only
because there was a role change and it didn't finish cleaning up (unmounting
file systems, etc.). If we detect such situation, wait for the remote node
to switch the role to secondary before accepting I/Os. If we don't wait for
it in that case, we will most likely cause split-brain.

Approved by: pjd (mentor)

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

13 years agoMFC: Various small compile nits found by make universe that are in already
jhb [Wed, 27 Apr 2011 19:36:00 +0000 (19:36 +0000)]
MFC: Various small compile nits found by make universe that are in already
merged changes or larger changes not suitable for MFC.

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

13 years agoMFC 217265:
jhb [Wed, 27 Apr 2011 18:00:46 +0000 (18:00 +0000)]
MFC 217265:
Remove unneeded includes of <sys/linker_set.h>.  Other headers that use
it internally contain nested includes.

Requested by: hselasky

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

13 years agoMFC r216475 (by gonzo):
pluknet [Wed, 27 Apr 2011 17:07:22 +0000 (17:07 +0000)]
MFC r216475 (by gonzo):
- include argument should be in quotes

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

13 years agoMFC r220873, r220897, r220905.
np [Wed, 27 Apr 2011 16:16:01 +0000 (16:16 +0000)]
MFC r220873, r220897, r220905.

r220873:
- Move all Ethernet specific items from sge_eq to sge_txq.  sge_eq is
  now a suitable base for all kinds of egress queues.

- Add control queues (sge_ctrlq) and allocate one of these per hardware           channel.  They can be used to program filters and steer traffic (and
  more).

r220897:
Use the correct free routine when destroying a control queue.

r220905:
Ring the freelist doorbell from within refill_fl.  While here, fix a bug
that could have allowed the hardware pidx to reach the cidx even though
the freelist isn't empty.  (Haven't actually seen this but it was there
waiting to happen..)

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

13 years agoMFC r220987:
kib [Wed, 27 Apr 2011 09:35:40 +0000 (09:35 +0000)]
MFC r220987:
Fix typo.

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

13 years agoMFC: r220611
rmacklem [Wed, 27 Apr 2011 03:16:01 +0000 (03:16 +0000)]
MFC: r220611
Add VOP_PATHCONF() support to the experimental NFS client
so that it can, along with other things, report whether or
not NFS4 ACLs are supported.

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

13 years agoMFC: r220610
rmacklem [Wed, 27 Apr 2011 01:45:05 +0000 (01:45 +0000)]
MFC: r220610
Fix the experimental NFSv4 client so that it recognizes server
mount point crossings correctly. It was testing the wrong flag.
Also, try harder to make sure that the fsid is different than
the one assigned to the client mount point, by hashing the
server's fsid (just to create a different value deterministically)
when it is the same.

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

13 years agoMFC: r220585
rmacklem [Wed, 27 Apr 2011 01:33:12 +0000 (01:33 +0000)]
MFC: r220585
Fix a couple of mbuf leaks introduced by r217242. I do
not believe that these leaks had a practical impact,
since the situations in which they would have occurred
would have been extremely rare.

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

13 years agoMFC of 221092, tzdata2011g
edwin [Tue, 26 Apr 2011 22:15:32 +0000 (22:15 +0000)]
MFC of 221092, tzdata2011g

- Egypt has cancelled the move to DST for now.

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

13 years agoMFC r220812:
ae [Tue, 26 Apr 2011 18:18:10 +0000 (18:18 +0000)]
MFC r220812:
  Use M_WAITOK instead M_WAIT for malloc. Remove unneded checks.

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

13 years agoMFC r220840
emax [Tue, 26 Apr 2011 16:56:43 +0000 (16:56 +0000)]
MFC r220840

Improve the man page and l2control's usage() a bit.

Submitted by: arundel

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

13 years agoMFC 220975:
gjb [Tue, 26 Apr 2011 13:09:19 +0000 (13:09 +0000)]
MFC 220975:
- Clarification on kld_file_stat.size
- While here, remove a few C comments that don't seem to contribute
  anything additional to the man page.

PR: 146047

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

13 years agoMFC r220979:
kib [Tue, 26 Apr 2011 12:25:36 +0000 (12:25 +0000)]
MFC r220979:
Fix display of the drm sysctls (nop on stable/8).

Sponsored by: The FreeBSD Foundation

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

13 years agoMFC r220977:
kib [Tue, 26 Apr 2011 12:07:07 +0000 (12:07 +0000)]
MFC r220977:
Fix two bugs in r218670.

Hold the vnode around the region where object lock is dropped, until
vnode lock is acquired.

Do not drop the vnode reference for a case when the object was
deallocated during unlock. Note that in this case, VV_TEXT is cleared
by vnode_pager_dealloc().

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

13 years agoMFC r220836:
pluknet [Tue, 26 Apr 2011 10:02:15 +0000 (10:02 +0000)]
MFC r220836:

 Call init_param1() much earlier, so that msgbufsize is non-zero when we
 want to map and use the msgbuf.

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

13 years agoMFC: r220546
rmacklem [Mon, 25 Apr 2011 21:27:38 +0000 (21:27 +0000)]
MFC: r220546
Vrele ni_startdir in the experimental NFS server for the case
of NFSv2 getting an error return from VOP_MKNOD(). Without this
patch, the server file system remains busy after an NFSv2
VOP_MKNOD() fails.

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

13 years agoMFC: r210933,r211397,r220518
rmacklem [Mon, 25 Apr 2011 21:14:13 +0000 (21:14 +0000)]
MFC: r210933,r211397,r220518
Modify the man pages to reflect the addition of a backup
stable restart file, as done by r220510. I also merged the
typo fixes done in head as r210933, r211397 with joel@'s
permission.
This is a content change.

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

13 years agoMFC r212244: printf(1): Clarify that \OOO produces a byte, different %b
jilles [Mon, 25 Apr 2011 14:36:38 +0000 (14:36 +0000)]
MFC r212244: printf(1): Clarify that \OOO produces a byte, different %b
escape sequences.

Octal escape sequences are expanded to bytes, not characters, and multiple
are required for a multibyte character.

The valid escape sequences in %b strings are slightly different from the
escape sequences in the format string.

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

13 years agoMFC r218989:
pluknet [Mon, 25 Apr 2011 06:36:26 +0000 (06:36 +0000)]
MFC r218989:

Remove no more useful sysctl vm.max_proc_mmap, which also fixes mmap(2)
overflow seen with over 256GB of physical memory installed.

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

13 years agoMFC r220767:
ae [Mon, 25 Apr 2011 04:33:13 +0000 (04:33 +0000)]
MFC r220767:
  Use M_WAITOK flag instead M_WAIT for malloc.

  Suggested by: glebius

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

13 years agoMFC: r220530
rmacklem [Sun, 24 Apr 2011 23:04:08 +0000 (23:04 +0000)]
MFC: r220530
Add some cleanup code to the module unload operation for
the experimental NFS server, so that it doesn't leak memory
when unloaded. However, unloading the NFSv4 server is not
recommended, since all NFSv4 state will be lost by the unload
and clients will have to recover the state after a server
reload/restart as if the server crashed/rebooted.

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

13 years agoMFC: r220519
rmacklem [Sun, 24 Apr 2011 21:27:29 +0000 (21:27 +0000)]
MFC: r220519
Fix a bug in the userland rpc library, where it would use a
negative return value from write to update its position in
a buffer. The patch, courtesy of Andrey Simonenko, also simplifies
a conditional by removing the "i != cnt" clause, since it is
always true at this point in the code. The bug caused problems
for mountd, when it generated a large reply to an exports RPC
request.

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

13 years agoMFC: r220510
rmacklem [Sun, 24 Apr 2011 19:50:13 +0000 (19:50 +0000)]
MFC: r220510
Add support for a backup stable restart file to the nfsd,
used for NFSv4 restart. This permits the nfsd to create
the stable restart file as required and minimizes the risk
of trouble if the file is lost.

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

13 years agoMFC: r220507
rmacklem [Sun, 24 Apr 2011 19:35:54 +0000 (19:35 +0000)]
MFC: r220507
Add a VOP_UNLOCK() for the directory, when that is not what
VOP_LOOKUP() returned. This fixes a bug in the experimental
NFS server for the case where VFS_VGET() fails returning EOPNOTSUPP
in the ReaddirPlus RPC, forcing the use of VOP_LOOKUP() instead.

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

13 years agoMerge the part of r207141 that fixes the locking for ufs_rename() (and
kib [Sun, 24 Apr 2011 11:01:42 +0000 (11:01 +0000)]
Merge the part of r207141 that fixes the locking for ufs_rename() (and
r218838 followup).

Adopt the SU calls to the stable/8 SU implementation, with the help from
Kirk.

PR: kern/156545
Reviewed by: mckusick
Tested by: pho

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

13 years agoMFC r220882:
ru [Sat, 23 Apr 2011 05:29:59 +0000 (05:29 +0000)]
MFC r220882:

Don't clog syslog up with "inet_ntop(): Address family not supported
by protocol family" when processing requests received from the UNIX
domain socket.

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

13 years agoMFC r201038:
dougb [Sat, 23 Apr 2011 02:03:18 +0000 (02:03 +0000)]
MFC r201038:

Update the comments about files ending in .sh

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

13 years agoMFC r220760:
dougb [Fri, 22 Apr 2011 23:44:25 +0000 (23:44 +0000)]
MFC r220760:

The change in r206686 to allow the stop argument to work for a service
that is running even though not _enable'd had an annoying side effect.
If the service was already started at boot time by another means when
the related script came around again in rcorder it would start again,
regardless of _enable, because there was a valid pid.

So, split the test into 2 parts, one for (!rcvar && !stop), and one
for (stop && !valid_pid). This preserves the behavior from r206686
while preventing the undesired side effect.

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

13 years agoPull mergeinfo from r220370 up to etc/ where it belongs
dougb [Fri, 22 Apr 2011 23:42:23 +0000 (23:42 +0000)]
Pull mergeinfo from r220370 up to etc/ where it belongs

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

13 years agoMFC r220646: getfh(2): Add xrefs for fhopen(2), open(2), stat(2).
jilles [Fri, 22 Apr 2011 14:41:29 +0000 (14:41 +0000)]
MFC r220646: getfh(2): Add xrefs for fhopen(2), open(2), stat(2).

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

13 years agoMFC r220558.
hselasky [Fri, 22 Apr 2011 09:43:00 +0000 (09:43 +0000)]
MFC r220558.
  We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCI
  bus driver at detach, hence ehci_detach() does exactly this since r199718.

Approved by: thompsa

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

13 years agoMFC r220649, r220874
np [Fri, 22 Apr 2011 02:22:36 +0000 (02:22 +0000)]
MFC r220649, r220874

r220649:
Fix a couple of bad races that can occur when a cxgbe interface is taken
down.  The ingress queue lock was unused and has been removed as part of
these changes.

- An in-flight egress update from the SGE must be handled before the
  queue that requested it is destroyed.  Wait for the update to arrive.

- Interrupt handlers must stop processing rx events for a queue before
  the queue is destroyed.  Events that have not yet been processed
  should be ignored once the queue disappears.

r220874:
Use Toeplitz hash for RSS.

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

13 years agoMFC r219939:
delphij [Fri, 22 Apr 2011 00:31:07 +0000 (00:31 +0000)]
MFC r219939:

humanize_number(3) multiply the input number by 100, which could cause an
integer overflow when the input is very large (for example, 100 Pi would
become about 10 Ei which exceeded signed int64_t).

Solve this issue by splitting the division into two parts and avoid the
multiplication.

PR: bin/146205
Reviewed by: arundel

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

13 years agoMFC r220801:
ru [Thu, 21 Apr 2011 09:34:44 +0000 (09:34 +0000)]
MFC r220801:

Changed "conscontrol unset" to accept an existing virtual
console device as an argument.  Unsetting virtual console
using /dev/console seems to have never worked.

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

13 years agoMFC r220621:
pluknet [Thu, 21 Apr 2011 09:01:43 +0000 (09:01 +0000)]
MFC r220621:

 Remove stale M_ZOMBIE malloc type.

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

13 years agoMerge from head/ 220745:
glebius [Thu, 21 Apr 2011 08:15:29 +0000 (08:15 +0000)]
Merge from head/ 220745:
  Fix error where error variable was assigned result of comparison,
  instead of function return value.

  Submitted by: Przemyslaw Frasunek <przemyslaw frasunek.com>

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

13 years agoMerge from head/ 220622:
glebius [Thu, 21 Apr 2011 08:13:44 +0000 (08:13 +0000)]
Merge from head/ 220622:
  Revert r194662, since it breaks ng_ksocket(4) and may break
  other socket consumers with alternate sb_upcall.

  PR:           kern/154676
  Submitted by: Arnaud Lacombe <lacombar gmail.com>

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

13 years agoMFC r218205,r218821,r218891,r219390,r219611,r220654,r220655,r220656: sh:
jilles [Wed, 20 Apr 2011 22:10:44 +0000 (22:10 +0000)]
MFC r218205,r218821,r218891,r219390,r219611,r220654,r220655,r220656: sh:
New testcases that already work in stable/8.

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

13 years agoFix CIDR parsing bug in mountd ACLs.
cperciva [Wed, 20 Apr 2011 21:00:24 +0000 (21:00 +0000)]
Fix CIDR parsing bug in mountd ACLs.

Approved by: so (cperciva)
Security: FreeBSD-SA-11:01.mountd

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

13 years agoMFC r220594:
pluknet [Wed, 20 Apr 2011 11:15:17 +0000 (11:15 +0000)]
MFC r220594:

 Remove the now defunct kern.ipc.nmbufs tunable.

PR: kern/132497 (part)

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

13 years agoMFC r220615:
mav [Tue, 19 Apr 2011 20:44:44 +0000 (20:44 +0000)]
MFC r220615:
Refactor hard-reset implementation in mvs(4).

Instead of spinning in a tight loop for up to 15 seconds, polling for device
readiness while it spins up, return reset completion just after PHY reports
"connect well" or 100ms connection timeout. If device was found, use callout
for checking device readiness with 100ms period up to full 31 second timeout.

This fixes system freeze for 5-10 seconds on drives hot plug-in.

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

13 years agoMFC r220789:
mav [Tue, 19 Apr 2011 20:41:00 +0000 (20:41 +0000)]
MFC r220789:
Handle ready timeout during polled operation same as done in mvs(4) before.

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

13 years agoMFC r220777:
mav [Tue, 19 Apr 2011 20:40:00 +0000 (20:40 +0000)]
MFC r220777:
 - Tune different wait loops to cut some more milliseconds from reset time.
 - Do not call ahci_start() before device signature received. It is required
by the specification and caused non-fatal reset timeouts on AMD chipsets.

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

13 years agoMFC r220657:
mav [Tue, 19 Apr 2011 20:38:50 +0000 (20:38 +0000)]
MFC r220657:
Some changes around hot-plug and interface power-management:
 - use ATA_SE_EXCHANGED (SError.DIAG.X) bit to detect hot-plug events when
power-management enabled and ATA_SE_PHY_CHANGED (SError.DIAG.N) can't be
trusted;
 - on controllers supporting staggered spin-up (SS) put unused channels
into Listen state instead of Off. It should still save some power, but
allow plug-in events to be detected;
 - on controllers supporting cold presence detection (CPD), when power
management enabled, use CPD events to detect hot-plug in addition to PHY
events.

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

13 years agoMFC r197083
emax [Tue, 19 Apr 2011 18:18:02 +0000 (18:18 +0000)]
MFC r197083

Get those pesky RFCOMM RPM data bits right. This is likely a noop.

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

13 years agoMFC r220602:
mav [Tue, 19 Apr 2011 17:41:17 +0000 (17:41 +0000)]
MFC r220602:
Improve SATA Asynchronous Notification feature support in CAM:
 - make SATA SIMs announce capabilities to handle SDB with Notification bit;
 - make PMP driver honor this SIMs capability;
 - make SATA XPT to negotiate and enable this feature for ATAPI devices.

This feature allows supporting SATA ATAPI devices to inform system about
some events happened, that may require attention. In my case this allows
LG GH22LS50 SATA DVR-RW drive to report tray open/close events. Events
reported to CAM in form of AC_SCSI_AEN async. Further they could be used
as a hints for checking device status and reporting media change to upper
layers, for example, via spoiling mechanism of GEOM.

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

13 years agoMFC r220591:
mav [Tue, 19 Apr 2011 17:14:57 +0000 (17:14 +0000)]
MFC r220591:
As soon as siis_reset() doesn't waits for device readiness, but only for
controller port readiness (that should set just after PHY ready signal),
reduce wait time from 10s to 1s before trying more aggressive reset method.

This should improve system responsibility in some failure conditions.

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

13 years agoMFC r220576:
mav [Tue, 19 Apr 2011 17:13:14 +0000 (17:13 +0000)]
MFC r220576:
Refactor hard-reset implementation in ahci(4).

Instead of spinning in a tight loop for up to 15 seconds, polling for device
readiness while it spins up, return reset completion just after PHY reports
"connect well" or 100ms connection timeout. If device was found, use callout
for checking device readiness with 100ms period up to full 31 second timeout.

This fixes system freeze for 5-10 seconds on drives hot plug-in.

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

13 years agoMFC r220569:
mav [Tue, 19 Apr 2011 17:08:29 +0000 (17:08 +0000)]
MFC r220569:
Implement automatic SCSI sense fetching for mvs(4).

Make few improvements/changes to ATAPI PIO support to pass most of scgcheck
(cdrtools) tests.

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

13 years agoMFC r220566:
mav [Tue, 19 Apr 2011 17:06:43 +0000 (17:06 +0000)]
MFC r220566:
Implement automatic SCSI sense fetching for siis(4).

Fix device freeze leak on recovery request (READ LOG, REQUEST SENSE)
failure.

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

13 years agoMFC r220565:
mav [Tue, 19 Apr 2011 17:04:58 +0000 (17:04 +0000)]
MFC r220565:
Implement automatic SCSI sense fetching for ahci(4).

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

13 years agoMFC r220563:
mav [Tue, 19 Apr 2011 17:01:05 +0000 (17:01 +0000)]
MFC r220563:
Implement automatic SCSI sense fetching for ata(4) in ATA_CAM mode.

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

13 years agoMFC r220449:
mav [Tue, 19 Apr 2011 16:52:36 +0000 (16:52 +0000)]
MFC r220449:
Add reference to led(4), supported now.
Add some details about supported chips.

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

13 years agoMFC r217877, r217883:
mav [Tue, 19 Apr 2011 16:51:17 +0000 (16:51 +0000)]
MFC r217877, r217883:
Hardware supported by siis(4) allows software control over activity LEDs.
Expose that functionality to led(4) OR-ing it with regular LED activity.

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

13 years agoMFC r220413:
mav [Tue, 19 Apr 2011 16:46:51 +0000 (16:46 +0000)]
MFC r220413:
Add one more ID for Marvell 88SE912x chip found on Asus U3S6 card.

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

13 years agoMFC r219341:
mav [Tue, 19 Apr 2011 16:45:56 +0000 (16:45 +0000)]
MFC r219341:
Add some more IDs of HighPoint RocketRAID 64x.

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

13 years agoMFC r218596, r218605:
mav [Tue, 19 Apr 2011 16:43:55 +0000 (16:43 +0000)]
MFC r218596, r218605:
Disable NCQ for multiport Marvell 88SX61XX SATA controllers. Simultaneous
active I/O to several disks (copying large file on ZFS) causes timeout after
just a few seconds of run. Single port 88SX6111 seems like not affected.

Skip reading transferred bytes count for these controllers. It works for
88SX6111, but 88SX6145 always returns zero there. Haven't tested others,
but better to be safe.

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

13 years agoMFC r218149 (by jfv):
mav [Tue, 19 Apr 2011 16:42:07 +0000 (16:42 +0000)]
MFC r218149 (by jfv):
Support for the new Patsburg PCH chipset:
     - SMBus Controller
     - SATA Controller
     - HD Audio Controller
     - Watchdog Controller

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

13 years agoMFC r218140 (jfv):
mav [Tue, 19 Apr 2011 16:40:58 +0000 (16:40 +0000)]
MFC r218140 (jfv):
Support for the new DH89xxCC PCH chipset including:
      - SATA controller
      - Watchdog timer
      - SMBus controller

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

13 years agoMFC r211905 (by jfv):
mav [Tue, 19 Apr 2011 16:39:03 +0000 (16:39 +0000)]
MFC r211905 (by jfv):
Add support for Intel Cougar Point SMBus controller.

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

13 years agoMFC r220116
emax [Tue, 19 Apr 2011 16:33:08 +0000 (16:33 +0000)]
MFC r220116

Do not use word 'flood' as it not entirely correct. Use better 'no delay'
description. While here, replace atoi(3) with strtol(3).

Submitted by: arundel

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

13 years agoMFC r220617:
pluknet [Tue, 19 Apr 2011 16:29:56 +0000 (16:29 +0000)]
MFC r220617:

 Remove vestiges of disklabel(5).

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

13 years agoMFC r220616:
mav [Tue, 19 Apr 2011 16:26:55 +0000 (16:26 +0000)]
MFC r220616:
Properly log few more ATA commands used by the kernel.

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

13 years agoMFC r220412, r220414, r220454, r220618, r220814:
mav [Tue, 19 Apr 2011 16:23:07 +0000 (16:23 +0000)]
MFC r220412, r220414, r220454, r220618, r220814:
- Make ada(4) driver to control device write cache, same as ata(4) does.
Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc.
- Add kern.cam.ada.X.write_cache tunables/sysctls to control write caching
on per-device basis.
- While adding support for per-device sysctls, merge from graid branch
support for ADA_TEST_FAILURE kernel option, which opens few more sysctl,
allowing to simulate read and write errors for testing purposes.

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

13 years agoMFC r214989:
mav [Tue, 19 Apr 2011 16:10:08 +0000 (16:10 +0000)]
MFC r214989:
When requesting sense data for SIM not doing it automatically (such as
ATAPI or USB), request only as much data as requested by consumer.
On the way back -- report how much sense data we have actually received.

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

13 years agoMFC r220619:
bz [Tue, 19 Apr 2011 08:56:26 +0000 (08:56 +0000)]
MFC r220619:

  The mbuf_frag_size always was and is file local and not queried from base
  user space tools via kvm.  Mark it static.

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

13 years agoMFC r220463:
bz [Tue, 19 Apr 2011 08:29:28 +0000 (08:29 +0000)]
MFC r220463:

 Remove a check in udp6_send() that prevented v4-mapped v6 addresses from
 working.  We store v4 and v6 addresses as a union but for v4-mapped
 addresses only store the 32bits w/o the ::ffff: word.  That failed the
 check as for example 127.0.0.1 would be ::7f00:1 rather than ::ffff:7f00:1
 and the IN6_IS_ADDR_V4MAPPED() never worked here.  Given we can hardly get
 here with an unbound local address or invalid inp_vflags remove the check.

 Reported by: tuexen
 Reviewed by: tuexen

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

13 years agoMFC r220462:
bz [Tue, 19 Apr 2011 08:17:20 +0000 (08:17 +0000)]
MFC r220462:

 After r219579 and r219779 unbreak v4-mapped v6 sockets for UDP
 some more.  Similar to what we do for TCP check for v4-mapped
 addresses and then handle them or the normal v6 address case.
 For either set inp_vflags before calling into the pcb connect
 function so that we have an unambiguous view in case we need to
 set the local address or port.

 Looked at: tuexen (as part of more)

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

13 years agoMFC r220596: Show client's access cache statistics.
ru [Tue, 19 Apr 2011 07:54:21 +0000 (07:54 +0000)]
MFC r220596: Show client's access cache statistics.

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

13 years agoMFC r219779:
bz [Tue, 19 Apr 2011 07:53:04 +0000 (07:53 +0000)]
MFC r219779:

 Properly check for an IPv4 socket after r219579.

 In some cases as udp6_connect() without an earlier bind(2) to an
 address, v4-mapped sockets allowed and a non mapped destination
 address, we can end up here with both v4 and v6 indicated:
  inp_vflag = (INP_IPV4|INP_IPV6|INP_IPV6PROTO)

 In that case however laddrp is NULL as the IPv6 path does not
 pass in a copy currently.

 Reported by: Pawel Worach (pawel.worach gmail.com)
 Tested by: Pawel Worach (pawel.worach gmail.com)

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

13 years agoMFC r220614:
ru [Tue, 19 Apr 2011 07:44:12 +0000 (07:44 +0000)]
MFC r220614:

Fixed firmware revision decoding:
- the major is 7-bit binary encoded
- the minor is BCD encoded

PR: kern/151586

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

13 years agoMFC r220595:
ru [Tue, 19 Apr 2011 07:36:53 +0000 (07:36 +0000)]
MFC r220595:

- Fixed nfs_printf() to use vprintf().
- Fixed vfs.nfs.acdebug sysctl's description.
- Fixed panic when compiled with NFS_ACDEBUG.

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

13 years agoMFC r219579:
bz [Tue, 19 Apr 2011 07:23:16 +0000 (07:23 +0000)]
MFC r219579:

 Merge the two identical implementations for local port selections from
 in_pcbbind_setup() and in6_pcbsetport() in a single in_pcb_lport().

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

13 years agoMFC r220568:
ae [Tue, 19 Apr 2011 05:09:17 +0000 (05:09 +0000)]
MFC r220568:
  Restore previous behaviour - always match rule when we doing tagging,
  even when tag is already exists.

  Reported by: Vadim Goncharov

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

13 years agoMFC 220430,220431,220452,220460:
jhb [Mon, 18 Apr 2011 18:55:27 +0000 (18:55 +0000)]
MFC 220430,220431,220452,220460:
If a system call does not request a full interrupt return, use a fast
path via the sysretq instruction to return from the system call.  This
resolves most of the performance regression in system call microbenchmarks
between 7 and 8 on amd64.

While here, trim an instruction (and memory access) from the doreti path
and fix a typo in a comment.

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

13 years agoMFC r220643:
np [Mon, 18 Apr 2011 18:18:07 +0000 (18:18 +0000)]
MFC r220643:

There is no need to request a tx credit flush if such a request is already
pending.

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

13 years agoMFC: r219430
jkim [Mon, 18 Apr 2011 15:55:02 +0000 (15:55 +0000)]
MFC: r219430

Remove custom interrupt dispatcher.  This is a pointless micro-optimization
and it may cause problems if SS and SP are modified by real-mode code.

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

13 years agoMFC r220743:
bz [Mon, 18 Apr 2011 12:18:27 +0000 (12:18 +0000)]
MFC r220743:

  Fix IPv6 ND.  After r219562 we in nd6_ns_input() were erroneously always
  passing the cached proxydl reference (sockaddr_dl initialized or not) to
  nd6_na_output().  nd6_na_output() will thus assume a proxy NA.  Revert to
  conditionally passing either &proxydl or NULL if no proxy case desired.

  Tested by: ipv6gw and ref9-i386
  Tested by: Pete French (petefrench ingresso.co.uk on stable)
  Reported by: Pete French (petefrench ingresso.co.uk on stable)
  Reported by: bz, simon on Y! cluster
  Reported by: kib
PR: kern/151908
X-Early-MFC: yes

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

13 years agoRework change made at r203146. Instead of reporting all wire errors as
mav [Mon, 18 Apr 2011 11:25:13 +0000 (11:25 +0000)]
Rework change made at r203146. Instead of reporting all wire errors as
SCSI status errors to CAM (that was wrong, as it too often turned retriable
wire errors into non-retriable REQUEST SENSE errors), do it only for STALL
errors on control pipe of the CBI devices. STALL on control pipe is just
a one of the ways to report error for CBI devices.

PR: usb/150401, usb/154593.
Reviewed by: hselasky

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

13 years agoMFC r220319:
pluknet [Mon, 18 Apr 2011 08:49:25 +0000 (08:49 +0000)]
MFC r220319:

 Do not increment num_args if strsep(3) returned an empty field.
 That fixes devstat_buildmatch(3) crashes with certain strings.

Reported by: arundel

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

13 years agoMFC of r220448
edwin [Sun, 17 Apr 2011 21:52:57 +0000 (21:52 +0000)]
MFC of r220448

When specifying the -t option (send tag in front of message), this tag
should also be forwarded to the remote logging host, not only when the
logging is done locally.

PR:             bin/154324
Submitted by:   Callum Gibson <callumgibson@optusnet.com.au>

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

13 years agoMFC r220556:
bz [Sat, 16 Apr 2011 23:38:35 +0000 (23:38 +0000)]
MFC r220556:

  If building (custom) FreeBSD images people tend to patch param.h.  In case
  this happens just before the build is started (within the same second)
  CHECK_TIME actually triggers thinking param.h is in the future (see f_Xtime,
  c_Xtime logi in find(1) sources for the details in !F_EXACTTIME case).
  Using the -mtime -0s (seconds, rather than no unit) avoids this 1s race.

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

13 years agoMFC r218757:
bz [Sat, 16 Apr 2011 23:30:53 +0000 (23:30 +0000)]
MFC r218757:

  Mfp4 CH=177274,177280,177284-177285,177297,177324-177325

    VNET socket push back:
    try to minimize the number of places where we have to switch vnets
    and narrow down the time we stay switched.  Add assertions to the
    socket code to catch possibly unset vnets as seen in r204147.

    While this reduces the number of vnet recursion in some places like
    NFS, POSIX local sockets and some netgraph, .. recursions are
    impossible to fix.

    The current expectations are documented at the beginning of
    uipc_socket.c along with the other information there.

    Sponsored by: The FreeBSD Foundation
    Sponsored by: CK Software GmbH
    Reviewed by:  jhb
    Tested by:    zec

  Tested by:    Mikolaj Golub (to.my.trociny gmail.com)

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

13 years agoMFC r220506:
kib [Sat, 16 Apr 2011 12:45:09 +0000 (12:45 +0000)]
MFC r220506:
Implement a workaround for fdescfs to not panic when ncookies is not NULL.

PR: kern/156177

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

13 years agoMFC r220281:
kib [Sat, 16 Apr 2011 12:43:04 +0000 (12:43 +0000)]
MFC r220281:
Implement compat32 shims for PCIOCGETCONF.

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

13 years agoMFC r220280:
kib [Sat, 16 Apr 2011 12:41:22 +0000 (12:41 +0000)]
MFC r220280:
Provide the structures and ioctl number definition for handling
PCIOCGETCONF compat32.

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

13 years agoMFC r219524:
brucec [Sat, 16 Apr 2011 11:06:09 +0000 (11:06 +0000)]
MFC r219524:

Fix the build: we have snprintf(3).

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

13 years agoMFC r219522:
brucec [Sat, 16 Apr 2011 11:04:17 +0000 (11:04 +0000)]
MFC r219522:

Fix warnings and set WARNS to 6.

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

13 years agoMFC r219511:
brucec [Sat, 16 Apr 2011 10:57:11 +0000 (10:57 +0000)]
MFC r219511:

Fix warnings and style(9) issues.
Set WARNS to 6.

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