]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r207842, r207844, r208099:
mm [Tue, 18 May 2010 09:59:09 +0000 (09:59 +0000)]
MFC r207842, r207844, r208099:

MFC r207842:
Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)

MFC r207844:
Add two public headers missing in r207842
Adjust CFLAGS for lzmainfo, xz, xzdec

MFC r208099:
Add versioned symbols to liblzma
Use default SHLIB_MAJOR.

Approved by: delphij (mentor)

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

14 years agoMFC r207626, r207627:
mm [Tue, 18 May 2010 07:45:27 +0000 (07:45 +0000)]
MFC r207626, r207627:

MFC r207626:
Speed up ZFS list operation with objset prefetching.

MFC r207627:
Enable "zfs list" to list explicitly requested snapshots.

OpenSolaris onnv revisions:
8415:8809e849f63e, 10474:0e96dd3b905a (partial)

PR: kern/146297
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6386929675833867553896847118)

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

14 years agoMFC r208077:
bz [Tue, 18 May 2010 04:21:50 +0000 (04:21 +0000)]
MFC r208077:
  Document the 'short preamble' capability for 802.11bg.

  Reviewed by: sam

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

14 years agoMFC r208100:
bz [Tue, 18 May 2010 04:20:35 +0000 (04:20 +0000)]
MFC r208100:
  Fix an issue with the dynamic pcpu/vnet data allocators.

  We cannot expect that modspace is the last entry in the linker
  set and thus that modspace + possible extra space up to PAGE_SIZE
  would be contiguous.  For the moment do not support more than
  *_MODMIN space and ignore the extra space.

Discussed with: jeff, rwatson (briefly)
Reviewed by: jeff
Sponsored by: The FreeBSD Foundation
Sponsored by: CK Software GmbH

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

14 years agoMFC r208023
thompsa [Tue, 18 May 2010 03:16:02 +0000 (03:16 +0000)]
MFC r208023

 Use fixed width integer types for parsing the binary hid data.

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

14 years agoMFC r208089:
dougb [Tue, 18 May 2010 02:22:08 +0000 (02:22 +0000)]
MFC r208089:

Remove duplicate

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

14 years agoMFC r208088:
dougb [Tue, 18 May 2010 02:17:40 +0000 (02:17 +0000)]
MFC r208088:

Hide the creation and population of the temproot

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

14 years agoMFC r204738, r205113 (imp):
mm [Tue, 18 May 2010 00:46:15 +0000 (00:46 +0000)]
MFC r204738, r205113 (imp):

MFC r204738:
Remove stale references to libkrb5.
Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend
on something else, and then SUBDIR+= the rest.

MFC r205113:
Make this conform to the other top-level Makefile subdir listings with
one file per line.

Approved by: delphij (mentor)

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

14 years agoAdjust svn:mergeinfo for revision 204546. This commit moves mergeinfo to
delphij [Tue, 18 May 2010 00:37:32 +0000 (00:37 +0000)]
Adjust svn:mergeinfo for revision 204546.  This commit moves mergeinfo to
lib/ and removes mergeinfo on individual file.

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

14 years agoMFC r207630
delphij [Tue, 18 May 2010 00:32:02 +0000 (00:32 +0000)]
MFC r207630

Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules
available, they were removed due to NEEDSGIANT.

While I'm there, add if_et which was missed quite a while ago.

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

14 years agoMFC r203773
thompsa [Mon, 17 May 2010 23:59:14 +0000 (23:59 +0000)]
MFC r203773

 Within libusb 0.1 API, bus number is always faked to 0. Device numbers,
 however, are possitive and seem to be reverse sorted in the list.

 Conform device numbering and bring a result that is consistent with the
 libusb 0.1 API.  It is now possible to distinguish a device based on its
 (bus, dev) numbers.

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

14 years agoMFC r208012
thompsa [Mon, 17 May 2010 23:57:34 +0000 (23:57 +0000)]
MFC r208012

 Support getting signed and unsigned HID data.

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

14 years agoMFC r208021
thompsa [Mon, 17 May 2010 23:56:17 +0000 (23:56 +0000)]
MFC r208021

 Fix return values for usb_find_busses() and usb_find_devices(). We should try
 to return the actual number of busses and devices.

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

14 years agoMFC r208020
thompsa [Mon, 17 May 2010 23:55:23 +0000 (23:55 +0000)]
MFC r208020

 Fix header file compliancy with libusb 1.0 from sourceforge.

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

14 years agoMFC r208048
thompsa [Mon, 17 May 2010 23:52:33 +0000 (23:52 +0000)]
MFC r208048

 Allow the USB_REQ_DEBUG to be enabled in the kernel conf.

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

14 years agoMFC r208019
thompsa [Mon, 17 May 2010 23:51:57 +0000 (23:51 +0000)]
MFC r208019

 Sync run(4) driver from author's site.

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

14 years agoMFC r208018
thompsa [Mon, 17 May 2010 23:51:20 +0000 (23:51 +0000)]
MFC r208018

 Reduce diffs to p4.

  Add test code for delaying or failing usb control requests, disabled by
  default under ifdef USB_REQ_DEBUG.

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

14 years agoMFC r208017
thompsa [Mon, 17 May 2010 23:50:46 +0000 (23:50 +0000)]
MFC r208017

 Fix possibly wrong bit masking.

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

14 years agoMFC r208016
thompsa [Mon, 17 May 2010 23:50:10 +0000 (23:50 +0000)]
MFC r208016

 Add new FTDI USB device ID.

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

14 years agoMFC r208015
thompsa [Mon, 17 May 2010 23:49:31 +0000 (23:49 +0000)]
MFC r208015

 Increase the max ports to 12, 3G devices exist where the ppp endpoint is #9.

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

14 years agoMFC r208014
thompsa [Mon, 17 May 2010 23:48:51 +0000 (23:48 +0000)]
MFC r208014

 Back out r203140 which was causing problems when the first and the last
 microframe slot was not in the smask. The problem was that the EHCI driver was
 then thinking that the transfer was immediately complete in some cases. Which
 could lead to freeze-like situations, which can be recovered by unplugging the
 USB device.

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

14 years agoMFC r208013
thompsa [Mon, 17 May 2010 23:48:03 +0000 (23:48 +0000)]
MFC r208013

 Add missing ifdefs for usb power saving support.

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

14 years agoMFC r208011
thompsa [Mon, 17 May 2010 23:47:24 +0000 (23:47 +0000)]
MFC r208011

 Add the ASUS MyPal A730W device id.

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

14 years agoMFC r208010
thompsa [Mon, 17 May 2010 23:46:45 +0000 (23:46 +0000)]
MFC r208010

 Provide more information about the device location in the USB system.

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

14 years agoMFC r208009
thompsa [Mon, 17 May 2010 23:46:08 +0000 (23:46 +0000)]
MFC r208009

 Enable support for mouse panning wheels.

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

14 years agoMFC r208008
thompsa [Mon, 17 May 2010 23:45:31 +0000 (23:45 +0000)]
MFC r208008

 If a USB device is suspended and a USB set config request is issued when the
 USB enumeration lock is locked, then the USB stack fails to resume the device
 because locking the USB enumeration lock is part of the resume procedure. To
 solve this issue a new lock is introduced which only protects the suspend and
 resume callbacks, which can be dropped inside the usbd_do_request_flags()
 function, to allow suspend and resume during so-called enumeration operations.

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

14 years agoMFC r208007
thompsa [Mon, 17 May 2010 23:44:52 +0000 (23:44 +0000)]
MFC r208007

 Staticise usb_ref_device and usb_unref_device.

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

14 years agoMFC r208006
thompsa [Mon, 17 May 2010 23:44:18 +0000 (23:44 +0000)]
MFC r208006

 Add quirks for the Alcor SDCR_6362 Card Reader, Freecom HDD storage device and
 Samsung YP_U4 music player.

PR: usb/145265, usb/146104

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

14 years agoMFC r207404
thompsa [Mon, 17 May 2010 23:43:41 +0000 (23:43 +0000)]
MFC r207404

 usb_controller.c requires opt_ddb.h

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

14 years agoMFC r206638
thompsa [Mon, 17 May 2010 23:43:07 +0000 (23:43 +0000)]
MFC r206638

 Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a local
 (almost identically named) local #define.

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

14 years agoMFC r206595
thompsa [Mon, 17 May 2010 23:42:29 +0000 (23:42 +0000)]
MFC r206595

 Eliminate duplicate comment

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

14 years agoMFC r206544
thompsa [Mon, 17 May 2010 23:41:51 +0000 (23:41 +0000)]
MFC r206544

 The Quanta Q101 modem has a different type of cdrom driver disk,
 add the product id and use a standard scsi eject.

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

14 years agoMFC r203148
thompsa [Mon, 17 May 2010 23:41:06 +0000 (23:41 +0000)]
MFC r203148

 Uuencode the rt2870 firmware into ascii like the other firmware blobs.

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

14 years agoMFC r208030:
trasz [Mon, 17 May 2010 17:56:27 +0000 (17:56 +0000)]
MFC r208030:

Add missing check to prevent local users from panicing the kernel by trying
to set malformed ACL.

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

14 years agoMFC r207971:
yongari [Mon, 17 May 2010 17:17:57 +0000 (17:17 +0000)]
MFC r207971:
  Document undocumented tunables and sysctl variables.
  While here use actual string to specify width as well as using Cm
  to set command argument.

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

14 years agoMFC r207853:
yongari [Mon, 17 May 2010 17:16:12 +0000 (17:16 +0000)]
MFC r207853:
  Now sge(4) supports TCP segmentation offload (TSO).

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

14 years agoMFC r207852:
yongari [Mon, 17 May 2010 17:12:35 +0000 (17:12 +0000)]
MFC r207852:
  SiS190 supports RX 10 bytes padding, CRC stripping as well as VLAN
  hardware tag insertion/stripping. Remove conditional code that
  disables these hardware features on SiS190. Also nuke RX fixup code
  which is no more required on strict-alignment architectures because
  SiS190 supports RX 10 bytes padding.
  Now all hardware features except jumbo frame and WOL are supported.
  Thanks to Masa Murayama who confirmed SiS190 also has the same
  hardware features of SiS191.
  I guess the only difference between SiS191 and SiS190 would be
  jumbo frame support. It will be implemented in near future.

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

14 years agoMFC r207851:
yongari [Mon, 17 May 2010 17:02:42 +0000 (17:02 +0000)]
MFC r207851:
  Implement TSO and TSO over VLAN. Increase number of allowed
  fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB
  sized packet which in turn requires long list of mbuf chain. Due to
  lack of documentation, I'm not sure whether driver have to pull up
  ethernet/IP/TCP header with options to make controller work but
  driver have to parse TCP header to update pseudo TCP checksum
  anyway. The controller expects pseudo TCP checksum computed by
  upper stack and the checksum should follow the MS NDIS
  specification to make TSO work.

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

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

14 years agoMFC r207832:
yongari [Mon, 17 May 2010 16:57:55 +0000 (16:57 +0000)]
MFC r207832:
  Export hardware MAC statistics through sysctl node. Previously
  fxp(4) already used to extract most hardware MAC statistics but it
  didn't show them. With this change, all MAC statistics counters
  are exported. Because there are a couple of new counters for 82558
  and 82559, enable extended MAC statistics functionality to get
  these counters. Accoring to public data sheet, 82559 MAC statistics
  return 24 DWORD counters(3 counters are unknown at this moment) so
  increase MAC counter structure to meet the MAC statistics block size.
  The completion of MAC counter dump is now checked against
  FXP_STATS_DR_COMPLETE status code which is appended at the end of
  status block. Previously fxp(4) ignored the status of the
  FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the
  completion of pending command before issuing
  FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try
  it next time. This scheme may show better performance but there is
  chance to loose updated counters after stopping controller. So make
  sure to update MAC statistics in fxp_stop().
  While I'm here move sysctl node creation to fxp_sysctl_node().

  Tested by: Larry Baird < lab <> gta dot com >

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

14 years agoMFC r207750:
yongari [Mon, 17 May 2010 16:47:25 +0000 (16:47 +0000)]
MFC r207750:
  8255x configure command requires number of bytes of configuration
  table. The default size of the configuration table was 22 bytes. To
  use extended feature of 82550/82551 the configuration table size
  was expanded to 32 bytes. The added configuration for 82550/82551
  specifies VLAN hardware tagging and IPSec configuration as well as
  TCO.
  To make configuration easier fxp(4) used a configuration template
  and the template was copied to configuration table. After that,
  some parameters of the configuration table was changed depending on
  controller type and operation mode. However the size of template
  was 22 bytes so some configuration parameters were not properly
  initialized on 82550/82551.
  Fix this by increasing the template size. For 82557, 82558 and
  82559 the size of the configuration is still 22 bytes.

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

14 years agoMFC: Locks SPTREE when setting some SP entries to state DEAD.
vanhu [Mon, 17 May 2010 15:31:24 +0000 (15:31 +0000)]
MFC: Locks SPTREE when setting some SP entries to state DEAD.
This can prevent kernel panics when updating SPs while there is
some traffic for them.

Obtained from: NETASQ

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

14 years agoMFC r207553, r207555, r207651:
mm [Mon, 17 May 2010 14:27:40 +0000 (14:27 +0000)]
MFC r207553, r207555, r207651:

Implement the no_user_check option to pam_krb5.

This option is available in the Linux implementation of pam_krb5
and allows to authorize a user not known to the local system.

Ccache is not used as we don't have a secure uid/gid for the cache file.

Usable for authentication of external kerberos users (e.g Active Directory)
via PAM from applications like Cyrus saslauthd, PHP or perl.

PR: bin/146186
Approved by: deplhij (mentor)

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

14 years agoSince sometimes developer activity the week before a code freeze starts causes
kensmith [Mon, 17 May 2010 14:20:26 +0000 (14:20 +0000)]
Since sometimes developer activity the week before a code freeze starts causes
the stable branch to be a little less reliable than normal mark the stable/8
branch as 8.1-PRERELEASE to warn users.

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

14 years agoMFC r207848:
kib [Mon, 17 May 2010 08:15:04 +0000 (08:15 +0000)]
MFC r207848:
The thread_unsuspend() requires both process mutex and process spinlock
locked. Postpone the process unlock till the thread_unsuspend() is called.

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

14 years agoMFC r207847:
kib [Mon, 17 May 2010 08:11:23 +0000 (08:11 +0000)]
MFC r207847:
For detach procfs ctl command, also clear P_STOPPED_TRACE process stop
flag, and for each thread, TDB_SUSPEND debug flag, same as it is done by
exit1() for orphaned debugee.

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

14 years agoMFC: r207785
rmacklem [Mon, 17 May 2010 02:01:22 +0000 (02:01 +0000)]
MFC: r207785
Fix typos in macros.

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

14 years agoMFC: r207764
rmacklem [Mon, 17 May 2010 01:41:11 +0000 (01:41 +0000)]
MFC: r207764
Patch the experimental NFS client so that it works for NFSv2
by adding the necessary mapping from NFSv3 procedure numbers
to NFSv2 procedure numbers when doing NFSv2 RPCs.

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

14 years agoMFC: r207689
rmacklem [Mon, 17 May 2010 01:18:12 +0000 (01:18 +0000)]
MFC: r207689
If the "-alldirs" export option was used for the V4: line, mountd
would crash in check_options() since dp == NULL for the V4: line.
This patch moves the check for options allowed on the V4: line to
ahead of where dp is used to avoid this crash.

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

14 years agoMFC r207944: sh: Fix pathname expansion with quoted slashes like *\/.
jilles [Sun, 16 May 2010 22:52:51 +0000 (22:52 +0000)]
MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/.

These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and
d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4 in dash.

Because this is the first code I'm importing from dash to expand.c, add the
Herbert Xu copyright notice which is in dash's expand.c.

When pathname expanding *\/, the CTLESC representing the quoted state was
erroneously taken as part of the * pathname component. This CTLESC was then
seen by the pattern matching code as escaping the '\0' terminating the
string.

The code is slightly different because dash converts the CTLESC characters
to backslashes and removes all the other CTL* characters to allow
substituting glob(3).

The effect of the bug was also slightly different from dash (where nothing
matched at all). Because a CTLESC can escape a '\0' in some way, whether
files were included despite the bug depended on memory that should not be
read. In particular, on many machines /*\/ expanded to a strict subset of
what /*/ expanded to.

Example:
  echo /*"/null"

This should print /dev/null, not /*/null.

PR: bin/146378
Obtained from: dash

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

14 years agoMFC 207985
rrs [Sun, 16 May 2010 16:52:56 +0000 (16:52 +0000)]
MFC 207985

 Fix an old long time bug in generating a
 fwd-tsn. This would appear when greater than
 the size of mbuf TSN's would need to be skipped.

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

14 years agoMFC 207983
rrs [Sun, 16 May 2010 16:51:44 +0000 (16:51 +0000)]
MFC 207983

 More PR-SCTP bugs:
   - Make sure that when you kick the streams you add correctly
     using a 16 bit unsigned.
   - Make sure when sending out you allow FWD-TSN to skip over
     and list the ACKED chunks in the stream/seq list (so the
     rcv will kick the stream)

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

14 years agoMFC 207966 (for Michael)
rrs [Sun, 16 May 2010 16:50:33 +0000 (16:50 +0000)]
MFC 207966 (for Michael)

Get rid of unused constants.

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

14 years agoMFC of 207963
rrs [Sun, 16 May 2010 16:45:49 +0000 (16:45 +0000)]
MFC of 207963

 This fixes PR-SCTP issues:
  - Slide the map at the proper place.
  - Mark the bits in the nr_array ONLY if there
    is no marking.
  - When generating a FWD-TSN we allow us to skip past
    ACKED chunks too.

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

14 years agoMFC of 207924:
rrs [Sun, 16 May 2010 16:42:52 +0000 (16:42 +0000)]
MFC of 207924:

This fixes a bug with the one-2-one model socket when a
user sets up a socket to a server sends data and closes
the socket before the server has called accept(). It used
to NOT work at all. Now we add a flag to the assoc and
defer assoc cleanup so that the accept will succeed

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

14 years agoMFC r208036:
zec [Sun, 16 May 2010 14:53:43 +0000 (14:53 +0000)]
MFC r208036:

  Increase the target buffer for performing NGM_ASCII2BINARY conversion
  from 2000 bytes to 20 Kbytes, which now matches the buffer size used for
  NGM_BINARY2ASCII conversions.

  The aim of this change is to allow for bigger binary structures to be
  managed via netgraph ASCII messages, until we come up with an API
  improvement which would get rid of such arbitrary hardcoded limits.

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

14 years agoMFC r207680:
zec [Sun, 16 May 2010 14:51:36 +0000 (14:51 +0000)]
MFC r207680:

  Add an optional "persistent" flag to ng_hub and ng_bridge, which if set,
  disables automatic node shutdown when the last hook gets disconnected.

  Reviewed by:  julian

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

14 years agoMFC r207817: builtin(1): sh has no @ builtin command.
jilles [Sun, 16 May 2010 11:06:32 +0000 (11:06 +0000)]
MFC r207817: builtin(1): sh has no @ builtin command.

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

14 years agoMFC r207816: Document clock and pshared condvar attributes.
jilles [Sun, 16 May 2010 11:03:46 +0000 (11:03 +0000)]
MFC r207816: Document clock and pshared condvar attributes.

Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the difference of the current and given value of the
clock as if it were CLOCK_MONOTONIC. So document only CLOCK_REALTIME and
CLOCK_MONOTONIC as allowed.

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

14 years agoMerge r199631: Handle current work directories of arbitrary length.
stefanf [Sun, 16 May 2010 10:01:06 +0000 (10:01 +0000)]
Merge r199631: Handle current work directories of arbitrary length.

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

14 years agoMFC r207935: sh: Add some simple testcases for pathname expansion.
jilles [Sat, 15 May 2010 12:51:22 +0000 (12:51 +0000)]
MFC r207935: sh: Add some simple testcases for pathname expansion.

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

14 years agoMFC r207821: Generate some tests for sh's case command
jilles [Sat, 15 May 2010 12:42:07 +0000 (12:42 +0000)]
MFC r207821: Generate some tests for sh's case command
from the fnmatch tests.

I'm committing the generated files because I don't like a build dependency
for the sh(1) tests, and they are small and will not change much.

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

14 years agoMFC r207481, r207956:
mm [Sat, 15 May 2010 07:07:38 +0000 (07:07 +0000)]
MFC r207481, r207956:

MFC r207481 [1]:
Add sysctl and loader tunable vfs.zfs.txg.write_limit_override.
This tunable improves fine-tuning of ZFS write throttling.

MFC r207956 [2]:
Fix possible hang when replaying large truncations.
OpenSolaris onnv revision: 7904:6a124a4ca9c5

PR: kern/146108 [1]
Suggested by: Nikolay Denev <ndenev at gmail.com> [1]
Obtained from: OpenSolaris (Bug ID 6761624) [2]
Approved by: pjd, delphij (mentor)

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

14 years agoMissing fix in lem code to limit WOL to MAGIC,
jfv [Fri, 14 May 2010 22:20:58 +0000 (22:20 +0000)]
Missing fix in lem code to limit WOL to MAGIC,
and made code backward compatible to 7.3 with
conditionals around the buf_ring_free call.

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

14 years agoMFC 208060:
dougb [Fri, 14 May 2010 19:28:16 +0000 (19:28 +0000)]
MFC 208060:

Remove trailing white space. No functional changes.

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

14 years agoMFC: r207885
marius [Fri, 14 May 2010 19:18:07 +0000 (19:18 +0000)]
MFC: r207885

Include <machine/ofw_machdep.h> for OF_getscsinitid().

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

14 years agoMFC: r207586
marius [Fri, 14 May 2010 19:15:51 +0000 (19:15 +0000)]
MFC: r207586

Sun GigaSwift Ethernet 1.0 MMF work with r207585 (MFC'ed to stable/8 in
r208086) in place.

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

14 years agoMFC: r207585
marius [Fri, 14 May 2010 19:11:41 +0000 (19:11 +0000)]
MFC: r207585

- Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES
  on Cassini using the external PCS SERDES otherwise unaligned access
  traps and other strange effects happen with some machines. Don't touch
  the MIF which is unused in that case either. These changes require the
  PHY type to use to be determined via the OFW device tree or from the
  VPD in machines without the former.
- Disable the SERDES pins of Saturn when not used in order to save power
  and ensure they are enabled otherwise.
- In cas_attach() use the correct register offset for CAS_PCS_CONF_EN.
- Add some bus space barriers missing in the PCS code path.

These changes make the Sun GigaSwift Ethernet 1.0 MMF cards as well as
the on-board interfaces found in Sun Fire B100s Blade Server work.

PR: 144867

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

14 years agoMFC r207761 partially:
fabient [Fri, 14 May 2010 13:48:11 +0000 (13:48 +0000)]
MFC r207761 partially:
 Add a fastpath to allocate from packet zone when using m_getjcl.
 This will add support for packet zone for at least igb and ixgbe.

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

14 years agoMFC r207755:
fabient [Fri, 14 May 2010 13:42:17 +0000 (13:42 +0000)]
MFC r207755:
Rework the calltree top view by critical callchain.
The percentage shown is the sum of the cost for the codepath.

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

14 years agoMFC r207453:
ed [Fri, 14 May 2010 12:34:06 +0000 (12:34 +0000)]
MFC r207453:

  Remove WNOHANG flag from wait3().

  Because script(1) now reliably terminates when the TTY is closed, it may
  be the case that the call to wait3() occurs just before the child
  process exits. This causes error codes to be ignored.

  Just change script(1) to use waitpid() instead of wait3(). This makes it
  more portable and prevents the need for a loop, since waitpid() only
  returns a specified process.

PR:           bin/146189
Tested by:    amdmi3@, older version

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

14 years agoMFC r207910:
mm [Fri, 14 May 2010 09:57:10 +0000 (09:57 +0000)]
MFC r207910:
(cddl/contrib/opensolaris part)

Fix possible panic with zfs destroy.
OpenSolaris onnv revision: 8779:f164e0e90508

PR: kern/146471
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6784924)

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

14 years agoMFC r207909, r207910, r207911:
mm [Fri, 14 May 2010 09:50:28 +0000 (09:50 +0000)]
MFC r207909, r207910, r207911:

MFC r207909:
Fix zfs rename (may occasionally fail with dataset busy).
OpenSolaris onnv revision: 8517:41a0783dde17

MFC r207910:
Fix possible panic with zfs destroy.
OpenSolaris onnv revision: 8779:f164e0e90508

MFC r207911:
Fix failed assertion on destroying datasets from an older pool version.
OpenSolaris onnv revision: 9390:887948510f80

PR: kern/146471
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 678475767849246826861)

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

14 years agoMFC r207908:
mm [Fri, 14 May 2010 09:06:49 +0000 (09:06 +0000)]
MFC r207908:

Fix endianess bug in ZFS intent log (ZIL).

OpenSolaris onnv revision: 8109:6147a1bdd359

Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6760048)

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

14 years agoMFC r207427:
mm [Fri, 14 May 2010 09:00:29 +0000 (09:00 +0000)]
MFC r207427:

Fix improper pool write throughput calculation.

OpenSolaris onnv revision: 9366:17553395a745

PR: kern/146108
Obtained from: OpenSolaris (Bug ID 6817339)
Approved by: pjd, delphij (mentor)

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

14 years agoMFC r206878, r206897, r207921:
attilio [Fri, 14 May 2010 01:43:13 +0000 (01:43 +0000)]
MFC r206878, r206897, r207921:
Fix a deadlock in the shutdown code when some CPUs are performing
smp_rendezvous() (or smp_tlb_shootdown()) and are waiting for
acknowledgment.

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

14 years agoMFC r205099-205100,205108:
delphij [Thu, 13 May 2010 23:28:20 +0000 (23:28 +0000)]
MFC r205099-205100,205108:

Two optimizations to MI strlen(3) inspired by David S. Miller's
blog posting [1].

 - Use word-sized test for unaligned pointer before working
   the hard way.

   Memory page boundary is always integral multiple of a word
   alignment boundary.  Therefore, if we can access memory
   referenced by pointer p, then (p & ~word mask) must be also
   accessible.

 - Better utilization of multi-issue processor's ability of
   concurrency.

   The previous implementation utilized a formular that must be
   executed sequentially.  However, the ~, & and - operations can
   actually be caculated at the same time when the operand were
   different and unrelated.

   The original Hacker's Delight formular also offered consistent
   performance regardless whether the input would contain
   characters with their highest-bit set, as it catches real
   nul characters only.

These two optimizations has shown further improvements over the
previous implementation on microbenchmarks on i386 and amd64 CPU
including Pentium 4, Core Duo 2 and i7.

[1] http://vger.kernel.org/~davem/cgi-bin/blog.cgi/2010/03/08#strlen_1

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

14 years agoMFC r206814 (by alc):
kib [Thu, 13 May 2010 20:31:24 +0000 (20:31 +0000)]
MFC r206814 (by alc):
Remove a nonsensical test from vm_pageout_clean().  A page can't be in the
inactive queue and have a non-zero wire count.

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

14 years agoMFC elimination of several settings of PG_REFERENCED bit, that either
kib [Thu, 13 May 2010 20:26:16 +0000 (20:26 +0000)]
MFC elimination of several settings of PG_REFERENCED bit, that either
do not make sense or are harmful.

MFC r206761 (by alc):
Setting PG_REFERENCED on the requested page in swap_pager_getpages() is
either redundant or harmful, depending on the caller.

MFC r206768 (by alc):
In vm_object_backing_scan(), setting PG_REFERENCED on a page before
sleeping on that page is nonsensical.

MFC r206770 (by alc):
In vm_object_madvise() setting PG_REFERENCED on a page before sleeping on
that page only makes sense if the advice is MADV_WILLNEED.

MFC r206801 (by alc):
There is no justification for vm_object_split() setting PG_REFERENCED on a
page that it is going to sleep on.

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

14 years agoMFC r207365:
kib [Thu, 13 May 2010 18:17:01 +0000 (18:17 +0000)]
MFC r207365:
When doing kstack swapin, read as much pages in one run as possible.

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

14 years agoMFC r206545 (by alc):
kib [Thu, 13 May 2010 18:12:44 +0000 (18:12 +0000)]
MFC r206545 (by alc):
Simplify vm_thread_swapin().

Approved by: alc

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

14 years agoMFC r207639, r207643, r207687, r207688
np [Thu, 13 May 2010 17:45:32 +0000 (17:45 +0000)]
MFC r207639, r207643, r207687, r207688

r207639: Add IFCAP_LINKSTATE to cxgb
r207643: T3 hardware filters + cxgbtool interface to this functionality.
r207687: if_cxgb should not depend on the T3 firmware module directly.
r207688: various doorbell adjustments

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

14 years agoMFC r206143,r206148,r206149,r206167,r206491,r206817,r207127,r207824
jilles [Thu, 13 May 2010 17:22:00 +0000 (17:22 +0000)]
MFC r206143,r206148,r206149,r206167,r206491,r206817,r207127,r207824
Various testcases that work correctly with stable/8 sh.

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

14 years agoMFC r207734: sigaltstack(2): document some modernizations:
jilles [Thu, 13 May 2010 15:44:49 +0000 (15:44 +0000)]
MFC r207734: sigaltstack(2): document some modernizations:
* un-document 'struct sigaltstack' tag for stack_t as this is BSD-specific;
  this doesn't seem useful enough to document as such
* alternate stacks are per thread, not per process
* update error codes to what the kernel does and POSIX requires

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

14 years agoMFC r207364:
kib [Thu, 13 May 2010 09:26:31 +0000 (09:26 +0000)]
MFC r207364:
In swap pager, do not free the non-requested pages from the run if they are
wired. Kstack pages are wired, this change prepares swap pager for handling
of long runs of kstack pages.

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

14 years agoMFC r203757:
jh [Wed, 12 May 2010 17:22:11 +0000 (17:22 +0000)]
MFC r203757:

- Remove reference to nfs4. mount_nfs4(8) was removed in r192578.
- Add newnfs.

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

14 years agoMFC r207763:
yongari [Wed, 12 May 2010 17:18:07 +0000 (17:18 +0000)]
MFC r207763:
  Don't change PCIe maximum read request size to 2048 on RTL810x
  controllers. It caused device timeouts.

  Reported by: McLone < mclone <> gmail dot com >
  Tested by: McLone < mclone <> gmail dot com >

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

14 years agoMFC r207748:
yongari [Wed, 12 May 2010 17:07:19 +0000 (17:07 +0000)]
MFC r207748:
  It seems controller has two types of promiscuous control, one for
  unicast and the other for multicast. To receive multicast frames
  that host didn't join in promiscuous mode, driver have to set
  promiscuous mode for multicast frames as well.
  The Open Source Software Developer Manual for i8255x was not clear
  how to handle promiscuous mode.

  PR: kern/145905

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

14 years agoMFC:
vanhu [Wed, 12 May 2010 11:49:15 +0000 (11:49 +0000)]
MFC:
Set/update SA's NAT-T stuff before calling key_mature() in
key_add() and key_update(), as the SA may be used as soon as
key_mature() has been called

Obtained from: NETASQ

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

14 years agoMFC r207676:
kib [Wed, 12 May 2010 09:34:10 +0000 (09:34 +0000)]
MFC r207676:
Add definitions for Intel AESNI CPUID bits and print the capabilities
on boot.

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

14 years agoMFC r205622:
delphij [Tue, 11 May 2010 19:25:13 +0000 (19:25 +0000)]
MFC r205622:

Expose MACHINE_CPU while building lib32 target.

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

14 years agoMFC r207709:
bschmidt [Tue, 11 May 2010 17:21:54 +0000 (17:21 +0000)]
MFC r207709:
Add a workaround for a bug in the firmware regarding the transition
from passive to active scans. Basicly disable it by increasing the
amount packets to be received to an amount which can't be reached
during dwell times.

Approved by: rpaulo (mentor)

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

14 years agoMFC r207604:
kib [Tue, 11 May 2010 13:39:37 +0000 (13:39 +0000)]
MFC r207604:
Document RUSAGE_THREAD.

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

14 years agoMFC r207605:
kib [Tue, 11 May 2010 13:35:35 +0000 (13:35 +0000)]
MFC r207605:
Remove a comment that merely repeats code.

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

14 years agoMFC r207603
kib [Tue, 11 May 2010 13:33:37 +0000 (13:33 +0000)]
MFC r207603
Use td_rux.rux_runtime for ki_runtime instead of redoing calculation.

MFC r207659:
Fix a mistake in r207603. td_rux.rux_runtime still needs conversion.

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

14 years agoMFC r207468:
kib [Tue, 11 May 2010 13:18:41 +0000 (13:18 +0000)]
MFC r207468:
Extract thread_lock()/ruxagg()/thread_unlock() fragment into utility
function ruxagg_tlock().
Convert the definition of kern_getrusage() to ANSI C.

MFC r207602:
Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and ticks
information for thread to allow calcru1() (re)use.

Rename ruxagg()->ruxagg_locked(), ruxagg_tlock()->ruxagg() [1].
The ruxagg_locked() function no longer clears thread ticks nor
td_incruntime.

Not an MFC: the td_rux is added to the end of struct thread to keep
the KBI. Explicit bzero() of td_rux is added to new thread initialization
points.

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

14 years agoMFC r207600:
kib [Tue, 11 May 2010 12:07:40 +0000 (12:07 +0000)]
MFC r207600:
Move definition of struct rusage_ext before struct thread.

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

14 years agoMFC r207268:
kib [Tue, 11 May 2010 11:53:10 +0000 (11:53 +0000)]
MFC r207268:
Provide 32bit compat for SIOCGDEFIFACE_IN6.

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

14 years agoMFC r206548:
kib [Tue, 11 May 2010 11:22:18 +0000 (11:22 +0000)]
MFC r206548:
Update the list of the process flags for P_WKILLED.

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

14 years agoMFC r206367, r206358, r206370, r206371, r206372, r206398, r206415,
rpaulo [Tue, 11 May 2010 11:08:15 +0000 (11:08 +0000)]
MFC r206367, r206358, r206370, r206371, r206372, r206398, r206415,
    r206416, r206417, r206418, r206418:

net80211 ratectl framework.

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

14 years agoMFC r207624:
mm [Tue, 11 May 2010 07:02:29 +0000 (07:02 +0000)]
MFC r207624:

Fix deadlock during zfs receive.

OpenSolaris onnv revision: 9299:8809e849f63e

PR: kern/146296
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 67838186826836)

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