]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
13 years agoMerge r211077, r211079 from head:
gavin [Wed, 18 Aug 2010 20:38:47 +0000 (20:38 +0000)]
Merge r211077, r211079 from head:

  Correct two error messages to match the failure they are reporting.

  Correct the login.conf variable name used for obtaining the login prompt.

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

13 years agoMerge 210839 from head:
gavin [Wed, 18 Aug 2010 20:23:55 +0000 (20:23 +0000)]
Merge 210839 from head:

  Do not free sc if attach failed, as it was allocated by the bus
  infrastructure, not us.  This appears to be a leftover from an older
  version of the driver.

Submitted by: avg
Tested by: Anton Shterenlikht <mexas bristol.ac.uk>

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

13 years agoMFC r208818:
mav [Wed, 18 Aug 2010 15:58:26 +0000 (15:58 +0000)]
MFC r208818:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4137

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

13 years agoMFC r208817:
mav [Wed, 18 Aug 2010 15:56:09 +0000 (15:56 +0000)]
MFC r208817:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4196

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

13 years agoMFC r208816:
mav [Wed, 18 Aug 2010 15:55:20 +0000 (15:55 +0000)]
MFC r208816:
Fix attach errors handling.

Found with:   Coverity Prevent(tm)
CID:          3477

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

13 years agoMFC r208907:
mav [Wed, 18 Aug 2010 15:52:38 +0000 (15:52 +0000)]
MFC r208907:
Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be
unreliable under load. Linux does the same.

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

13 years agoMFC r208814:
mav [Wed, 18 Aug 2010 15:51:32 +0000 (15:51 +0000)]
MFC r208814:
Plug memory leak to silent Coverity. Error is still not really handled.

Found with:   Coverity Prevent(tm)
CID:          4130

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

13 years agoMFC r208813:
mav [Wed, 18 Aug 2010 15:49:44 +0000 (15:49 +0000)]
MFC r208813:
Fix attach errors handling.

Found with:   Coverity Prevent(tm)
CID:          3424

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

13 years agoMFC r203920,210755,210809,210827:
uqs [Tue, 17 Aug 2010 16:25:44 +0000 (16:25 +0000)]
MFC r203920,210755,210809,210827:

- WARNS?=6 cleanup
- fix timekeeping for user-supplied value n
- de-obfuscate the timekeeping of now/delay

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

13 years agoMFC r200633:
jh [Tue, 17 Aug 2010 15:07:23 +0000 (15:07 +0000)]
MFC r200633:

Sync getline() with comm(1):

 - Prevent overflowing of the buffer length variable in getline() by
   limiting its maximum value.
 - Exit if reallocf(3) fails in getline(). Failure was silently
   considered as end-of-file.

MFC r204803 by ache:

1) Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary equal" check instead.

POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.

3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).

MFC r204811 by ache:

Remove vestiges of old %-format which prevents build on amd64

MFC r204876 by ache:

1) Reimplement (differently) unlimited line length restricted in prev.
commit.

2) Honor missing the very last \n (if absent) on output.

MFC r204927 by ache:

Add SIZE_MAX overflow check

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

13 years agoMFC r200442:
jh [Tue, 17 Aug 2010 15:02:33 +0000 (15:02 +0000)]
MFC r200442:

Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases.

PR: bin/140976

MFC r200604:

- Prevent overflowing of the buffer length variable in getline() by
  limiting its maximum value.
- Exit if reallocf(3) fails in getline(). Failure was silently
  considered as end-of-file.

MFC r204896 by ache:

Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary comparison" instead.

POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

MFC r204928 by ache:

Add SIZE_MAX overflow check

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

13 years agoMFC of 211422, tzdata2010l
edwin [Tue, 17 Aug 2010 12:16:06 +0000 (12:16 +0000)]
MFC of 211422, tzdata2010l

- Fix start times of DST for Egypt.
- clocks were set back one hour at 2010-08-11 00:00:00 local time
  in Gaza and the West Bank.

Obtained from:  ftp://elsie.nci.nih.gov/pub/

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

13 years agoMFC r211301:
bz [Tue, 17 Aug 2010 07:58:10 +0000 (07:58 +0000)]
MFC r211301:

  In rip6_input(), in case of multicast, we might skip the normal processing
  and go to the next iteration early if multicast filtering would decide that
  this socket shall not receive the data.
  Unlock the pcb in that case or we leak the read lock and next time trying
  to get a write lock, would hang forever.

PR: kern/149608
Submitted by: Chris Luke (chrisy flirble.org)

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

13 years agoHoist mergeinfo for sys/dev/e1000 back up to sys/.
jhb [Mon, 16 Aug 2010 20:22:06 +0000 (20:22 +0000)]
Hoist mergeinfo for sys/dev/e1000 back up to sys/.

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

13 years agoMFC r210747:
ae [Mon, 16 Aug 2010 08:51:35 +0000 (08:51 +0000)]
MFC r210747:
  Forward ioctl requests to original geom.

  PR: 148540
Approved by: kib (mentor)

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

13 years agoMFC r210746:
ae [Mon, 16 Aug 2010 08:48:39 +0000 (08:48 +0000)]
MFC r210746:
  Release access for consumers that are opened, but will be destroyed
  indirectly by orphan method.

  PR: 148688

MFC r210792:
  Check that table is not NULL before access, it can be NULL
  for some cases.

Approved by: kib (mentor)

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

13 years agoMFC r210271:
yongari [Sun, 15 Aug 2010 23:56:57 +0000 (23:56 +0000)]
MFC r210271:
  Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4)
  controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes.

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

13 years agoMFC r210263,210267,210269-210270:
yongari [Sun, 15 Aug 2010 23:47:04 +0000 (23:47 +0000)]
MFC r210263,210267,210269-210270:
r210263:
  Do not report current link state if interface is not UP.

r210267:
  Add KASSERT to check number of returned DMA segments.

r210269:
  Use bus_get_dma_tag() to get parent tag. Also use
  BUS_SPACE_MAXSIZE_32BIT to specify sum of all segment lengths.
  Previously it used MAXBSIZE which was wrong.

r210270:
  Specify BUS_DMA_ZERO flag to bus_dmamem_alloc(9) and remove bzero()
  calls. Also add BUS_DMA_COHERENT flag to bus_dmamem_alloc(9) to
  take advantage of efficient synchronization for architectures that
  support that feature.

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

13 years agoMFC r210257,210259-210261:
yongari [Sun, 15 Aug 2010 23:38:49 +0000 (23:38 +0000)]
MFC r210257,210259-210261:
r210257:
  When we didn't find a matching flash device, do not touch flash
  config data. While I'm here, use return code of bce_init_nvram()
  to set error instead of directly setting ENODEV.

r210259:
  Have bce_init_ctx() return error code and make caller check the
  return code. If context was not setup correctly give up
  initialization. While I'm here move variable declarations to the
  beginning of the function.

r210260:
  Don't change current media in bce_stop(). There is no need to do
  this here.

r210261:
  Correctly check the result of media selection. Previously it always
  returned success.

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

13 years agoMFC r207411:
yongari [Sun, 15 Aug 2010 23:30:53 +0000 (23:30 +0000)]
MFC r207411:
  - Enable flow control.
  - Print device details only when verbose boot is enabled.
  - Add debug output for shared memory access.
  - Add debug statistics (checksum offload & VLAN frame counters).
  - Modify TX path to update consumer index for each frame completed
    rather than updating the consumer index only once for a group of
    frames to improve small packet performance.
  - Print driver/firmware pulse messages only when verbose boot
    is enabled.
  - Add debug sysctl to clear statistics.
  - Fix more style(9) violations.

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

13 years agoMFC r207391:
yongari [Sun, 15 Aug 2010 23:26:46 +0000 (23:26 +0000)]
MFC r207391:
  - Pass flow control settings back to bce(4).

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

13 years agoMFC r210244:
yongari [Sun, 15 Aug 2010 23:11:38 +0000 (23:11 +0000)]
MFC r210244:
  Implement WOL. WOL is supported on RTL8139B or newer controllers.

  PR: kern/148013

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

13 years agoMFC r205651:
yongari [Sun, 15 Aug 2010 23:02:41 +0000 (23:02 +0000)]
MFC r205651:
  Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim
  read request size.

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

13 years agoMFC r210083,210152:
yongari [Sun, 15 Aug 2010 22:57:50 +0000 (22:57 +0000)]
MFC r210083,210152:
r210083:
  Remove enabling Data FIFO protection with indirect memory access.
  r165114 added that code and that change ignored the same logic
  committed in r135772. In addition, data FIFO protection should be
  selectively enabled instead of applying to all PCIe devices.
  While I'm here add BCM5785 to devices that do not require this
  fix.

r210152:
  Use Miscellaneous Configuration Register bit definition instead of
  magic number.

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

13 years agoMFC r210011,210013-210015:
yongari [Sun, 15 Aug 2010 22:51:52 +0000 (22:51 +0000)]
MFC r210011,210013-210015:
r210011:
  Make bge_stop_fw() static.
  While I'm here use ANSI function definitions.

r210013:
  style.

r210014:
  Fix error message for jumbo buffer allocation failure.

r210015:
  Prefer PCIR_BAR macro over BGE_PCI_BAR0.

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

13 years agoMFC r209741:
yongari [Sun, 15 Aug 2010 22:44:28 +0000 (22:44 +0000)]
MFC r209741:
  Zero entire status block and add missing bus_dmamap_sync(9).

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

13 years agoMFC r209714:
yongari [Sun, 15 Aug 2010 22:40:47 +0000 (22:40 +0000)]
MFC r209714:
  It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO
  configuration to get IPv4 TSO work on BCM57780. While I'm here
  apply the same fix to BCM5785 which shares similar hardware feature
  of BCM57780. This change makes TSO work on BCM57780.

  Tested by: Tong Liu <nemoliu <> gmail dot com>

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

13 years agoMFC r208917:
yongari [Sun, 15 Aug 2010 22:36:12 +0000 (22:36 +0000)]
MFC r208917:
  Remove unused macros.

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

13 years agoMFC r209818:
yongari [Sun, 15 Aug 2010 21:56:45 +0000 (21:56 +0000)]
MFC r209818:
  Remove enabling RX checksum offloading in RX filter setup. RX
  checksum is enabled in sge_init_locked().
  While I'm here do not set RX checksum bits in RX descriptor
  initialization. It is controller's job to set these bits.

  Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >

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

13 years agoMFC r209865:
yongari [Sun, 15 Aug 2010 21:51:10 +0000 (21:51 +0000)]
MFC r209865:
  Some revision of Yukon controller generates corrupted frame when TX
  checksum offloading is enabled.  The frame has a valid checksum
  value so payload might be modified during TX checksum calculation.
  Disable TX checksum offloading but give users chance to enable it
  when they know their controller works without problems with TX
  checksum offloading.

  Reported by: Andrzej Tobola <ato <> iem dot pw dot edu dot pl>

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

13 years agoMFC r211089:
yongari [Sun, 15 Aug 2010 21:43:51 +0000 (21:43 +0000)]
MFC r211089:
  It seems some old Sundace(now IC Plus Corp.) controllers do not
  like memory mapped register access. Typical problem from the issue
  was MII access returned unreliable values. I'm not sure this comes
  from lack of register flushing in MII access after accessing
  STE_PHYCTL register though.
  To address the issue, read hints data that controls which type of
  memory mapping should be used in driver. ste(4) still prefers
  memory mapping to io mapping but honor hints entered by user except
  for controllers that have problems with memory mapping.
  The hint to use iomapping could be given by adding the following
  line to /boot/device.hints file.

  hint.ste.0.prefer_iomap="1"

  PR: kern/149285

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

13 years agoAdd lame COMPAT_IA32 lines to all the options.* files until I fix config.
imp [Sun, 15 Aug 2010 08:38:48 +0000 (08:38 +0000)]
Add lame COMPAT_IA32 lines to all the options.* files until I fix config.

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

13 years agoNeed to add COMPAT_IA32 to options.i386 too
imp [Sun, 15 Aug 2010 08:32:09 +0000 (08:32 +0000)]
Need to add COMPAT_IA32 to options.i386 too

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

13 years agoMFC r210666:
andre [Sat, 14 Aug 2010 19:36:48 +0000 (19:36 +0000)]
MFC r210666:

  Fix a bug in syncache where the initial CWND for new incoming connections
  was limited to one segment under the faulty assumption of a retransmit.
  Due to this the opportunity to initialize the increased congestion window
  according to RFC3390 was missed.

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

13 years agoMap COMPAT_IA32 to COMPAT_FREEBSD32
imp [Sat, 14 Aug 2010 18:40:05 +0000 (18:40 +0000)]
Map COMPAT_IA32 to COMPAT_FREEBSD32

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

13 years agoMFC r211006:
kib [Sat, 14 Aug 2010 14:13:58 +0000 (14:13 +0000)]
MFC r211006:
Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS
in the compat32 code. Use sv_usrstack instead of FREEBSD32_USRSTACK as well.

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

13 years agoMFC r211005:
kib [Sat, 14 Aug 2010 14:09:13 +0000 (14:09 +0000)]
MFC r211005:
Add compat32 definition for (old) struct ostat.

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

13 years agoMFC r210686:
bz [Sat, 14 Aug 2010 13:44:24 +0000 (13:44 +0000)]
MFC r210686:

  MFp4 @181628:

  Free the rtentry after we diconnected it from the FIB and are counting
  it as rttrash.  There might still be a chance we leak it from a different
  code path but there is nothing we can do about this here.

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

13 years agoMFC r211001:
yar [Sat, 14 Aug 2010 00:50:26 +0000 (00:50 +0000)]
MFC r211001:
 Move the sentences telling the defaults for -c and -w
 to where they belong.  Previously they were misplaced,
 i.e., swapped.

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

13 years agoMFC r210931:
kib [Fri, 13 Aug 2010 11:24:02 +0000 (11:24 +0000)]
MFC r210931:
Disable sync cache for the Transcend Jetflash V90.

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

13 years agoMFC of e1000 changes
jfv [Thu, 12 Aug 2010 20:18:06 +0000 (20:18 +0000)]
MFC of e1000 changes

Many bug fixes, major new feature: the igb vf driver.

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

13 years agoMFC r211091:
mm [Thu, 12 Aug 2010 05:59:55 +0000 (05:59 +0000)]
MFC r211091:

Return EIO if vdev->v_phys_read is NULL.

This fixes booting from a ZFS mirror with a unavailable primary device.

PR: kern/148655
Reviewed by: avg
Approved by: delphij (mentor)

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

13 years agoMFC r210848:
kib [Wed, 11 Aug 2010 09:04:36 +0000 (09:04 +0000)]
MFC r210848:
Copy inode birthtime to the struct stat32.

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

13 years agoMFC r210847:
kib [Wed, 11 Aug 2010 08:58:27 +0000 (08:58 +0000)]
MFC r210847:
Fix style.

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

13 years agoMFC r210947:
bschmidt [Wed, 11 Aug 2010 07:11:20 +0000 (07:11 +0000)]
MFC r210947:
Fix whitespace nits.

PR: conf/148989
Submitted by: pluknet <pluknet at gmail.com>

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

13 years agoMFC r210959:
bschmidt [Wed, 11 Aug 2010 07:02:08 +0000 (07:02 +0000)]
MFC r210959:
Obviously the option is known as COMPAT_LINUX32 on amd64.

PR: docs/149182
Pointed out by: Fernando <fernando.apesteguia at gmail.com>

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

13 years agoMFC r211063:
bschmidt [Wed, 11 Aug 2010 06:29:40 +0000 (06:29 +0000)]
MFC r211063:
License ACK is not required for the wpifw module nor when building
it into the kernel.

PR: conf/148758
Submitted by: Joe Talbott <josepht at dragonflybsd.org

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

13 years agoMFC: r210786
rmacklem [Wed, 11 Aug 2010 03:08:03 +0000 (03:08 +0000)]
MFC: r210786
Modify the return value for nfscl_mustflush() from boolean_t,
which I mistakenly thought was correct w.r.t. style(9), back
to int and add the checks for != 0. This is just a stylistic
modification.

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

13 years agoMFC r210255:
gabor [Tue, 10 Aug 2010 19:50:51 +0000 (19:50 +0000)]
MFC r210255:
  - Add Latinamerican keymaps to sysinstall's Makefile so that it can
    find them [1]
  - While here, also add a missing Spanish entry

PR: bin/67365 [1]
Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1]
Approved by: delphij (mentor)

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

13 years agoMFC r210795:
ae [Tue, 10 Aug 2010 11:02:55 +0000 (11:02 +0000)]
MFC r210795:

  Check that gsp is not NULL before access. It can be NULL
  for some cases.

Approved by: kib (mentor)

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

13 years agoMFC r210805:
kib [Tue, 10 Aug 2010 10:17:01 +0000 (10:17 +0000)]
MFC r210805:
Properly set ifi_datalen for compat32 struct if_data32.

PR: kern/149240

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

13 years agoMFC r210796:
kib [Tue, 10 Aug 2010 10:15:34 +0000 (10:15 +0000)]
MFC r210796:
When compat32 recvmsg(2) does not need to copy out control messages, set
msg_controllen to 0.

PR: kern/149227

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

13 years agoMFC r210797:
fabient [Mon, 9 Aug 2010 14:32:45 +0000 (14:32 +0000)]
MFC r210797:

- Do not use the runtime mask when logfile is specified.
- Revert the fix on rtld path that is not necessary.

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

13 years agoMFC r210794:
fabient [Mon, 9 Aug 2010 14:29:23 +0000 (14:29 +0000)]
MFC r210794:
Allow file as a top source, it works with socket now.
This will allow top monitoring using socket/ssh tunnelling
of system without local symbols.

client:
pmcstat -R <ip>:<port> -T -r <symbolspath>
monitored device:
pmcstat -Sinstructions -O <ip>:<port>

- Move the file read in the event loop
- Initialize and clean log in all cases
- Preserve global stats value during top refresh
- Fix the rtld/line resolver that ignore '-r' prefix
- Support socket for '-R' (server mode)
- Display the statistics when exiting top mode

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

13 years agoMFC r210766:
fabient [Mon, 9 Aug 2010 14:25:58 +0000 (14:25 +0000)]
MFC r210766:
Fix the calltree top view that incorrectly filter out some nodes.

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

13 years agoMFC r210930: Typo fixes
uqs [Mon, 9 Aug 2010 07:58:32 +0000 (07:58 +0000)]
MFC r210930: Typo fixes

PR: docs/149314
Submitted by: olgeni

------------------------------------------------------------------------

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

13 years agoMFC r210861: /etc/rc.d/ip6fw was deprecated.
ume [Sun, 8 Aug 2010 15:29:27 +0000 (15:29 +0000)]
MFC r210861: /etc/rc.d/ip6fw was deprecated.

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

13 years agoMFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not
jilles [Sun, 8 Aug 2010 13:43:20 +0000 (13:43 +0000)]
MFC r210734: Allow starting ipmon if ipnat is enabled but ipfilter is not
(in /etc/rc.conf).

This fixes an apparent confusion between test(1) and sh(1) syntax for
AND/OR.

PR: conf/149036
Submitted by: pluknet

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

13 years agoMFC r208717:
jh [Sun, 8 Aug 2010 12:19:49 +0000 (12:19 +0000)]
MFC r208717:

Don't try to call cdevsw d_close() method when devfs_close() is called
because of insmntque1() failure.

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

13 years agoMFC r207878:
jh [Sun, 8 Aug 2010 09:12:30 +0000 (09:12 +0000)]
MFC r207878:

- Don't return EAGAIN from gv_unload(). It was used to work around the
  deadlock fixed in r207671.
- Wait for worker process to exit at class unload. The worker process
  was not guaranteed to exit before the linker unloaded the module.
- Use 0 as the worker process exit status instead of ENXIO and style
  the NOTREACHED comment.

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

13 years agoMFC r207877:
jh [Sun, 8 Aug 2010 09:06:59 +0000 (09:06 +0000)]
MFC r207877:

In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case.
EBUSY was probably used as a workaround for the deadlock fixed in r207671.

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

13 years agoMFC r208612: Fixes from NetBSD for nvi visual mode
jh [Sun, 8 Aug 2010 07:34:37 +0000 (07:34 +0000)]
MFC r208612: Fixes from NetBSD for nvi visual mode

PR: bin/21089, bin/136393

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

13 years agoMerge r210534 from head:
gavin [Sat, 7 Aug 2010 19:08:39 +0000 (19:08 +0000)]
Merge r210534 from head:

  Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4)

PR: usb/129945
Submitted by: Antonio Hilario <avahilario gmail.com>
Committed from: Bugathon #7

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

13 years agoMerge r210575 from head:
gavin [Sat, 7 Aug 2010 19:01:59 +0000 (19:01 +0000)]
Merge r210575 from head:

  Provide descriptions for three vendors and four devices in usbdevs.  Use
  the official vendor listed for 0x076b, rather than Omnikey, as in the PR.

PR: usb/123351
Submitted by: Marcin Cieslak <saper SYSTEM.PL>

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

13 years agoMFC r210175:
brucec [Sat, 7 Aug 2010 13:42:54 +0000 (13:42 +0000)]
MFC r210175:

FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring
and installing via such devices from sysinstall.

Approved by: rrs (mentor)

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

13 years agoMFC r209748:
brucec [Sat, 7 Aug 2010 13:39:59 +0000 (13:39 +0000)]
MFC r209748:

Simplify the wording of the console configuration dialogs since we now
only have a single video console driver.

Approved by: rrs (mentor)

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

13 years agoMFC r209709:
brucec [Sat, 7 Aug 2010 13:36:55 +0000 (13:36 +0000)]
MFC r209709:

Increment 'sa' at the end of the loop; otherwise, only the first
address ever gets checked.

Approved by: rrs (mentor)

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

13 years agoMFC r209684:
brucec [Sat, 7 Aug 2010 13:34:52 +0000 (13:34 +0000)]
MFC r209684:

Use ISO C99 integer types instead of the BSD-specific u_int*_t.

Approved by: rrs (mentor)

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

13 years agoMFC r209466:
brucec [Sat, 7 Aug 2010 13:25:46 +0000 (13:25 +0000)]
MFC r209466:

Add some more modules to loader.conf. Remove if_awi since support for it
was removed 2 years ago.

PR: conf/147126
PR: conf/116071
Approved by: rrs (mentor)

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

13 years agoMFC r209469:
brucec [Sat, 7 Aug 2010 12:58:01 +0000 (12:58 +0000)]
MFC r209469:

If a device can't be opened, don't keep going but display the error
returned from open() and quit.

PR: bin/81035
Submitted by: Peter Schuller <peter.schuller at infidyne.com>
Approved by: rrs (mentor)

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

13 years agoMFC r209468:
brucec [Sat, 7 Aug 2010 12:51:44 +0000 (12:51 +0000)]
MFC r209468:

Make it easier to cancel a failing installation by only attempting to
extract distributions once. If a distribution fails to fetch/extract
and the user doesn't want to retry, abort the installation.

Approved by: rrs (mentor)

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

13 years agoMFC r209467:
brucec [Sat, 7 Aug 2010 12:41:12 +0000 (12:41 +0000)]
MFC r209467:

When installing on a machine which doesn't have a VGA card installed, enable
a getty on the serial port so that it's possible to login when the system is
rebooted.

PR: bin/23098
Submitted by: Doug Ambrisko <ambrisko at whistle.com>
Approved by: rrs (mentor)

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

13 years agoMFC r209764:
brucec [Sat, 7 Aug 2010 12:18:36 +0000 (12:18 +0000)]
MFC r209764:

Increase the default and minimum partition sizes.
Bump / to 1GB, /var to 4GB and /tmp to 1GB.

A 512MB root partition is now too small to hold two kernels, so to
prevent installkernel failing 1GB is a better default. Likewise,
applications are storing more data in /var so 4GB is more reasonable
on a modern machine.

The previous minimum partition sizes were too small to hold a minimal
installation, and have been adjusted accordingly.

Approved by: rrs (mentor)

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

13 years agoMFC r209235, r210381 (bug fix for r209235):
brucec [Sat, 7 Aug 2010 10:51:01 +0000 (10:51 +0000)]
MFC r209235, r210381 (bug fix for r209235):

* Allow partial MB/GB values to be entered in the slice and label editors.
* Don't strdup the name when calling deviceRegister because the string is
copied within new_device.
* Use a subtype of 165, not 3, when creating a slice in noninteractive
mode.

PR: bin/135333
PR: bin/66350
Approved by: rrs (mentor)

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

13 years agoMFC: r210455, r210456
rmacklem [Sat, 7 Aug 2010 01:05:02 +0000 (01:05 +0000)]
MFC: r210455, r210456
Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate
module that can be used by both the regular and experimental nfs
clients. This fixes the problem reported by jh@ where /dev/nfslock
would be registered twice when both nfs clients were used.
I also defined the size of the lm_fh field to be the correct value,
as it should be the maximum size of an NFSv3 file handle.
Also fix the include path for nfs_lock.h for usr.sbin/rpc.lockd/kern.c.

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

13 years agoMFC r210783. Fix typo
emax [Fri, 6 Aug 2010 20:18:27 +0000 (20:18 +0000)]
MFC r210783. Fix typo

PR: kern/140590

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

13 years agoMFC r209058:
brucec [Fri, 6 Aug 2010 18:55:49 +0000 (18:55 +0000)]
MFC r209058:

sctp_recvmsg returns the number of bytes received, not sent.

Approved by: rrs (mentor)

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

13 years agoMFC r210350:
bz [Fri, 6 Aug 2010 11:58:27 +0000 (11:58 +0000)]
MFC r210350:

  Since r186119 IP6 input counters for octets and packets were not
  working anymore.  In addition more checks and operations were missing.

  In case lla_lookup results in a match, get the ifaddr to update the
  statistics counters, and check that the address is neither tentative,
  duplicate or otherwise invalid before accepting the packet.  If ok,
  record the address information in the mbuf.  [ as is done in case
  lla_lookup does not return a result and we go through the FIB ].

  Reported by:  remko
  Tested by:    remko

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

13 years agoMFC r210703:
bz [Fri, 6 Aug 2010 11:49:52 +0000 (11:49 +0000)]
MFC r210703:

  Document the mandatory argument to the arptimer() and
  nd6_llinfo_timer() functions with a KASSERT().
  Note: there is no need to return after panic.

  In the legacy IP case, only assign the arg after the check,
  in the IPv6 case, remove the extra checks for the table and
  interface as they have to be there unless we freed and forgot
  to cancel the timer.  It doesn't matter anyway as we would
  panic on the NULL pointer deref immediately and the bug is
  elsewhere.
  This unifies the code of both address families to some extend.

  Reviewed by:  rwatson

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

13 years agoMFC r210641: Fix a couple of typos.
uqs [Fri, 6 Aug 2010 09:08:18 +0000 (09:08 +0000)]
MFC r210641: Fix a couple of typos.

PR: docs/148891
Submitted by: olgeni

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

13 years agoMFC r210637: Fix typo in pom(6) manpage
uqs [Fri, 6 Aug 2010 08:59:54 +0000 (08:59 +0000)]
MFC r210637: Fix typo in pom(6) manpage

PR: docs/148825
Submitted by: Anatoly Borodin

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

13 years agoMFC r209756:
brian [Fri, 6 Aug 2010 08:17:44 +0000 (08:17 +0000)]
MFC r209756:
    Log dhclient's reason for exiting and change the 10 second
    ignore-routing-messages dhclient-script timeout to be effective
    from script completion rather than from script start time.

    Ignore RTM_DELADDR and RTM_NEWADDR messages when the message
    contains no interface address (which should not happen) rather than
    exiting.

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

13 years agoMFC 210623:
jhb [Thu, 5 Aug 2010 22:01:14 +0000 (22:01 +0000)]
MFC 210623:
Mark the __curthread() functions as __pure2 and remove the volatile keyword
from the inline assembly.  This allows the compiler to cache invocations of
curthread since it's value does not change within a thread context.

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

13 years agoMFC 210577: The corrected error count field is dependent on CMCI, not TES.
jhb [Thu, 5 Aug 2010 21:01:15 +0000 (21:01 +0000)]
MFC 210577: The corrected error count field is dependent on CMCI, not TES.

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

13 years agoMFC 210505:
jhb [Thu, 5 Aug 2010 20:39:52 +0000 (20:39 +0000)]
MFC 210505:
- Change the warning about PCI-e links narrower than x8 to only apply to
  10G cards.  1G cards are x4 only.
- Use constants from pcireg.h for reading the current link width.
- Use pci_set_max_read_req() rather than implementing it by hand.

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

13 years agoMFC: 210621
gnn [Thu, 5 Aug 2010 20:02:59 +0000 (20:02 +0000)]
MFC: 210621

Make sure that we clear the correct bits when we turn off
a PMC.  It was possible that we could have turned a bit on but
never cleared it.

Extend the calls to rdmsr() to all necessary functions, not
just those which previously caused a panic.

Pointed out by: jhb@

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

13 years agoMFC 210604:
jhb [Thu, 5 Aug 2010 19:43:19 +0000 (19:43 +0000)]
MFC 210604:
Fix test for double-nul characters that terminate the string table at
the end of each SMBIOS/DMI structure.

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

13 years agoMFC 210136:
jhb [Thu, 5 Aug 2010 19:40:48 +0000 (19:40 +0000)]
MFC 210136:
Retire the NFS access cache timestamp structure.  It was used in VOP_OPEN()
to avoid sending multiple ACCESS/GETATTR RPCs during a single open()
between VOP_LOOKUP() and VOP_OPEN().  Now we always send the RPC in
VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be
sent.

To preserve the ABI I have left the structure in place, but renamed it
to 'n_unused' and just removed the code that updates it.

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

13 years agoMFC 210135:
jhb [Thu, 5 Aug 2010 19:11:13 +0000 (19:11 +0000)]
MFC 210135:
Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide
more graceful recovery for stale filehandles and eliminate the need for
conditionally clearing the attribute cache in the !NMODIFIED case in
VOP_OPEN().

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

13 years agoMFC r209736:
trasz [Thu, 5 Aug 2010 17:08:23 +0000 (17:08 +0000)]
MFC r209736:

Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group
names names starting with a digit.

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

13 years agoMFC r210779:
bcr [Thu, 5 Aug 2010 10:45:27 +0000 (10:45 +0000)]
MFC r210779:

Fix two (very common) occurrences of s/sytem/system in comments.

Approved by:    mav
MFC after:      3 days

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

13 years agoMFC r210369:
kib [Thu, 5 Aug 2010 08:57:53 +0000 (08:57 +0000)]
MFC r210369:
When compat32 binary asks for the value of hw.machine_arch, report the
name of 32bit sibling architecture instead of the host one.

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

13 years agoMFC r210576:
tijl [Wed, 4 Aug 2010 10:24:37 +0000 (10:24 +0000)]
MFC r210576:

Add quirk for Apacer HT202 USB 2.0 Flash Drive.

PR: usb/107243
Approved by: kib (mentor)

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

13 years agoMFC r210358:
delphij [Wed, 4 Aug 2010 01:36:48 +0000 (01:36 +0000)]
MFC r210358:

Apply vendor version 1.20.00.17.

This version adds support for ARC1880; additionally this version fixed
an issue where all devices on a SAS port gets offlined when any device
failed on the port [1].

Many thanks to Areca for continuing to support FreeBSD.

PR: kern/148502 [1]
Submitted by: Ching-Lung Huang <ching2048 areca com tw>
Obtained from: Areca
Tested by: Rich Ercolani <rercola acm jhu edu> [1]

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

13 years agoMerge r210515,210516,210543 from head:
gavin [Tue, 3 Aug 2010 17:47:27 +0000 (17:47 +0000)]
Merge r210515,210516,210543 from head:

  Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum
  Analyzer is attached. [1]

  Prevent uhid(4) from attaching to the Gembird Silver Shield remote power
  plug. [2]

  Prevent uhid(4) from attaching to the Liebert PowerSure Personal XT UPS.
  [3]

PR: usb/134631 [1], usb/132785 [2], usb/129251 [3]
Submitted by: Jesse Kempf <jkempf davisvision.com> [1]
Submitted by: Dirk-Willem van Gulik <dirkx webweaving.org> [2]
Submitted by: Andrew D Wiles <adw+gnats avatastic.co.uk> [3]

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

13 years agoMFC r209196:
fabient [Tue, 3 Aug 2010 16:35:12 +0000 (16:35 +0000)]
MFC r209196:
Set the comment at the right place for PMC uncore classes.

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

13 years agoMFC r208861:
fabient [Tue, 3 Aug 2010 16:29:54 +0000 (16:29 +0000)]
MFC r208861:

Convert pm_runcount to int to correctly check for negative value.
Remove uncessary check for error.

Found with: Coverity Prevent(tm)

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

13 years agoMFC r208860:
fabient [Tue, 3 Aug 2010 16:26:09 +0000 (16:26 +0000)]
MFC r208860:

Fix memory leak on error.

Found with: Coverity Prevent(tm)

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

13 years agoMFC r208858:
fabient [Tue, 3 Aug 2010 16:21:49 +0000 (16:21 +0000)]
MFC r208858:

Fix warnings found by Coverity.

Found with:   Coverity Prevent(tm)

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

13 years agoMFC: 209512
gnn [Tue, 3 Aug 2010 15:06:31 +0000 (15:06 +0000)]
MFC: 209512

Make sure that all the exposed counters and variables are actually
being updated.

Pointed out by: jfv

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