]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
12 years agoMFC r232638
thompsa [Sat, 26 May 2012 08:23:26 +0000 (08:23 +0000)]
MFC r232638

  Fix typo in lagg options.

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

12 years agoMFC r234488
thompsa [Sat, 26 May 2012 08:02:45 +0000 (08:02 +0000)]
MFC r234488

 Move the interface media check to a taskqueue, some interfaces (usb) sleep
 during SIOCGIFMEDIA and we were holding locks.

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

12 years agoMFC r234487
thompsa [Sat, 26 May 2012 08:02:13 +0000 (08:02 +0000)]
MFC r234487

 Add linkstate to bridge(4), set the link to up when at least one underlying
 interface is up, otherwise the link is down.

 This, among other things, allows carp to work on a bridge.

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

12 years agoMFC r234163
thompsa [Sat, 26 May 2012 08:00:34 +0000 (08:00 +0000)]
MFC r234163

 Set the proto to LAGG_PROTO_NONE before calling the detach routine so packets
 are discarded, this is an issue because lacp drops the lock which may allow
 network threads to access freed memory. Expand the lock coverage so the
 detach/attach happen atomically.

Submitted by: Andrew Boyer (earlier version)

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

12 years agoMFC r232629,r232640
thompsa [Sat, 26 May 2012 07:59:56 +0000 (07:59 +0000)]
MFC r232629,r232640

  Add the ability to set which packet layers are used for the load balance hash
  calculation.

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

12 years agoMFC r232118
thompsa [Sat, 26 May 2012 07:58:58 +0000 (07:58 +0000)]
MFC r232118

 Only look for a usable MAC address for the bridge ID from ports within our
 bridge, this allows us to have more than one independent bridge in the same
 STP domain.

PR: kern/164369
Submitted by: Nikos Vassiliadis (earlier version)

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

12 years agoMFC r232014,r232030,r232070
thompsa [Sat, 26 May 2012 07:58:12 +0000 (07:58 +0000)]
MFC r232014,r232030,r232070

- bstp_input() always consumes the packet so remove the mbuf handling dance
  around it.
- Now that network interfaces advertise if they support linkstate notifications
  we do not need to perform a media ioctl every 15 seconds.
- Indicate this function decrements the timer as well as testing for expiry.

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

12 years agoMFC r227342
rstone [Fri, 25 May 2012 23:24:16 +0000 (23:24 +0000)]
MFC r227342

 The in-kernel CTF parser caches the result of its first attempt to parse
 CTF data from a module.  On subsequent attempts to retrieve CTF data for
 a module, return an error if there no CTF data.

 This fixes a panic if you try to enable fbt probes on a module without CTF
 data twice.

Submitted by: Paul Ambrose (ambrosehua AT gmail DOT com)

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

12 years agoMFC: r212804
marius [Fri, 25 May 2012 22:42:21 +0000 (22:42 +0000)]
MFC: r212804

Remove magic value.

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

12 years agoMFC: r235681
marius [Fri, 25 May 2012 19:57:01 +0000 (19:57 +0000)]
MFC: r235681

Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arrays
casted to structs by getting rid of these buffers entirely. In r169832, it
was tried to paper over this issue by 32-bit aligning the buffers. Depending
on compiler optimizations that still was insufficient for 64-bit architectures
with strong alignment requirements though.
While at it, add comments regarding the total lack of locking in this area.

Tested by: bz
Reviewed by: bz (slightly earlier version), yongari (earlier version)

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

12 years agoMFC r220502:
bschmidt [Fri, 25 May 2012 16:52:00 +0000 (16:52 +0000)]
MFC r220502:
Don't hardcode assumptions about basic rates, similar to what the rt2661
support code does. While here remove an unnecessary loop.

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

12 years agoMFC r235235-235237:
bschmidt [Fri, 25 May 2012 16:40:31 +0000 (16:40 +0000)]
MFC r235235-235237:
Update man page due to import of RT2800/RT3000 support.

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

12 years agoMFC r232946,232958,235233:
bschmidt [Fri, 25 May 2012 16:39:56 +0000 (16:39 +0000)]
MFC r232946,232958,235233:

r232946:
Update the rt2860's firmware and add a Makefile for the module. While
here remove the ucode header file which was used to generate the fw files
but by now is outdated.

r232958:
Import the latest microcode.h which was used to generate the current
firmware files and adjust the Makefile.

r235233:
Add support for Ralink RT2800/RT3000 chipsets.

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

12 years agoMFC: r234897
marius [Fri, 25 May 2012 14:57:02 +0000 (14:57 +0000)]
MFC: r234897

Add a command for showing the heap usage.

PR: 165025
Submitted by: Gavin Mu

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

12 years agoMFC: r234789
marius [Fri, 25 May 2012 14:54:18 +0000 (14:54 +0000)]
MFC: r234789

Add multiple inclusion protection.

PR: 165025
Submitted by: Gavin Mu

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

12 years agoMFC r233611:
fabient [Fri, 25 May 2012 07:23:24 +0000 (07:23 +0000)]
MFC r233611:
- Support inlined location in calltree output.
  In case of multiple level of inlining all the locations are flattened.
  Require recent binutils/addr2line (head works or binutils from ports
  with the right $PATH order).
- Multiple fixes in the calltree output (recursion case, ...)
- Fix the calltree top view that previously hide some shared nodes.

Tested with Kcachegrind(kdesdk4)/qcachegrind(head).

Sponsored by: NETASQ

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

12 years agoMFC r235599:
ae [Fri, 25 May 2012 04:26:44 +0000 (04:26 +0000)]
MFC r235599:
  Introduce new device flag G_MIRROR_DEVICE_FLAG_TASTING. It should
  protect geom from destroying while it is tasting.

MFC r235600:
  Prevent removing of the last active component from a mirror.

PR: kern/154860
Reviewed by: pjd
Tested by: Eugene Grosbein

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

12 years agoMFC: r235623
pfg [Fri, 25 May 2012 03:08:46 +0000 (03:08 +0000)]
MFC: r235623

Bring in a subset of gcc fixes that were backported to
the GCC 4.1 branch and are available under GPLv2.

Reviewed by: mm
Approved by: jhb (mentor)

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

12 years agoMFC r235222:
mm [Fri, 25 May 2012 01:21:17 +0000 (01:21 +0000)]
MFC r235222:
Import illumos changeset 13686:4bc0783f6064
2703 add mechanism to report ZFS send progress

If the zfs send command is used with the -v flag, the amount of bytes
transmitted is reported in per second updates.

References:
https://www.illumos.org/issues/2703

Obtained from: illumos (issue #2703)

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

12 years agoMFC r232614:
bz [Thu, 24 May 2012 23:55:08 +0000 (23:55 +0000)]
MFC r232614:

  Provide wbwd(4), a driver for the watchdog timer found on various
  Winbond Super I/O chips.

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

12 years agoMFC r235634
sbruno [Thu, 24 May 2012 16:41:26 +0000 (16:41 +0000)]
MFC r235634

Decode new battery status indications.

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

12 years agoMFC: r235568
rmacklem [Thu, 24 May 2012 13:15:15 +0000 (13:15 +0000)]
MFC: r235568
A problem with the NFSv4 server was reported by Andrew Leonard
to freebsd-fs@, where the setfacl of an NFSv4 acl would fail.
This was caused by the VOP_ACLCHECK() call for ZFS replying
EOPNOTSUPP. After discussion with rwatson@, it was determined
that a call to VOP_ACLCHECK() before doing VOP_SETACL() is not
required. This patch fixes the problem by deleting the
VOP_ACLCHECK() call.

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

12 years agoMFC r235541:
kib [Thu, 24 May 2012 09:11:38 +0000 (09:11 +0000)]
MFC r235541:
Allow to specify strftime(3) format for process start end exit times.

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

12 years agoMFC r233433
alc [Thu, 24 May 2012 05:30:17 +0000 (05:30 +0000)]
MFC r233433
  Disable detailed PV entry accounting by default.  Add a config option
  to enable it.

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

12 years agoMFC r235519:
mav [Thu, 24 May 2012 04:24:17 +0000 (04:24 +0000)]
MFC r235519:
Add support for -z option for reading operations. It allows to not request
current values from device, but only receive changes.

Sponsored by:   iXsystems, Inc.

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

12 years agoMFC r234458, r234603, r234610, r234727, r234816, r234848, r234868,
mav [Thu, 24 May 2012 02:46:35 +0000 (02:46 +0000)]
MFC r234458, r234603, r234610, r234727, r234816, r234848, r234868,
r234869, r234899, r234940, r234993, r234994, r235071 -c r235076, r235080,
r235096:
 - Add support for the DDF metadata format, as defined by the SNIA Common
RAID Disk Data Format Specification v2.0;
 - Add support for reading non-degraded RAID4/5/5E/5EE/5R/6/MDF volumes.

Sponsored by:   iXsystems, Inc.

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

12 years agoMFC r235270:
mav [Thu, 24 May 2012 01:43:08 +0000 (01:43 +0000)]
MFC r235270:
- Prevent error status leak if write to some of the RAID1/1E volume disks
failed while write to some other succeeded. Instead mark disk as failed.
- Make RAID1E less aggressive in failing disks to avoid volume breakage.

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

12 years agoMFC r235558, r235569:
mav [Thu, 24 May 2012 01:30:17 +0000 (01:30 +0000)]
MFC r235558, r235569:
Add support for writing to HID devices through the interrupt output pipe.
Supermicro LCD screen modules seem to not support accessing reports through
the control pipes, but working fine with the interrupt pipes.

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

12 years agoMFC r235510:
mav [Thu, 24 May 2012 01:24:49 +0000 (01:24 +0000)]
MFC r235510:
HID Report ID is unsigned value, so clear the rest of bits from possible
sign expansion.

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

12 years agoMFC r235684:
bschmidt [Wed, 23 May 2012 16:43:37 +0000 (16:43 +0000)]
MFC r235684:
Add some more 100/130 series device IDs.

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

12 years agoMFC r222465, r223224, r224841, r232613:
jamie [Wed, 23 May 2012 15:47:07 +0000 (15:47 +0000)]
MFC r222465, r223224, r224841, r232613:

 Check for IPv4 or IPv6 to be available by the kernel to not
 provoke errors trying to query options not available.
 Make it possible to compile out INET or INET6 only parts.

PR: bin/161957

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

12 years agoMFC r235151:
yongari [Wed, 23 May 2012 02:12:00 +0000 (02:12 +0000)]
MFC r235151:
  Implement basic remote PHY support. Remote PHY allows the
  controller to perform MDIO type accesses to a remote transceiver
  using message pages defined through MRBE(multirate backplane
  ethernet).  It's used in blade systems(e.g Dell Blade m610) which
  are connected to pass-through blades rather than traditional
  switches.
  This change directly manipulates firmware's mailboxes to control
  remote PHY such that it does not use mii(4).  Alternatively, as
  David said, it could be implemented in brgphy(4) by creating a fake
  PHY and let brgphy(4) do necessary mii accesses and bce(4) can
  implement mailbox accesses based on the type of brgphy(4)'s mii
  accesses. Personally, I think it would make brgphy(4) hard to
  maintain since it would have to access many bce(4) registers in
  brgphy(4). Given that there are users who are suffering from lack
  of remote PHY support, it would be better to get working system
  rather than waiting for complete/perfect implementation.

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

12 years agoMFC r235634
sbruno [Mon, 21 May 2012 22:23:21 +0000 (22:23 +0000)]
MFC r235634

Fix and update battery status bits according to linux driver

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

12 years agoMFC 234190,234196,234280:
jhb [Mon, 21 May 2012 21:16:08 +0000 (21:16 +0000)]
MFC 234190,234196,234280:
- Extend the KDB interface to add a per-debugger callback to print a
  backtrace for an arbitrary thread (rather than the calling thread).
  A kdb_backtrace_thread() wrapper function uses the configured debugger
  if possible, otherwise it falls back to using stack(9) if that is
  available.
- Replace a direct call to db_trace_thread() in propagate_priority()
  with a call to kdb_backtrace_thread() instead.

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

12 years agoMFC: r201226, r202844, r206043, r206132, r206133, r212029, r225610, r226708,
bapt [Mon, 21 May 2012 13:05:41 +0000 (13:05 +0000)]
MFC: r201226, r202844, r206043, r206132, r206133, r212029, r225610, r226708,
r228670

- Add support for UPDATING remote fetching.
- Reorganize EXAMPLES section in pkg_updating(1).
- Style fixes.
- Replace hardcoded INDEX version. [1]
- Fix a buffer overlap. [2]
- Remove empty package when fetching fails and -K is used. [3]
- Remove useless chmod2() after mkdtemp(3). [4]
- Replace mkdir(1) call with mkdir(2). [5]
- Get rid of some vsystem() calls.
- Switch from lstat(2) to open(2) in fexists().
- Try rename(2) in move_file() first.
- Fix pkg_delete, check if the file we're trying to delete is a
symlink before complaining that it doesn't exist. Typical case
would be a leftover library symlink that's left over after the
actual library has been removed.
- Print the package name on deletion errors.
- Staticify elide_root()
- In usr.sbin/pkg_install/updating/main.c, use the size of the destination
buffer as size argument to strlcpy(), not the length of the source

PR: bin/145101 [1], bin/139492 [2], bin/144919 [3]
bin/144920 [4], bin/144921 [5]
Submitted by: gcooper [1,2,3,4,5]
Approved by: des (mentor)

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

12 years agoMFC r235597:
gjb [Mon, 21 May 2012 00:15:47 +0000 (00:15 +0000)]
MFC r235597:

Fix a typo that crept in.

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

12 years agoMFC r232513:
bz [Mon, 21 May 2012 00:03:13 +0000 (00:03 +0000)]
MFC r232513:

 Correct typo in the RFC number for the constants based on IANA assignments
 for IPv6 Neighbor Discovery Option types for "IPv6 Router Advertisement
 Options for DNS Configuration".  It is RFC 6106.

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

12 years agoMFC r232514:
bz [Sun, 20 May 2012 22:58:37 +0000 (22:58 +0000)]
MFC r232514:

 In nd6_options() ignore the RFC 6106 options completely rather than printing
 them if nd6_debug is enabled as unknown.  Leave a comment about the RFC4191
 option as I am undecided so far.

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

12 years agoMFC r235212, r235216, r235217:
mm [Sun, 20 May 2012 22:23:58 +0000 (22:23 +0000)]
MFC r235212, r235216, r235217:

MFC r325212 [1]:
Import illumos changeset 13618:c6ae14a341e8
2088 zdb could use a reasonable manual page

Rewrite new zdb manpage to mdoc(7)

MFC r235216 [2]:
Add support for force unmounting ZFS filesystems during "zfs rename"
with the -f flag.

Reimplementation of the illumos changeset 13677:a0cbef703c12
2635 'zfs rename -f' to perform force unmount

MFC r235217 [3]:
Remove unreachable break in zfs_main.c

Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate

References:
https://www.illumos.org/issues/2088 [1]
https://www.illumos.org/issues/2635 [2]
https://www.illumos.org/issues/2077 [3]

PR: 164447 [1], 164447 [2], 167370 [3]
Suggested by: Marcelo Araujo <araujo@FreeBSD.org>
Obtained from: illumos (issue #2088 [1], #2635 [2], #2077 [3])

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

12 years agoMFC r231532:
bz [Sun, 20 May 2012 20:25:57 +0000 (20:25 +0000)]
MFC r231532:

 MFp4 204292:

 Ignore the NAT_T extension types so we can at least dump the SADB from
 the in-base libipsec/setkey without error when NAT_T support is present
 in the kernel, though not printing the additional information yet.
 However in case there is no NAT_T support in kernel still consider them
 to be an error.

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

12 years agoMFC r235567:
gjb [Sun, 20 May 2012 01:40:24 +0000 (01:40 +0000)]
MFC r235567:

mdoc(7) style/formatting fixes.

While here, fix a few nits igor(1) does not like.

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

12 years agoMFC r234643:
bz [Sat, 19 May 2012 22:50:22 +0000 (22:50 +0000)]
MFC r234643:

 Do not toggle IFCAP_TSO4 if we would also do TSO6.  Given the driver does
 not currently announce/support TSO6 that cannot happen. Clean it up anyway
 for consistency.

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

12 years agoMFC r234620:
bz [Sat, 19 May 2012 22:16:12 +0000 (22:16 +0000)]
MFC r234620:

 If we pass down 64k - L2 hdr size + 1 to 64K L3+ data adding an ether
 header will make the data go over the 64k limits announced to busdma as
 maxsize and the transaction will fail.

 With TSO this can result in a TCP regression due to the lost packet.

 According to the data sheets ixgbe(4) 82598 and 82599 can handle up to
 256k so increase the maximum.

 Reported by: Jon KÃ¥re Hellan, UNINETT (jon.kare.hellan uninett.no)
 Tested by: Jon KÃ¥re Hellan, UNINETT (jon.kare.hellan uninett.no)

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

12 years agoMFC r231767:
bz [Sat, 19 May 2012 18:33:08 +0000 (18:33 +0000)]
MFC r231767:

 Fix PAWS (Protect Against Wrapped Sequence numbers) in cases when
 hz >> 1000 and thus getting outside the timestamp clock frequenceny of
 1ms < x < 1s per tick as mandated by RFC1323, leading to connection
 resets on idle connections.

 Always use a granularity of 1ms using getmicrouptime() making all but
 relevant callouts independent of hz.

 Use getmicrouptime(), not getmicrotime() as the latter may make a jump
 possibly breaking TCP nfsroot mounts having our timestamps move forward
 for more than 24.8 days in a second without having been idle for that
 long.

PR: kern/61404

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

12 years agoMFC r233713:
bz [Sat, 19 May 2012 14:32:47 +0000 (14:32 +0000)]
MFC r233713:

  Remove the magic mfi_array is 288 bytes and just use the
  sizeof the array since it is not 288 bytes.

  Change reporting of a "SYSTEM" disk to "JBOD" to match
  LSI MegaCli and firmware reporting.

  This means that mfiutil command to "create jbod" is now a
  little confusing since a RAID per drive is not really what
  LSI defines JBOD to be.  This should be fixed in the future
  and support added to really create LSI JBOD and enable that
  feature on cards that support it.

To unbreak the build after: r235625 (?)

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

12 years agoPurge mergeinfo from i386/conf/XENHVM. The mergeinfo related to
jhb [Fri, 18 May 2012 20:43:48 +0000 (20:43 +0000)]
Purge mergeinfo from i386/conf/XENHVM.  The mergeinfo related to
amd64/conf/XENHVM is only useful in HEAD.

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

12 years agoMFC of head thunderbolt support for mfi(4)
sbruno [Fri, 18 May 2012 19:48:33 +0000 (19:48 +0000)]
MFC of head thunderbolt support for mfi(4)

r233711 -- IFV head_mfi into head for initial thunderbolt support
r233768 -- atomic_t --> mfi_atomic
r233805 -- fix tinderbuild, move megasas_sge to mfivar.h
r233877 -- remove atomic.h from includes
r235014 -- fix reading of sector >= 2^32 or 2^21, repair RAID handling
r235016 -- style(9)
r235040 -- fix returns from mfi_tbolt_sync_map_info()
r235318 -- repair panic on PAE i386
r235321 -- repair the repair of panics on PAE i386

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

12 years agoMFC 234186
jhb [Fri, 18 May 2012 18:53:28 +0000 (18:53 +0000)]
MFC 234186
If a linker file contains at least one module, but all of the modules
fail to load (the MOD_LOAD event fails) during a kldload(2), unload the
linker file and fail the kldload(2) with ENOEXEC.

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

12 years ago/etc/netstart: remove invocation of dhclient
rea [Fri, 18 May 2012 18:32:44 +0000 (18:32 +0000)]
/etc/netstart: remove invocation of dhclient

dhclient is no longer a real service, it is a helper script
for /etc/rc.d/netif and devd.  Its direct invocation isn't
needed to bring the network up.

Approved by: jhb, delphij

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

12 years agoMFC r235210
sbruno [Fri, 18 May 2012 18:29:44 +0000 (18:29 +0000)]
MFC r235210

Modify the binding of queues to attach to as many CPUs
as possible when using more than one igb(4) adapter.  This
means that queues will not be bound to the same CPUs if
there are more CPUs availble.

This is only applicable to a system that has multiple interfaces.

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

12 years agoMFC 217886,218389:
jhb [Fri, 18 May 2012 14:29:54 +0000 (14:29 +0000)]
MFC 217886,218389:
Set td_kstack_pages for thread0.

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

12 years agoMFC r235499:
gjb [Fri, 18 May 2012 02:20:15 +0000 (02:20 +0000)]
MFC r235499:

Reword hostapd.conf(5) sentence.

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

12 years agoMFC r235441:
gjb [Fri, 18 May 2012 02:16:35 +0000 (02:16 +0000)]
MFC r235441:

Fix an mdoc(7) formatting nit.

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

12 years agoMFC r235357,r235358,r235371,r235373,r235376:
gjb [Fri, 18 May 2012 02:14:08 +0000 (02:14 +0000)]
MFC r235357,r235358,r235371,r235373,r235376:

Fix various mdoc(7) style nits.

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

12 years agoDocument requirement to alter some sysctls when using igb(4) with
gjb [Fri, 18 May 2012 02:06:34 +0000 (02:06 +0000)]
Document requirement to alter some sysctls when using igb(4) with
jumbo frames.

PR: 153738

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

12 years agoMFC r235342:
gjb [Fri, 18 May 2012 02:00:41 +0000 (02:00 +0000)]
MFC r235342:

General mdoc(7) and typo fixes.

PR: 167804

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

12 years agoMFC r235337:
gjb [Fri, 18 May 2012 01:50:34 +0000 (01:50 +0000)]
MFC r235337:

General mdoc(7) and typo fixes.

PR: 167804

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

12 years agoMFC r235319:
gjb [Fri, 18 May 2012 01:10:34 +0000 (01:10 +0000)]
MFC r235319:

Remove duplicate words in mdoc(7) pages.

PR: 167810

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

12 years agoMFC r235140:
gjb [Fri, 18 May 2012 01:04:28 +0000 (01:04 +0000)]
MFC r235140:

General mdoc(7) and typo fixes.

PR: 167713

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

12 years agoMFC r235317:
gjb [Fri, 18 May 2012 00:56:12 +0000 (00:56 +0000)]
MFC r235317:

General mdoc(7) and typo fixes.

PR: 167776

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

12 years agoMFC r235286:
gjb [Fri, 18 May 2012 00:32:29 +0000 (00:32 +0000)]
MFC r235286:

General mdoc(7) and typo fixes.

PR: 167734

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

12 years agoMFC r235252:
gjb [Fri, 18 May 2012 00:08:09 +0000 (00:08 +0000)]
MFC r235252:

Document the unzip(1) '-Z' option implemented in r234206.

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

12 years agoMFC r235211:
gjb [Fri, 18 May 2012 00:02:11 +0000 (00:02 +0000)]
MFC r235211:

General mdoc(7) and typo fixes.

PR: 167696

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

12 years agoMFC 233708,234154:
jhb [Thu, 17 May 2012 15:45:00 +0000 (15:45 +0000)]
MFC 233708,234154:
Fix a few issues with transmit handling in em(4) and igb(4):
- Do not define the foo_start() methods or set if_start in the ifnet if
  multiq transmit is enabled.  Also, set if_transmit and if_qflush before
  ether_ifattach rather than after when multiq transmit is enabled.  This
  helps to ensure that the drivers never try to mix different transmit
  methods.
- Properly restart transmit during resume.  igb(4) was not restarting it
  at all, and em(4) was restarting even if the link was down and was
  calling the wrong method if multiq transmit was enabled.
- Remove all the 'more' handling for transmit completions.  Transmit
  completion processing does not have a processing limit, so it always
  runs to completion and never has more work to do when it returns.
  Instead, the previous code was returning 'true' anytime there were
  packets in the queue that weren't still in the process of being
  transmitted.  The effect was that the driver would continuously
  reschedule a task to process TX completions in effect running at 100%
  CPU polling the hardware until it finished transmitting all of the
  packets in the ring.  Now it will just wait for the next TX completion
  interrupt.
- Restart packet transmission when the link becomes active.
- Fix the MSI-X queue interrupt handlers to restart packet transmission if
  there are pending packets in the relevant software queue (IFQ or buf_ring)
  after processing TX completions.  This is the root cause for the OACTIVE
  hangs as if the MSI-X queue handler drained all the pending packets from
  the TX ring, nothing would ever restart it.  As such, remove some
  previously-added workarounds to reschedule a task to poll the TX ring
  anytime OACTIVE was set.
- Use a dedicated task to handle deferred transmits from the if_transmit
  method instead of reusing the existing per-queue interrupt task.
  Reusing the per-queue interrupt task could result in both an interrupt
  thread and the taskqueue thread trying to handle received packets on a
  single queue resulting in out-of-order packet processing.
- Call ether_ifdetach() earlier in igb_detach().
- Drain tasks and free taskqueues during igb_detach().

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

12 years agoMFC r235122:
jlh [Thu, 17 May 2012 08:14:10 +0000 (08:14 +0000)]
MFC r235122:
  Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script
  instead of a symlink for .so files.

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

12 years agoMFC 234152:
jhb [Wed, 16 May 2012 21:07:19 +0000 (21:07 +0000)]
MFC 234152:
Allow device_busy() and device_unbusy() to be invoked while a device is
being attached.  This is implemented by adding a new DS_ATTACHING state
while a device's DEVICE_ATTACH() method is being invoked.  A driver is
required to not fail an attach of a busy device.  The device's state will
be promoted to DS_BUSY rather than DS_ACTIVE() if the device was marked
busy during DEVICE_ATTACH()

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

12 years agoMFC r235142:
jlh [Wed, 16 May 2012 20:33:29 +0000 (20:33 +0000)]
MFC r235142:
  Always define LD_32_PRELOAD so it works for 32 bits binaries on
  64 bits platforms.  Let rtld(1) decide if it needs to honor it
  or not.

  While here, fix a small bug in error reporting when asprintf(3)
  returns an error.

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

12 years agoMFC r234245:
delphij [Wed, 16 May 2012 20:06:17 +0000 (20:06 +0000)]
MFC r234245:

Eliminate an unused parameter of static method igmp_stats_live_old().

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

12 years agoMFC 218221,233709,233781,233793:
jhb [Wed, 16 May 2012 20:05:31 +0000 (20:05 +0000)]
MFC 218221,233709,233781,233793:
- Use a dedicated taskqueue with a thread that runs at a software-interrupt
  priority for the periodic polling of the machine check registers.
- Don't malloc() new MCA records for machine checks logged due to a
  CMCI or MC# exception.  Instead, use a pre-allocated pool of records.
  When a CMCI or MC# exception fires, schedule a task to refill the pool.
  The pool is sized to hold at least one record per available machine
  bank, and one record per CPU. This should handle the case of all CPUs
  triggering a single bank at once as well as the case a single CPU
  triggering all of its banks.  The periodic scans still use malloc()
  since they are run from a safe context.
- Make machine check exception logging more readable.  On newer Intel systems,
  an uncorrected ECC error tends to fire on all CPUs in a package
  simultaneously and the current printf hacks are not sufficient to make
  the messages legible.  Instead, use the existing mca_lock spinlock to
  serialize calls to mca_log() and change the machine check code to panic
  directly when an unrecoverable error is encoutered rather than falling
  back to a trap_fatal() call in trap() (which adds nearly a screen-full of
  logging messages that aren't useful for machine checks).

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

12 years agoMFC r234244:
delphij [Wed, 16 May 2012 20:02:29 +0000 (20:02 +0000)]
MFC r234244:

The scandir(3) function expects fourth parameter, compar, be in type of:

int (*compar)(const struct dirent **, const struct dirent **)

The current code defines sortq() to accept two void *, then cast them
to const struct dirent **.  Because the code does not really need this
cast, we can eliminate the casts by changing the function prototype
to match scandir(3) expectation.

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

12 years agoMFC: r234957
brueffer [Wed, 16 May 2012 19:47:02 +0000 (19:47 +0000)]
MFC: r234957

Check vplabel for NULL before dereferencing it.  Fixes a panic
when running atop with MAC_MLS enabled.

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

12 years agoMFC r232102: Exit with proper status when wake() fails.
jh [Wed, 16 May 2012 17:26:14 +0000 (17:26 +0000)]
MFC r232102: Exit with proper status when wake() fails.

PR: bin/153527

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

12 years agoMFC r228363 (pjd):
mm [Wed, 16 May 2012 15:17:51 +0000 (15:17 +0000)]
MFC r228363 (pjd):
The vfs.zfs.txg.timeout sysctl can be safely modified at run time.

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

12 years agoMFC r228424,228448,230643: panic: add a switch and infrastructure for
avg [Wed, 16 May 2012 09:03:29 +0000 (09:03 +0000)]
MFC r228424,228448,230643: panic: add a switch and infrastructure for
stopping other CPUs in SMP case

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

12 years agoMFC r235201 r235419:
eadler [Wed, 16 May 2012 00:37:15 +0000 (00:37 +0000)]
MFC r235201 r235419:
 Add missing period at the end of the error message

Approved by: cperciva (implicit)

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

12 years agoMFC r235043:
jimharris [Wed, 16 May 2012 00:03:58 +0000 (00:03 +0000)]
MFC r235043:

Fix off-by-one error in sati_inquiry_block_device_translate_data().  Bug would
result in INQUIRY VPD 0x81 to SATA devices to return only 63 bytes of data
instead of 64 during SCSI/ATA translation.

Sponsored by: Intel

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

12 years agoMFC r235143:
kib [Tue, 15 May 2012 09:37:22 +0000 (09:37 +0000)]
MFC r235143:
Plug a leak.

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

12 years agoMFC 209613:
jhb [Mon, 14 May 2012 15:05:18 +0000 (15:05 +0000)]
MFC 209613:
Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to
<sys/syscallsubr.h> where all other kern_<syscall> prototypes live.

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

12 years agoMFC r235283:
tuexen [Mon, 14 May 2012 10:18:31 +0000 (10:18 +0000)]
MFC r235283:
Fix a bug in the handling of association reset request.

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

12 years agoMFC r235282:
tuexen [Mon, 14 May 2012 10:14:43 +0000 (10:14 +0000)]
MFC r235282:
Only provide the supported features in the SCTP_ASSOC_CHANGE notif
if the state is SCTP_COMM_UP or SCTP_RESTART.
While there, do some cleanups.

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

12 years agoMFC r235280:
tuexen [Mon, 14 May 2012 10:12:03 +0000 (10:12 +0000)]
MFC r235280:
Remove a constant which is only used on non-FreeBSD platform.
(The actual code for the socket option handling has been #ifdefed
out forever...)

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

12 years agoMFC r235119:
yongari [Mon, 14 May 2012 04:24:24 +0000 (04:24 +0000)]
MFC r235119:
  Restore jumbo frame configuration which was broken in r218423.

  Submitted by: Andrey Zonov <andrey <> zonov dot org > (initial version)
  Tested by: Andrey Zonov <andrey <> zonov dot org >

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

12 years agoMFC: r234742
rmacklem [Sun, 13 May 2012 20:28:43 +0000 (20:28 +0000)]
MFC: r234742
It was reported via email that some non-FreeBSD NFS servers
do not include file attributes in the reply to an NFS create RPC
under certain circumstances.
This resulted in a vnode of type VNON that was not usable.
This patch adds an NFS getattr RPC to nfs_create() for this case,
to fix the problem. It was tested by the person that reported
the problem and confirmed to fix this case for their server.

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

12 years agoMFC r235069:
mav [Sun, 13 May 2012 02:09:27 +0000 (02:09 +0000)]
MFC r235069:
Fix `gmultipath configure` for big-endian machines.

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

12 years agoMFC r235209 r235227:
eadler [Sun, 13 May 2012 01:30:08 +0000 (01:30 +0000)]
MFC r235209 r235227:
Add a few new tips and update some old ones to more modern commands

Approved by: cperciva (implicit)

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

12 years agoMFC r232496:
eadler [Sat, 12 May 2012 00:55:29 +0000 (00:55 +0000)]
MFC r232496:
Fix a variety of grammar nits and errors

Approved by: cperciva (implicit)

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

12 years agoMFC r235208:
eadler [Sat, 12 May 2012 00:49:38 +0000 (00:49 +0000)]
MFC r235208:
make it easier for users used to a VCS that allows up to be a shortcut
for update.

Approved by: cperciva (implicit)

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

12 years agoMFC r235205:
eadler [Sat, 12 May 2012 00:46:59 +0000 (00:46 +0000)]
MFC r235205:
Document the -c option in --help output

Approved by: cperciva (implicit)

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

12 years agoMFC r235203:
eadler [Sat, 12 May 2012 00:43:34 +0000 (00:43 +0000)]
MFC r235203:
fix spacing in mtree file

Approved by: cperciva (implicit)

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

12 years agoMFC r235033:
ae [Fri, 11 May 2012 04:02:37 +0000 (04:02 +0000)]
MFC r235033:
  Don't ignore start offset value when user specifies it together
  with alignment.

  PR: bin/167567
  Tested by: Warren Block

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

12 years agoMFC r234138:
emaste [Fri, 11 May 2012 01:28:25 +0000 (01:28 +0000)]
MFC r234138:

  Support percent-encoded user and password

  RFC 1738 specifies that any ":", "@", or "/" within a user name or
  password in a URL is percent-encoded, to avoid ambiguity with the use
  of those characters as URL component separators.

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

12 years agoAdded forgotten r234867,234944 mergeinfo
daichi [Thu, 10 May 2012 22:38:15 +0000 (22:38 +0000)]
Added forgotten r234867,234944 mergeinfo

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

12 years agoMFC: 234867 and 234944
daichi [Thu, 10 May 2012 20:37:56 +0000 (20:37 +0000)]
MFC: 234867 and 234944

- fixed a vnode lock hang-up issue.
- fixed an incorrect lock status issue.
- fixed an incorrect lock issue of unionfs root vnode removed.
  (pointed out by keith)
- fixed an infinity loop issue.
  (pointed out by dumbbell)
- changed to do LK_RELEASE expressly when unlocked.
- fixed a unionfs_readdir math issue

Submitted by: ozawa@ongs.co.jp, Matthew Fleming <mfleming@isilon.com>

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

12 years agoMFC r234981:
kib [Thu, 10 May 2012 11:08:09 +0000 (11:08 +0000)]
MFC r234981:
Move the code to call the callout callback into the helper function
softclock_call_cc(). While there, move some common code to callout_cc_del().

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

12 years agoMFC r234952:
kib [Thu, 10 May 2012 10:56:46 +0000 (10:56 +0000)]
MFC r234952:
Mark the migrating callouts with CALLOUT_DFRMIGRATION flag. The flag is
cleared by callout_stop_safe() when the function detects a migration,
besides returning the success. The softclock() rechecks the flag for
migrating callout and cancels its execution if the flag was cleared
meantime.

PR: misc/166340

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

12 years agoMFC r211706:
kib [Wed, 9 May 2012 15:57:59 +0000 (15:57 +0000)]
MFC r211706:
On shared object unload, in __cxa_finalize, call and clear all installed
atexit and __cxa_atexit handlers that are either installed by unloaded
dso, or points to the functions provided by the dso.

Use _rtld_addr_phdr to locate segment information from the address of
private variable belonging to the dso, supplied by crtstuff.c. Provide
utility function __elf_phdr_match_addr to do the match of address against
dso executable segment.

Call back into libthr from __cxa_finalize using weak
__pthread_cxa_finalize symbol to remove any atfork handler which
function points into unloaded object.

The rtld needs private __pthread_cxa_finalize symbol to not require
resolution of the weak undefined symbol at initialization time. This
cannot work, since rtld is relocated before sym_zero is set up.

MFC r211894:
Do not call __pthread_cxa_finalize with invalid struct dl_phdr_info.

Requested and tested by: Peter Jeremy <peter rulingia com>

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

12 years agoMFC r235091:
tuexen [Wed, 9 May 2012 15:25:58 +0000 (15:25 +0000)]
MFC r235091:
Address clang warnings.

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

12 years agoMFC r235081:
tuexen [Wed, 9 May 2012 15:23:33 +0000 (15:23 +0000)]
MFC r235081:
Add support for the sac_info field in struct sctp_assoc_change
as required by RFC 6458.

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

12 years agoMFC r235077:
tuexen [Wed, 9 May 2012 15:21:19 +0000 (15:21 +0000)]
MFC r235077:
Remove debug code.

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

12 years agoMFC r235075:
tuexen [Wed, 9 May 2012 15:18:54 +0000 (15:18 +0000)]
MFC r235075:
Add support for SCTP_SEND_FAILED_EVENT as required by RFC 6458.

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