]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoRemove a file that is not supposed to be part of -STABLE branch.
delphij [Thu, 22 Apr 2010 00:29:36 +0000 (00:29 +0000)]
Remove a file that is not supposed to be part of -STABLE branch.

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

14 years agoMFC: netcat 4.7.
delphij [Thu, 22 Apr 2010 00:28:49 +0000 (00:28 +0000)]
MFC: netcat 4.7.

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

14 years agoMFC r206488:
bz [Wed, 21 Apr 2010 20:00:13 +0000 (20:00 +0000)]
MFC r206488:

  Take a reference to make sure that the interface cannot go away during
  if_clone_destroy() in case parallel threads try to.

PR: kern/116837
Submitted by: Mikolaj Golub (to.my.trociny gmail.com)

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

14 years agoMFC r206486:
bz [Wed, 21 Apr 2010 19:55:43 +0000 (19:55 +0000)]
MFC r206486:

  Check that the interface is on the list of cloned interfaces before trying
  to remove it to avoid panics in case of two threads trying to remove it in
  parallel.

PR:       kern/116837
Submitted by: Takahiro Kurosawa (takahiro.kurosawa gmail.com) (orig version)

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

14 years agoMFC r206481:
bz [Wed, 21 Apr 2010 19:51:22 +0000 (19:51 +0000)]
MFC r206481:

  Plug reference leaks in the link-layer code ("new-arp") that previously
  prevented the link-layer entry from being freed.

  In both in.c and in6.c (though that code path seems to be basically dead)
  plug a reference leak in case of a pending callout being drained.

  In if_ether.c consistently add a reference before resetting the callout
  and in case we canceled a pending one remove the reference for that.
  In the final case in arptimer, before freeing the expired entry, remove
  the reference again and explicitly call callout_stop() to clear the active
  flag.

  In nd6.c:nd6_free() we are only ever called from the callout function and
  thus need to remove the reference there as well before calling into
  llentry_free().

  In if_llatbl.c when freeing the entire tables make sure that in case we
  cancel a pending callout to remove the reference as well.

  Reviewed by:          qingli (earlier version)
  MFC after:            10 days
  Problem observed, patch tested by: simon on ipv6gw.f.o,
                        Christian Kratzer (ck cksoft.de),
                        Evgenii Davidov (dado korolev-net.ru)
PR: kern/144564
Configurations still affected: with options FLOWTABLE

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

14 years agoMFC r206470:
bz [Wed, 21 Apr 2010 19:48:40 +0000 (19:48 +0000)]
MFC r206470:

  In if_detach_internal() we cannot hold the af_data lock over the
  dom_ifdetach() calls as they might sleep for callout_drain().
  Do as we do in if_attachdomain1() [r121470] and handle
  if_afdata_initialized earlier and call dom_ifdetach() unlocked.

  Discussed with:       rwatson

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

14 years agoMFC r206469:
bz [Wed, 21 Apr 2010 19:47:19 +0000 (19:47 +0000)]
MFC r206469:

  In if_detach_internal() only try to do the detach run if if_attachdomain1()
  has actually succeeded to initialize and attach.  There is a theoretical
  possibility to drop out early in if_attachdomain1() leaving the array
  uninitialized if we cannot get the lock.

  Discussed with:       rwatson

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

14 years agoMFC r205345:
bz [Wed, 21 Apr 2010 19:45:41 +0000 (19:45 +0000)]
MFC r205345:

  Split eventhandler_register() into an internal part and a wrapper function
  that provides the allocated and setup eventhandler entry.

  Add a new wrapper for VIMAGE that allocates extra space to hold the
  callback function and argument in addition to an extra wrapper function.
  While the wrapper function goes as normal callback function the
  argument points to the extra space allocated holding the original func
  and arg that the wrapper function can then call.

  Provide an iterator function for the virtual network stack (vnet) that
  will call the callback function for each network stack.

  Provide a new set of macros for VNET that in the non-VIMAGE case will
  just call eventhandler_register() while in the VIMAGE case it will use
  vimage_eventhandler_register() passing in the extra iterator function
  but will only register once rather than per-vnet.
  We need a special macro in case we are interested in the tag returned
  as we must check for curvnet and can neither simply assign the
  return value, nor not change it in the non-vnet0 case without that.

  Discussed with:       jhb
  Reviewed by:  zec (earlier version), jhb

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

14 years agoMFC r206549:
kib [Wed, 21 Apr 2010 11:09:13 +0000 (11:09 +0000)]
MFC r206549:
Align the declaration for sa_sigaction with POSIX.

MFC r206649:
Still reference struct __sigaction with clarification when this form
of argument declaration is needed.

MFC r206802:
Revert r206649. Simplify the presented declaration of struct sigaction.

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

14 years agoMFH OpenSSH 5.4p1
des [Wed, 21 Apr 2010 06:33:10 +0000 (06:33 +0000)]
MFH OpenSSH 5.4p1

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

14 years agoMFC r205874: make sockstat -6 output more readable for long ipv6
maxim [Wed, 21 Apr 2010 05:39:51 +0000 (05:39 +0000)]
MFC r205874: make sockstat -6 output more readable for long ipv6
addresses.

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

14 years agoMFC r205873: remove duplication, improve wording.
maxim [Wed, 21 Apr 2010 05:38:16 +0000 (05:38 +0000)]
MFC r205873: remove duplication, improve wording.

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

14 years agoMFC r205672: fix typo.
maxim [Wed, 21 Apr 2010 05:36:53 +0000 (05:36 +0000)]
MFC r205672: fix typo.

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

14 years agoMFC r205671: trim leading w/space.
maxim [Wed, 21 Apr 2010 05:35:06 +0000 (05:35 +0000)]
MFC r205671: trim leading w/space.

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

14 years agoremove svn:mergeinfo properties committed during my MFCs.
weongyo [Wed, 21 Apr 2010 00:26:41 +0000 (00:26 +0000)]
remove svn:mergeinfo properties committed during my MFCs.

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

14 years agoMFC r205141:
weongyo [Wed, 21 Apr 2010 00:23:23 +0000 (00:23 +0000)]
MFC r205141:
  enables S/W beacon miss handler.

  Reported by: imp

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

14 years agoMFC r205003:
weongyo [Wed, 21 Apr 2010 00:22:16 +0000 (00:22 +0000)]
MFC r205003:
  Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug
  and non-debug cases

MFC r204992:
  fixes a compile error if INVARIANTS is disabled.

  Pointy hat to: me
  Submitted by: Michael Butler <imb at protected-networks dot net>

MFC r204983:
  Fix build breakage introduced in r204922.

MFC r204923:
  uses KOBJMETHOD_END macro to indicate the end of method table.

  Submitted by: yongari

MFC r204922:
  o uses bus accessor macros to read values from ivar so no more values
    are referenced directly from ivar pointer.  It's to do like what other
    buses do. [1]
  o changes exported prototypes.  It doesn't use struct siba_* structures
    anymore that instead of it it uses only device_t.
  o removes duplicate code and debug messages.
  o style(9)

  Pointed out by:        imp [1]

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

14 years agoMFC r204662:
weongyo [Wed, 21 Apr 2010 00:15:58 +0000 (00:15 +0000)]
MFC r204662:
  Hook up the bwn driver.

  Pointed by: nwhitehorn

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

14 years agoMFC r204657:
weongyo [Wed, 21 Apr 2010 00:13:44 +0000 (00:13 +0000)]
MFC r204657:
  fixes an attached-at-boot issue that bwn(4) using device_identify
  interface didn't be attached automatically at boot time so changes a
  approach to attach children based on leveraging some newbus niceties.

  Submitted by: nwhitehorn

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

14 years agoMFC r204542:
weongyo [Wed, 21 Apr 2010 00:06:39 +0000 (00:06 +0000)]
MFC r204542:
  calculates the integer square root if a positive integer X is larger
  than 256 instead of using sqrt_table.

  Reported by: Joe Marcus Clarke <marcus at freebsd dot org>

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

14 years agoMFC r204437:
weongyo [Wed, 21 Apr 2010 00:05:22 +0000 (00:05 +0000)]
MFC r204437:
  fixes a bug to load firmware images for LP PHY. For LP PHY always,
  `lp_' string is contained in its full image names.

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

14 years agoMFC r204436:
weongyo [Wed, 21 Apr 2010 00:02:48 +0000 (00:02 +0000)]
MFC r204436:
  supports the adhoc demo mode that it's tested on modified aircrack-ng
  suite and worked.

  Submitted by: Paul B Mahol <onemda at gmail dot com>

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

14 years agoMFC r204385:
weongyo [Wed, 21 Apr 2010 00:01:38 +0000 (00:01 +0000)]
MFC  r204385:
  don't need to check BWN_RX_PHYST0_SHORTPRMBL flag because it's already
  handled in later.

  Reported from: imp, nwhitehorn

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

14 years agoMFC r204343:
weongyo [Tue, 20 Apr 2010 23:59:02 +0000 (23:59 +0000)]
MFC  r204343:
  Updates what firmware module should be used for LP (low power) PHY
  users and bumps date.

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

14 years agoMFC assembler version of match functions for amd64 and i386(*).
delphij [Tue, 20 Apr 2010 22:57:05 +0000 (22:57 +0000)]
MFC assembler version of match functions for amd64 and i386(*).

This gives approximately 15% improvement on compression case.

(*) i386 assembler version is enabled ONLY when MACHINE_CPU have
'i686' which is not default on FreeBSD/i386.  One can specify
for instance CPUTYPE=pentium4 in /etc/make.conf to get this
feature.

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

14 years agoMFC r204328:
weongyo [Tue, 20 Apr 2010 22:55:07 +0000 (22:55 +0000)]
MFC r204328:
  Add bwn(4) driver.

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

14 years agoMFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.
jilles [Tue, 20 Apr 2010 22:52:28 +0000 (22:52 +0000)]
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.

These may be NFS mounted, and we should not touch them unless we are going
to do something useful with the information.

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

14 years agoMFC r205472:
delphij [Tue, 20 Apr 2010 22:52:13 +0000 (22:52 +0000)]
MFC r205472:

Enable mmap for minigzip(1).

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

14 years agoMFC r206387:
delphij [Tue, 20 Apr 2010 22:47:24 +0000 (22:47 +0000)]
MFC r206387:

Diff reduction against NetBSD and add myself to AUTHORS section of the
manual page as I wrote the unpack functionality.  No actual executable
code change verified with md5(1).

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

14 years agoMFC r200943: sh: Remove setting variables from dotcmd/exportcmd.
jilles [Tue, 20 Apr 2010 22:32:34 +0000 (22:32 +0000)]
MFC r200943: sh: Remove setting variables from dotcmd/exportcmd.

It is already done by evalcommand(), unless special-ness has been removed,
in which case variable assignments should not persist. (These are currently
always special builtins, but this may change later: command builtin,
command substitution.)

This also fixes a memory leak when calling . with variable assignments.

Example:
  valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'

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

14 years agoMFC r199282: sh: Allow a newline before "in" in a for command,
jilles [Tue, 20 Apr 2010 22:20:31 +0000 (22:20 +0000)]
MFC r199282: sh: Allow a newline before "in" in a for command,
as required by POSIX.

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

14 years agoMFC r203945:
weongyo [Tue, 20 Apr 2010 22:00:56 +0000 (22:00 +0000)]
MFC r203945:
  adds bwn(4) driver man page which missed to be merged.

MFC r204327:
  Connect bwn.4 to the build.

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

14 years agoMFC r204326:
weongyo [Tue, 20 Apr 2010 21:55:44 +0000 (21:55 +0000)]
MFC r204326:
  Add bwn(4) driver to the build.

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

14 years agoMFC r204257:
weongyo [Tue, 20 Apr 2010 21:52:54 +0000 (21:52 +0000)]
MFC r204257:
  o adds sysctl variables to show device statistics.
  o records RTS success/fail statistics.

  Pointed by:   imp

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

14 years agoMFC r204256:
weongyo [Tue, 20 Apr 2010 21:51:45 +0000 (21:51 +0000)]
MFC r204256:
  fixes a compile error; invalid type argument of '->'.

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

14 years agoMFC r204242:
weongyo [Tue, 20 Apr 2010 21:48:48 +0000 (21:48 +0000)]
MFC r204242:
  Fix compilation problems with INVARIANTS.

  # also limit RX decryption attempted messages to 50

  Reviewed by:  weongyo

Approved by: imp (implicit)

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

14 years agoMFC r204081:
weongyo [Tue, 20 Apr 2010 21:41:43 +0000 (21:41 +0000)]
MFC r204081:
  o print msgs with length if the frame is too short to pass to
    net80211.
  o print key index for debugging if the frame is attempted to decrypt
    for WEP, AES or TKIP though currently HW decryption isn't supported.

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

14 years agoMFC r203945:
weongyo [Tue, 20 Apr 2010 21:40:09 +0000 (21:40 +0000)]
MFC r203945:
  adds bwn(4) driver for supporting Broadcom BCM43xx chipsets.

    o uses v4 firmware instead of v3.  A port will be committed to
      create the bwn firmware module.
    o supports B/G and LP(low power) PHYs.
    o supports 32 / 64 bits DMA operations.
    o tested on big / little endian machines so should work on all
      architectures.

  It'd not connected to the build until the firmware port is committed.

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

14 years agoMFC r203944:
weongyo [Tue, 20 Apr 2010 21:37:47 +0000 (21:37 +0000)]
MFC r203944:
  supports SPROM rev8 informations properly which are used to support
  low-power PHY of bwn(4) and LDO voltage adjustments.

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

14 years agoMFC r203320:
weongyo [Tue, 20 Apr 2010 21:35:48 +0000 (21:35 +0000)]
MFC r203320:
  Hook up the siba_bwn module to the build.

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

14 years agoMFC r206551 (forgotten in previous commit): fix builds with ktr
luigi [Tue, 20 Apr 2010 21:33:14 +0000 (21:33 +0000)]
MFC r206551 (forgotten in previous commit): fix builds with ktr

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

14 years agoMFC r203319:
weongyo [Tue, 20 Apr 2010 21:29:53 +0000 (21:29 +0000)]
MFC r203319:
  Adds siba_bwn module which is used with bwn(4).  Main purpose of this
  module is to distinguish parts of Silicon Backplane and of Broadcom
  Wireless.

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

14 years agoMFC r201978:
weongyo [Tue, 20 Apr 2010 21:24:32 +0000 (21:24 +0000)]
MFC r201978:
  Merge from projects/mips to head by hand:

  Merge the siba bus device.  This was moved from mips to dev because
  siba bus can be in other architectures, like ARM.

MFC r202056:
  Move this to the right location.  Grump.

MFC r202057:
  This was somehow copied to the wrong place :(.  Remove the spare copy.

Approved by: imp

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

14 years agoMFC r205118:
brucec [Tue, 20 Apr 2010 20:24:00 +0000 (20:24 +0000)]
MFC r205118:

Free the memory allocated via strdup.

PR: bin/113881
Submitted by: Alexander Drozdov (dzal_mail at mtu-net.ru)
Approved by: rrs (mentor)

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

14 years agoMFC r205119 and r206056:
brucec [Tue, 20 Apr 2010 20:19:19 +0000 (20:19 +0000)]
MFC r205119 and r206056:

Prevent the SIZE field being corrupted when a process allocates more than
2TB.

PR: bin/129706
Submitted by: brucec
Approved by:  rrs (mentor)

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

14 years agoMFC r204820:
brucec [Tue, 20 Apr 2010 18:46:00 +0000 (18:46 +0000)]
MFC r204820:

Install /etc/termcap.small .

PR: conf/78419
Submitted by: Eygene A.Ryabinkin <rea at mbslab.kiae.ru>
Approved by: rrs (mentor)

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

14 years agoMFC geom_sched code, a geom-based disk scheduling framework.
luigi [Tue, 20 Apr 2010 15:23:12 +0000 (15:23 +0000)]
MFC geom_sched code, a geom-based disk scheduling framework.

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

14 years agoMFC r206427, r206706, r206771:
rpaulo [Tue, 20 Apr 2010 12:07:16 +0000 (12:07 +0000)]
MFC r206427, r206706, r206771:
  ubthidhci rc.d script to switch an USB bluetooth dongle from HID to
  HCI mode.

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

14 years agoMFC r206553:
kib [Tue, 20 Apr 2010 08:19:43 +0000 (08:19 +0000)]
MFC r206553:
Change printf() calls to uprintf() for sigreturn() and trap() complaints
about inacessible or wrong mcontext, and for dreaded "kernel trap with
interrupts disabled" situation. The later is changed when trap is
generated from user mode (shall never be ?).

Normalize the messages to include both pid and thread name.

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

14 years agoMFC: r206236
rmacklem [Tue, 20 Apr 2010 01:25:18 +0000 (01:25 +0000)]
MFC: r206236
Harden the experimental NFS server a little, by adding range
checks on the length of the client's open/lock owner name. Also,
add free()'s for one case where they were missing and would
have caused a leak if NFSERR_BADXDR had been replied. Probably
never happens, but the leak is now plugged, just in case.

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

14 years agoMFC of tzdata2010i, r206868
edwin [Mon, 19 Apr 2010 21:01:24 +0000 (21:01 +0000)]
MFC of tzdata2010i, r206868

- Marocco does have DST this year between May and August.
- Historical data for Taiwan
- Argentina / San Luis does not do DST this year.

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

14 years agoMFC r202971:
trasz [Mon, 19 Apr 2010 18:22:21 +0000 (18:22 +0000)]
MFC r202971:

Return proper error code.

Found with: clang

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

14 years agoMFC r196987:
trasz [Mon, 19 Apr 2010 18:19:59 +0000 (18:19 +0000)]
MFC r196987:

Remove useless variable assignment.

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

14 years agoMFC r204352:
pjd [Mon, 19 Apr 2010 14:23:15 +0000 (14:23 +0000)]
MFC r204352:

Fixed static linkage.

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

14 years agoMFC r204080:
pjd [Mon, 19 Apr 2010 04:54:34 +0000 (04:54 +0000)]
MFC r204080:

Create a directory for hast's examples.

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

14 years agoMFC: r206170
rmacklem [Sun, 18 Apr 2010 22:51:15 +0000 (22:51 +0000)]
MFC: r206170
Harden the experimental NFS server a little, by adding extra checks
in the readdir functions for non-positive byte count arguments.
For the negative case, set it to the maximum allowable, since it
was actually a large positive value (unsigned) on the wire.
Also, fix up the readdir function comment a bit.

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

14 years agoMFC r203504,r204067,r204073,r204101,r204804,r205079,r205080,r205132,r205133,
pjd [Sun, 18 Apr 2010 21:36:34 +0000 (21:36 +0000)]
MFC r203504,r204067,r204073,r204101,r204804,r205079,r205080,r205132,r205133,
    r205134,r205231,r205253,r205264,r205346,r206051,r206667,r206792,r206793,
    r206794,r206795,r206796,r206797:

r203504:

Open provider for writting when we find the right one. Opening too much
providers for writing provokes huge traffic related to taste events send
by GEOM on close. This can lead to various problems with opening GEOM
providers that are created on top of other GEOM providers.

Reorted by: Kurt Touet <ktouet@gmail.com>, mr
Tested by: mr, Baginski Darren <kickbsd@ya.ru>

r204067:

Update comment. We also look for GPT partitions.

r204073:

Add tunable and sysctl to skip hostid check on pool import.

r204101:

Don't set f_bsize to recordsize. It might confuse some software (like squid).

Submitted by: Alexander Zagrebin <alexz@visp.ru>

r204804:

Remove racy assertion.

Reported by: Attila Nagy <bra@fsn.hu>
Obtained from: OpenSolaris, Bug ID 6827260

r205079:

Remove bogus assertion.

Reported by: Johan Ström <johan@stromnet.se>
Obtained from: OpenSolaris, Bug ID 6920880

r205080:

Force commit to correct Bug ID:

Obtained from: OpenSolaris, Bug ID 6920880

r205132:

Don't bottleneck on acquiring the stream locks - this avoids a massive
drop off in throughput with large numbers of simultaneous reads

r205133:

fix compilation under ZIO_USE_UMA

r205134:

make UMA the default allocator for ZFS buffers - this avoids
a great deal of contention in kmem_alloc

r205231:

- reduce contention by breaking up ARC state locks in to 16 for data
  and 16 for metadata
- export L2ARC tunables as sysctls
- add several kstats to track L2ARC state more precisely
- avoid holding a contended lock when atomically incrementing a
  contended counter (no lock protection needed for atomics)

r205253:

use CACHE_LINE_SIZE instead of hardcoding 128 for lock pad

pointed out by Marius Nuennerich and jhb@

r205264:

- cache line align arcs_lock array (h/t Marius Nuennerich)
- fix ARCS_LOCK_PAD to use architecture defined CACHE_LINE_SIZE
- cache line align buf_hash_table ht_locks array

r205346:

The same code is used to import and to create pool.
The order of operations is the following:
1. Try to open vdev by remembered path and guid.
2. If 1 failed, try to find vdev which guid matches and ignore the path.
3. If 2 failed this means either that the vdev we're looking for is gone
   or that pool is being created and vdev doesn't contain proper guid yet.
   To be able to handle pool creation we open vdev by path anyway.

Because of 3 it is possible that we open wrong vdev on import which can lead to
confusions.

The solution for this is to check spa_load_state. On pool creation it will be
equal to SPA_LOAD_NONE and we can open vdev only by path immediately and if it
is not equal to SPA_LOAD_NONE we first open by path+guid and when that fails,
we open by guid. We no longer open wrong vdev on import.

r206051:

IOCPARM_MAX defines maximum size of a structure that can be passed
directly to ioctl(2). Because of how ioctl command is build using _IO*()
macros we have only 13 bits to encode structure size. So the structure
can be up to 8kB-1.

Currently we define IOCPARM_MAX as PAGE_SIZE.

This is IMHO wrong for three main reasons:

1. It is confusing on archs with page size larger than 8kB (not really
   sure if we support such archs (sparc64?)), as even if PAGE_SIZE is
   bigger than 8kB, we won't be able to encode anything larger in ioctl
   command.

2. It is a waste. Why the structure can be only 4kB on most archs if we
   have 13 bits dedicated for that, not 12?

3. It shouldn't depend on architecture and page size. My ioctl command
   can work on one arch, but can't on the other?

Increase IOCPARM_MAX to 8kB and make it independed of PAGE_SIZE and
architecture it is compiled for. This allows to use all the bits on all the
archs for size. Note that this doesn't mean we will copy more on every ioctl(2)
call. No. We still copyin(9)/copyout(9) only exact number of bytes encoded in
ioctl command.

Practical use for this change is ZFS. zfs_cmd_t structure used for ZFS
ioctls is larger than 4kB.

Silence on: arch@

r206667:

Fix 3-way deadlock that can happen because of ZFS and vnode lock
order reversal.

thread0 (vfs_fhtovp) thread1 (vop_getattr) thread2 (zfs_recv)
-------------------- --------------------- ------------------
vn_lock
rrw_enter_read
rrw_enter_write (hangs)
rrw_enter_read (hangs)
vn_lock (hangs)

Reported by: Attila Nagy <bra@fsn.hu>

r206792:

Set ARC_L2_WRITING on L2ARC header creation.

Obtained from: OpenSolaris

r206793:

Remove racy assertion.

Obtained from: OpenSolaris

r206794:

Extend locks scope to match OpenSolaris.

r206795:

Add missing list and lock destruction.

r206796:

Style fixes.

r206797:

Restore previous order.

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

14 years agoMFC r206665:
pjd [Sun, 18 Apr 2010 21:26:59 +0000 (21:26 +0000)]
MFC r206665:

Use lower priority for GELI worker threads. This improves system
responsiveness under heavy GELI load.

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

14 years agoMFC r206666:
pjd [Sun, 18 Apr 2010 21:24:23 +0000 (21:24 +0000)]
MFC r206666:

Flush disk write cache after storing and clearing metadata.

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

14 years agoMFC r204177,r205738,r206669,r206696,r206697:
pjd [Sun, 18 Apr 2010 21:18:32 +0000 (21:18 +0000)]
MFC r204177,r205738,r206669,r206696,r206697:

r204177:

Changing proto_socketpair.c compilation and linking order revealed
a problem - we should simply ignore proto_server() if address
doesn't start with socketpair://, and not abort.

r205738:

Don't hold connection lock when doing reconnects as it makes I/Os wait for
connection timeouts.

Reported by: Kevin Day <toasty@dragondata.com>

r206669:

Increase ggate queue size to maximum value.
HAST was not able to stand heavy random load.

Reported by: Hiroyuki Yamagami

r206696:

Fix control socket leak when worker process exits.

Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>

r206697:

Fix log size calculation which caused message truncation.

Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>

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

14 years agoMFC r204076,r204077,r204083,r205279:
pjd [Sun, 18 Apr 2010 21:14:49 +0000 (21:14 +0000)]
MFC r204076,r204077,r204083,r205279:

r204076:

Please welcome HAST - Highly Avalable Storage.

HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by: FreeBSD Foundation
Sponsored by: OMCnet Internet Service GmbH
Sponsored by: TransIP BV

r204077:

Remove some lines left over by accident.

r204083:

Add missing KEYWORD line.

Pointed out by: dougb

r205279 sys:

Simplify loops.

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

14 years agoMFC r202934:
trasz [Sun, 18 Apr 2010 20:34:46 +0000 (20:34 +0000)]
MFC r202934:

Move out code that does POSIX.1e ACL inheritance into separate routines.

Reviewed by: rwatson

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

14 years agoMFC r204075:
pjd [Sun, 18 Apr 2010 20:23:08 +0000 (20:23 +0000)]
MFC r204075:

Style nits.

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

14 years agoMFC r206160 by jh@:
trasz [Sun, 18 Apr 2010 19:51:46 +0000 (19:51 +0000)]
MFC r206160 by jh@:

Add missing MNT_NFS4ACLS.

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

14 years agoMFC r200829:
trasz [Sun, 18 Apr 2010 19:44:54 +0000 (19:44 +0000)]
MFC r200829:

Cosmetic fixes.

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

14 years agoMFC r200811:
trasz [Sun, 18 Apr 2010 19:40:52 +0000 (19:40 +0000)]
MFC r200811:

Add regression test for NFSv4 ACLs on UFS.

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

14 years agoMFC r200796:
trasz [Sun, 18 Apr 2010 19:21:08 +0000 (19:21 +0000)]
MFC r200796:

Implement NFSv4 ACL support for UFS.

Reviewed by: rwatson

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

14 years agoMFC r197867:
trasz [Sun, 18 Apr 2010 16:37:38 +0000 (16:37 +0000)]
MFC r197867:

Properly mark ZFS properties which are not changeable under FreeBSD.

Reviewed by: pjd

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

14 years agoMFC r197859:
trasz [Sun, 18 Apr 2010 16:36:38 +0000 (16:36 +0000)]
MFC r197859:

'aclmode' and 'aclinherit' properties should work as advertised; don't
refuse to set them.

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

14 years agoMFC r201118:
trasz [Sun, 18 Apr 2010 10:42:42 +0000 (10:42 +0000)]
MFC r201118:

Bump manual page dates.

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

14 years agoMFC r201114:
trasz [Sun, 18 Apr 2010 10:38:17 +0000 (10:38 +0000)]
MFC r201114:

Add references to termios-related stuff.

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

14 years agoMFC r201115:
trasz [Sun, 18 Apr 2010 10:36:49 +0000 (10:36 +0000)]
MFC r201115:

Line discipline support is gone; update tty(4) manual page to reflect this.

Reviewed by: ed

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

14 years agoMFC r205846:
trasz [Sun, 18 Apr 2010 10:29:26 +0000 (10:29 +0000)]
MFC r205846:

Fix references.

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

14 years agoMFC r206671:
kib [Sun, 18 Apr 2010 04:35:16 +0000 (04:35 +0000)]
MFC r206671:
Fix typo.

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

14 years agoMFC r206156, r206159, r206163: services_mkdb; generate db file
ume [Sun, 18 Apr 2010 04:15:21 +0000 (04:15 +0000)]
MFC r206156, r206159, r206163: services_mkdb; generate db file
from services(5) to increase speed of getserv*()

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

14 years agoMFC r206155, r206267: Add capability to use a db version of
ume [Sun, 18 Apr 2010 04:07:32 +0000 (04:07 +0000)]
MFC r206155, r206267: Add capability to use a db version of
services.  It is enabled by specifying `db' as source of
services in /etc/nsswitch.conf.

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

14 years agoMFC ir206152, r206153, r206154:
ume [Sun, 18 Apr 2010 03:52:41 +0000 (03:52 +0000)]
MFC ir206152, r206153, r206154:
- Stop adding trailing '\n'.  The servent_unpack() doesn't expect
  lines terminated with '\n'.
- Treat '+' as special only when in compat mode, and simplify
  the logic bit.
- Reduce duplicate code.

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

14 years agoRemap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
imp [Sun, 18 Apr 2010 01:15:47 +0000 (01:15 +0000)]
Remap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
option and not break 8.0 config files later in the 8.x branch.

# Yes, this is a direct commit, since this is not relevant to head.

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

14 years agoMFC r206664:
imp [Sun, 18 Apr 2010 00:57:30 +0000 (00:57 +0000)]
MFC r206664:
  Allow option aliasing.  Lines of the form:

  OLD_OPT = NEW_OPT

  in options* files will now map OLD_OPT to NEW_OPT with a friendly
  message.  This is indented for situations where we need to preserve an
  interface in the config file in an upwards compatible fashion on a
  stable branch.

  Reviewed by: nwhitehorn@
  MFC after: 3 days

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

14 years agoMFC r205140:
weongyo [Sat, 17 Apr 2010 23:48:07 +0000 (23:48 +0000)]
MFC r205140:
  fixes a broken software beacon miss handler.  There is a race to check
  vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task
  is enqueued by taskqueue.

  Reviewed by:  rpaulo

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

14 years agoMFC r202610:
weongyo [Sat, 17 Apr 2010 23:14:06 +0000 (23:14 +0000)]
MFC r202610:
  adds a hardware specific configuration file for uath(4).

  Pointed by:   sam
  Reviewed by:  imp, thompsa

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

14 years agoMFC r202607:
weongyo [Sat, 17 Apr 2010 23:04:42 +0000 (23:04 +0000)]
MFC r202607:
  Fixes a firmware bug that in some devices (e.g. Netgear WG111T or
  TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the
  firmware.

  Pointed by: Steven Friedrich <freebsd at insightbb.com>
  Submitted by: sam

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

14 years agoMFC r198195:
weongyo [Sat, 17 Apr 2010 22:57:07 +0000 (22:57 +0000)]
MFC r198195:
  adds devices supportted by urtw(4) and bumps date.

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

14 years agoMFC r197724:
weongyo [Sat, 17 Apr 2010 22:52:33 +0000 (22:52 +0000)]
MFC r197724:
  TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and
  adds a device to urtw(4).  The revision informations are as follows:

      rev A       ZD1211
      V2          SiS163U
      V2.1R       SiS163U
      V3.xR       RTL8187B

  and bump date.

  Obtained from: OpenBSD
  Reported by: Albert Shih <Albert.Shih at obspm.fr>

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

14 years agoMFC r206456:
rpaulo [Sat, 17 Apr 2010 17:40:12 +0000 (17:40 +0000)]
MFC r206456:
 Honor the CE bit even when the CWR bit is set.

 PR: 145600
 Submitted by: Richard Scheffenegger <rs at netapp.com>

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

14 years agoMFC r206130: g_vfs_open: allow only one mount per device vnode
avg [Sat, 17 Apr 2010 11:57:41 +0000 (11:57 +0000)]
MFC r206130: g_vfs_open: allow only one mount per device vnode

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

14 years agoMFC r206129: vn_stat: use va_blocksize when setting st_blksize
avg [Sat, 17 Apr 2010 11:25:30 +0000 (11:25 +0000)]
MFC r206129: vn_stat: use va_blocksize when setting st_blksize

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

14 years agoMFC r205860,206097: correctly set b_offset for getblk(devvp)
avg [Sat, 17 Apr 2010 11:06:42 +0000 (11:06 +0000)]
MFC r205860,206097: correctly set b_offset for getblk(devvp)

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

14 years agoMFC r206623:
kib [Sat, 17 Apr 2010 09:37:08 +0000 (09:37 +0000)]
MFC r206623:
ld_gs_base is executing with stack containing only the frame,
temporary pushed %rflags has been popped already.

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

14 years agoMFC r206557: Nuke the descriptions about ipv6_firewall_* as they
ume [Sat, 17 Apr 2010 04:54:38 +0000 (04:54 +0000)]
MFC r206557: Nuke the descriptions about ipv6_firewall_* as they
were unified into firewall_*.

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

14 years agoMFC of 206281
rrs [Sat, 17 Apr 2010 04:19:18 +0000 (04:19 +0000)]
MFC of  206281

Final MFC of all the IETF hack a-thon.. head and stable are
now in sync ;-)

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

14 years agoMFC of 206151
rrs [Sat, 17 Apr 2010 04:17:17 +0000 (04:17 +0000)]
MFC of  206151

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

14 years agoMFC of 206137
rrs [Sat, 17 Apr 2010 04:15:46 +0000 (04:15 +0000)]
MFC of 206137

This is Part III of the great IETF hack-a-thon to fix
the NR-Sack code. (the last one on the cpu options
was a lull.. i.e MFC 205629).. still 2 more to go.

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

14 years agoMFC of 205629
rrs [Sat, 17 Apr 2010 04:13:52 +0000 (04:13 +0000)]
MFC of 205629

Adds the option of seperating out the sctp stats per
processor. This will be refined further and is definetly
exploratory (which is why its an option) i.e. making it
allocate the actual number of processors is coming ;-D.

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

14 years agoMFC of 205628
rrs [Sat, 17 Apr 2010 04:11:45 +0000 (04:11 +0000)]
MFC of 205628

Out goes the nr_mapping_array expand.

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

14 years agoMFC of 205627
rrs [Sat, 17 Apr 2010 04:10:29 +0000 (04:10 +0000)]
MFC of 205627

Part II (more to follow) of the great IETF hack-a-thon to
fix the NR-Sack code.

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

14 years agoMFC of 204141
rrs [Sat, 17 Apr 2010 04:08:51 +0000 (04:08 +0000)]
MFC of 204141

Cleans up so we can have a vtag reflected argument.
One of Michaels fixes ;-)

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

14 years agoMFC of 204096
rrs [Sat, 17 Apr 2010 04:06:40 +0000 (04:06 +0000)]
MFC of 204096

One of Michaels changes to fix some sign issues and
some minor locking.

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

14 years agoMFD 204040
rrs [Sat, 17 Apr 2010 04:02:27 +0000 (04:02 +0000)]
MFD 204040

Fixes some argument calsl (u_long vs uint32_t).

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

14 years agoMFC of 203847
rrs [Sat, 17 Apr 2010 04:00:57 +0000 (04:00 +0000)]
MFC of 203847

Puts in missing packed declarations (from Michael). It worked
only because it was properly aligned anyway ;-)

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