]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
9 years agoMFC r261892: zpool.8: fix typo in option description of labelclear command
avg [Tue, 7 Oct 2014 13:20:28 +0000 (13:20 +0000)]
MFC r261892: zpool.8: fix typo in option description of labelclear command

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

9 years agoMFC r272176:
ae [Tue, 7 Oct 2014 08:19:21 +0000 (08:19 +0000)]
MFC r272176:
  Keep list of lagg ports sorted by if_index.

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

9 years agoMake external NFS clients know when files have their attributes changed and
araujo [Tue, 7 Oct 2014 06:00:32 +0000 (06:00 +0000)]
Make external NFS clients know when files have their attributes changed and
avoid cache the file's state indefinitely. The va_filerev is what is sent
to the client as the "change" attribute, the client is periodically fetching
the attributes and without this option the attribute remains as some garbage
value.

Phabric: D905
Reported by: Kevin Buhr <buhr@asaurus.net>
Reviewed by: rmacklem, delphij
Approved by: delphij
Obtained from: r272467
Sponsored by: QNAP Systems Inc.

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

9 years agoAccount for the mapped pages in the kernel_pmap on x86 in
kib [Mon, 6 Oct 2014 18:15:13 +0000 (18:15 +0000)]
Account for the mapped pages in the kernel_pmap on x86 in
pmap_mapdev().  The pmap_unmapdev() on stable/9 calls pmap_remove() to
clear the range, which decrements kernel_pmap.pm_stats.resident_count.
Misaccounting causes miscellaneous failures, since pmap_remove() tests
the counter for zero and does nothing.

This is direct commit to stable/9, since HEAD and stable/10 use vmem
and do not utilize pmap_remove() etc.

Based on the submission by: Kohji Okuno <okuno.kohji at jp.panasonic.com>

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

9 years agoMFC r272480:
hselasky [Mon, 6 Oct 2014 06:07:02 +0000 (06:07 +0000)]
MFC r272480:
When we fail to get a USB reference we should just return, because
there are no more references held.

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

9 years agoMFC r272349, r272422 and r272479:
hselasky [Mon, 6 Oct 2014 05:58:16 +0000 (05:58 +0000)]
MFC r272349, r272422 and r272479:
- Fix XHCI driver for devices which have more than 15 physical root HUB
  ports. The current bitmap array was too small to hold more than 16
  bits and would at some point toggle the context size, which then would
  trigger an enumeration fault and cause a fallback to the EHCI
  companion controller, if any.
- Make sure we always set the maximum number of valid contexts.
- Set default cycle state in case of early interrupts.

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

9 years agoMFC r271424,r272579:
bdrewery [Mon, 6 Oct 2014 00:31:31 +0000 (00:31 +0000)]
MFC r271424,r272579:

    - Add $netif_ipexpand_max to specify the upper limit for the number of
      addresses generated by an address range specification.  The default value
      is 2048.  This can be increased by setting $netif_ipexpand_max in
      rc.conf.
    - Bump .Dd missed in r271424

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

9 years agoRevert r272532,
pfg [Sat, 4 Oct 2014 20:35:07 +0000 (20:35 +0000)]
Revert r272532,

It broke the build.

Pointyhat: me

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

9 years agoMFC r271467, r271468:
pfg [Sat, 4 Oct 2014 17:49:36 +0000 (17:49 +0000)]
MFC r271467, r271468:
ext2fs: add ext2_getpages().

Literally copy/pasted from ffs_getpages().

Tested with: fsx

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

9 years agoMFC r272288,272289:
delphij [Thu, 2 Oct 2014 18:32:17 +0000 (18:32 +0000)]
MFC r272288,272289:

When setting environment variables in the atrun script, use the
"export foo=bar" form instead of "foo=bar; export foo" since the
former allows the shell to catch variable names that are not valid
shell identifiers.  This will cause /bin/sh to exit with an error
(which gets mailed to the at user) and it will not run the script.

Obtained from: OpenBSD (r1.63 millert)

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

9 years agoMFC r271720:
bdrewery [Thu, 2 Oct 2014 18:12:18 +0000 (18:12 +0000)]
MFC r271720:

  If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fix a
  FILE* leak in getbounds().

PR: 192032

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

9 years agoMFC r272028:
bdrewery [Thu, 2 Oct 2014 18:09:31 +0000 (18:09 +0000)]
MFC r272028:

  Make it more explicitly clear that -t will not change filename.

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

9 years agoMFC r271321:
bdrewery [Thu, 2 Oct 2014 18:05:53 +0000 (18:05 +0000)]
MFC r271321:

  Don't cross mount boundaries when cleaning tmp files.

Relnotes: yes

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

9 years agoMFC r270183:
bdrewery [Thu, 2 Oct 2014 18:00:16 +0000 (18:00 +0000)]
MFC r270183:

  Avoid showing stale errors when nmount(2) fails.

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

9 years agoMFC r272389:
delphij [Thu, 2 Oct 2014 17:42:02 +0000 (17:42 +0000)]
MFC r272389:

Diff reduction with kernel code: instruct the compiler that the data of
these types may be unaligned to their "normal" alignment and exercise
caution when accessing them.

PR: 194071

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

9 years agoMFC r272254:
hselasky [Thu, 2 Oct 2014 16:48:05 +0000 (16:48 +0000)]
MFC r272254:
Instead of creating the full range of possible ports, try to figure
out the actual number of so-called "embedded jacks" which are present
when a USB MIDI device is attaching.

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

9 years agoMFC r272253:
hselasky [Thu, 2 Oct 2014 16:43:37 +0000 (16:43 +0000)]
MFC r272253:

Regenerate usb.conf

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

9 years agoMFC r268376 (imp):
gjb [Wed, 1 Oct 2014 16:18:59 +0000 (16:18 +0000)]
MFC r268376 (imp):

  rm -rf can fail sometimes with an error from fts_read. Make it
  honor fflag to ignore fts_read errors, but stop deleting from
  that directory because no further progress can be made.

  When building a kernel with a high -j value on a high core count
  machine, during the cleanobj phase we can wind up doing multiple
  rm -rf at the same time for modules that have subdirectories. This
  exposed this race (sometimes) as fts_read can return an error if
  the directory is removed by another rm -rf. Since the intent of
  the -f flag was to ignore errors, even if this was a bug in
  fts_read, we should ignore the error like we've been instructed
  to do.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFH (r272280, r272281, r272348): allow use with null user and rhost
des [Wed, 1 Oct 2014 10:29:14 +0000 (10:29 +0000)]
MFH (r272280, r272281, r272348): allow use with null user and rhost

PR: 83099 193927

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

9 years agoMFC Clang debug info crash fix
emaste [Tue, 30 Sep 2014 15:10:40 +0000 (15:10 +0000)]
MFC Clang debug info crash fix

271282: Merge Clang debug info crash fix rev 200797:

    Debug info: fix a crasher when when emitting debug info for
    not-yet-completed templated types. getTypeSize() needs a complete type.

    rdar://problem/15931354

271283: Add clang patch for r271282

  Note that r271282 contains only the src change from Clang rev 200797.
  This patch file includes two follow-on changes to the test case, which
  do not apply to the copy in the FreeBSD tree.

  Upstream Clang revisions:

  200797:

    Debug info: fix a crasher when when emitting debug info for
    not-yet-completed templated types. getTypeSize() needs a complete type.

    rdar://problem/15931354

  200798:

    Simplify testcase from r200797 some more.

  200805:

    Further simplify r200797 and add an explanatory comment.

PR: 193347

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

9 years agoMFC r271433: Add clang patch corresponding to r271432
emaste [Tue, 30 Sep 2014 15:07:06 +0000 (15:07 +0000)]
MFC r271433: Add clang patch corresponding to r271432

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

9 years agoMFC r271432: Merge upstream Clang rev 205331 debuginfo crash fix:
emaste [Tue, 30 Sep 2014 15:05:27 +0000 (15:05 +0000)]
MFC r271432: Merge upstream Clang rev 205331 debuginfo crash fix:

    Debug info: fix a crash when emitting IndirectFieldDecls, which were
    previously not handled at all.
    rdar://problem/16348575

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

9 years agoMFC r272137:
wblock [Sun, 28 Sep 2014 23:22:46 +0000 (23:22 +0000)]
MFC r272137:

Revised to better point to release notes and errata, security advisories,
and be more specific about the -questions list.

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

9 years agoMFC r271874:
hselasky [Sat, 27 Sep 2014 18:10:52 +0000 (18:10 +0000)]
MFC r271874:
Add new USB IDs.

PR: 193775

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

9 years agoMFC r272059:
mav [Sat, 27 Sep 2014 08:35:23 +0000 (08:35 +0000)]
MFC r272059:
Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>

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

9 years agoMFC rev. 258705 to stable/9:
thomas [Fri, 26 Sep 2014 19:13:13 +0000 (19:13 +0000)]
MFC rev. 258705 to stable/9:

Define NANO_MAKE (single threaded MAKE) and use it for installworld,
installkernel, and distribution.

Required in order to fix regression introduced by MFC rev. 265894
for kern/162736, since that change depends on this one.

PR: 193808

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

9 years agoMFC r271953:
hselasky [Thu, 25 Sep 2014 05:59:12 +0000 (05:59 +0000)]
MFC r271953:
Some XHCI hardware requires dropping the endpoint context before
adding it again.

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

9 years agoMFC r236360,r236361:
pjd [Tue, 23 Sep 2014 22:27:34 +0000 (22:27 +0000)]
MFC r236360,r236361:

- Add missing system calls.
- Remove rmdirat system call which doesn't exist.

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

9 years agoMFC r271577:
pjd [Tue, 23 Sep 2014 21:56:15 +0000 (21:56 +0000)]
MFC r271577:

Fix descriptors leak.

PR: bin/191002
Reported by: Ryan Steinmetz
Submitted by: mjg

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

9 years agoAfter r266269 unbreak the pc98 builds by only building the xenhvm
bz [Tue, 23 Sep 2014 19:32:42 +0000 (19:32 +0000)]
After r266269 unbreak the pc98 builds by only building the xenhvm
module for amd64 and i386 but not for pc98.

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

9 years ago This is a direct commit rather than an MFC of r271744.
bz [Tue, 23 Sep 2014 16:06:28 +0000 (16:06 +0000)]
 This is a direct commit rather than an MFC of r271744.

   Re-gen after r272029 (r271743 in head) implementing most of
   timer_{create,settime,gettime,getoverrun,delete}.

Sponsored by: DARPA/AFRL

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

9 years agoMFC r269669,271743:
bz [Tue, 23 Sep 2014 16:03:57 +0000 (16:03 +0000)]
MFC r269669,271743:

 Split up sys_ktimer_getoverrun() into a sys_ and a kern_ variant
 and export the kern_ version needed by an upcoming linuxolator change.

 Implement most of timer_{create,settime,gettime,getoverrun,delete}
 for amd64/linux32.  Fix the entirely bogus (untested) version from
 r161310 for i386/linux using the same shared code in compat/linux.

 Reviewed by: jhb
 Differential Revision: D784
Sponsored by: DARPA/AFRL

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

9 years agoMFC r271728
davidcs [Mon, 22 Sep 2014 19:42:18 +0000 (19:42 +0000)]
MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message.

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

9 years agoMFC r271727
davidcs [Mon, 22 Sep 2014 19:37:03 +0000 (19:37 +0000)]
MFC r271727
remove clean option from Makefile

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

9 years agoMFC r271726
davidcs [Mon, 22 Sep 2014 19:28:21 +0000 (19:28 +0000)]
MFC r271726
remove clean option from Makefile

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

9 years agoMFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
jilles [Sat, 20 Sep 2014 12:59:28 +0000 (12:59 +0000)]
MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
characters.

This was not broken on architectures such as ARM where char is unsigned.

Also, remove the first non-portable character from the output. POSIX does
not require this, and printing the first byte may yield an invalid byte
sequence with UTF-8.

PR: 165988
Reported by: Nicolas Rachinsky
Relnotes: yes

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

9 years agoMFC r271492:
hselasky [Sat, 20 Sep 2014 08:01:50 +0000 (08:01 +0000)]
MFC r271492:
Workaround for receiving Voice Calls using the E1750 dongle from
Huawei. It might appear as if the firmware is allocating memory blocks
according to the USB transfer size and if there is initially a lot of
data, like at the answering machine prompt, it simply dies without any
apparent reason. The simple workaround for this is to force a zero
length packet at hardware level after every 512 bytes of data. This
will force the other side to use smaller memory blocks aswell.

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

9 years agoMFC r265092, except for the ATF bits.
asomers [Thu, 18 Sep 2014 22:12:52 +0000 (22:12 +0000)]
MFC r265092, except for the ATF bits.

Fix a panic when removing an IP address from an interface, if the same address
exists on another interface.  The panic was introduced by change 264887, which
changed the fibnum parameter in the call to rtalloc1_fib() in
ifa_switch_loopback_route() from RT_DEFAULT_FIB to RT_ALL_FIBS.  The solution
is to use the interface fib in that call.  For the majority of users, that will
be equivalent to the legacy behavior.

PR:             kern/189089

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

9 years agoMFC r264905 and r266860, except for the ATF parts.
asomers [Thu, 18 Sep 2014 21:48:05 +0000 (21:48 +0000)]
MFC r264905 and r266860, except for the ATF parts.

r266860
Fix unintended KBI change from r264905.  Add _fib versions of
ifa_ifwithnet() and ifa_ifwithdstaddr()  The legacy functions will call the
_fib() versions with RT_ALL_FIBS, preserving legacy behavior.

sys/net/if_var.h
sys/net/if.c
        Add legacy-compatible functions as described above.  Ensure legacy
        behavior when RT_ALL_FIBS is passed as fibnum.

sys/netinet/in_pcb.c
sys/netinet/ip_output.c
sys/netinet/ip_options.c
sys/net/route.c
sys/net/rtsock.c
sys/netinet6/nd6.c
        Call with _fib() functions if we must use a specific fib, or the
        legacy functions otherwise.

r264905
Fix subnet and default routes on different FIBs on the same subnet.

These two bugs are closely related.  The root cause is that ifa_ifwithnet
does not consider FIBs when searching for an interface address.

sys/net/if_var.h
sys/net/if.c
        Add a fib argument to ifa_ifwithnet and ifa_ifwithdstadddr.  Those
        functions will only return an address whose interface fib equals the
        argument.

sys/net/route.c
        Update calls to ifa_ifwithnet and ifa_ifwithdstaddr with fib
        arguments.

sys/netinet/in.c
        Update in_addprefix to consider the interface fib when adding
        prefixes.  This will prevent it from not adding a subnet route when
        one already exists on a different fib.

sys/net/rtsock.c
sys/netinet/in_pcb.c
sys/netinet/ip_output.c
sys/netinet/ip_options.c
sys/netinet6/nd6.c
        Add RT_DEFAULT_FIB arguments to ifa_ifwithdstaddr and ifa_ifwithnet.
        In some cases it there wasn't a clear specific fib number to use.
        In others, I was unable to test those functions so I chose
        RT_DEFAULT_FIB to minimize divergence from current behavior.  I will
        fix some of the latter changes along with PR kern/187553.

PR:             kern/187550
PR:             kern/187552

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

9 years agoMFC r264887, except for the ATF test change. Also,
asomers [Thu, 18 Sep 2014 20:53:36 +0000 (20:53 +0000)]
MFC r264887, except for the ATF test change.  Also,
ifa_switch_loopback_route doesn't exist in stable/9, so the relevant change
to that function went into in_scrubprefix instead.

Fix host and network routes for new interfaces when net.add_addr_allfibs=0

sys/net/route.c
        In rtinit1, use the interface fib instead of the process fib.  The
        latter wasn't very useful because ifconfig(8) is usually invoked
        with the default process fib.  Changing ifconfig(8) to use setfib(2)
        would be redundant, because it already sets the interface fib.

tests/sys/netinet/fibs_test.sh
        Clear the expected ATF failure

sys/net/if.c
        Pass the interface fib in calls to rtrequest1_fib and rtalloc1_fib

sys/netinet/in.c
sys/net/if_var.h
        Add a fibnum argument to ifa_switch_loopback_route, a subroutine of
        in_scrubprefix.  Pass it the interface fib.

PR:             kern/187549

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

9 years agoMFC 263779, except for the ATF test change.
asomers [Thu, 18 Sep 2014 20:17:42 +0000 (20:17 +0000)]
MFC 263779, except for the ATF test change.

Correct ARP update handling when the routes for network interfaces are
restricted to a single FIB in a multifib system.

Restricting an interface's routes to the FIB to which it is assigned (by
setting net.add_addr_allfibs=0) causes ARP updates to fail with "arpresolve:
can't allocate llinfo for x.x.x.x".  This is due to the ARP update code hard
coding it's lookup for existing routing entries to FIB 0.

sys/netinet/in.c:
        When dealing with RTM_ADD (add route) requests for an interface, use
        the interface's assigned FIB instead of the default (FIB 0).

sys/netinet/if_ether.c:
        In arpresolve(), enhance error message generated when an
        lla_lookup() fails so that the interface causing the error is
        visible in logs.

PR:             kern/167947

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

9 years agoMFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset.
des [Thu, 18 Sep 2014 14:31:18 +0000 (14:31 +0000)]
MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset.

PR: 83099

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

9 years agoMFC r271644:
mav [Thu, 18 Sep 2014 09:22:37 +0000 (09:22 +0000)]
MFC r271644:
Add quirks to disable READ CAPACITY (16) for PNY USB 3.0 Flash Drives.

Submitted by: Sean Fagan <sef@ixsystems.com>

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

9 years agoMFC r271597:
dim [Thu, 18 Sep 2014 05:40:33 +0000 (05:40 +0000)]
MFC r271597:

Pull in r217410 from upstream llvm trunk (by Bob Wilson):

  Set trunc store action to Expand for all X86 targets.

  When compiling without SSE2, isTruncStoreLegal(F64, F32) would return
  Legal, whereas with SSE2 it would return Expand. And since the Target
  doesn't seem to actually handle a truncstore for double -> float, it
  would just output a store of a full double in the space for a float
  hence overwriting other bits on the stack.

  Patch by Luqman Aden!

This should fix clang -O0 on i386 assigning garbage to floats, in
certain scenarios.

PR: 187437
Submitted by: cebd@gmail.com
Obtained from: http://llvm.org/viewvc/llvm-project?rev=217410&view=rev

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

9 years agoMFC 270830:
jhb [Wed, 17 Sep 2014 18:17:18 +0000 (18:17 +0000)]
MFC 270830:
When anouncing link state changes on an 802.11 interface with a vap,
announce the change on the vap's ifnet instead of the main ifnet.  This
matches the behavior of other wireless drivers in the tree and allows the
default devd configuration to correctly start dhclient automatically after
an ndis wireless device associates.

Approved by: re (marius for 10)

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

9 years agoMFC r271403: Add PCI ID for Promise TX8660 8-port 3Gbps HBA.
mav [Wed, 17 Sep 2014 14:20:04 +0000 (14:20 +0000)]
MFC r271403: Add PCI ID for Promise TX8660 8-port 3Gbps HBA.

This device reports RAID subclass, but appears to be AHCI compatible.

Submitted by: Yuri Perejilin <yuri@rivera.ru>

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

9 years agoMFC r271604, r271616:
mav [Wed, 17 Sep 2014 14:07:40 +0000 (14:07 +0000)]
MFC r271604, r271616:
Add couple memory barriers to order tdq_cpu_idle and tdq_load accesses.

This change fixes transient performance drops in some of my benchmarks,
vanishing as soon as I am trying to collect any stats from the scheduler.
It looks like reordered access to those variables sometimes caused loss of
IPI_PREEMPT, that delayed thread execution until some later interrupt.

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

9 years agoDocument SA-14:19
gjb [Tue, 16 Sep 2014 19:25:27 +0000 (19:25 +0000)]
Document SA-14:19

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoBump __FreeBSD_version after SA-14:19.tcp
gjb [Tue, 16 Sep 2014 19:20:06 +0000 (19:20 +0000)]
Bump __FreeBSD_version after SA-14:19.tcp

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoFix Denial of Service in TCP packet processing.
delphij [Tue, 16 Sep 2014 09:49:11 +0000 (09:49 +0000)]
Fix Denial of Service in TCP packet processing.

Security: FreeBSD-SA-14:19.tcp

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

9 years agoMFC r270160:
lstewart [Tue, 16 Sep 2014 00:04:38 +0000 (00:04 +0000)]
MFC r270160:

Destroy the "qdiffsample_zone" UMA zone on unload to avoid a use-after-unload
panic easily triggered by running "sysctl -a" after unload.

Reported and tested by: Grenville Armitage <garmitage@swin.edu.au>

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

9 years agoMFC: r271286
brueffer [Mon, 15 Sep 2014 12:44:44 +0000 (12:44 +0000)]
MFC: r271286

Use the right constants in comparisons.  This is currently a nop, as
MIN_RXD == MIN_TXD and MAX_RXD == MAX_TXD.

Reviewed by:    Eric Joyner @ Intel
Approved by:    re (kib)

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

9 years agoMFC r271434:
wblock [Sun, 14 Sep 2014 03:01:18 +0000 (03:01 +0000)]
MFC r271434:

Update motd, clarifying the information and adding pointers to other
resources.

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

9 years agoMFC r271149:
pfg [Sat, 13 Sep 2014 18:34:56 +0000 (18:34 +0000)]
MFC r271149:
Apply known workarounds for less modern MacBooks.

The legacy USB circuit tends to give trouble on older MacBooks.
While the original report covered MacBook4, extend the fix
preemptively for the newer MacBookPro4 too.

PR: 191693
Reviewed by: emaste

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

9 years agoMFC r271407: Extend UNMAP blacklist on all STEC SSD models.
mav [Sat, 13 Sep 2014 17:14:01 +0000 (17:14 +0000)]
MFC r271407: Extend UNMAP blacklist on all STEC SSD models.

None of existing STEC devices need UNMAP or even support it well,
having many limitations and even hanging sometimes executing those
commands. New devices that may use UNMAP going to be released under
HGST name.

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

9 years agoMFC r271163, r271196:
mav [Sat, 13 Sep 2014 16:07:43 +0000 (16:07 +0000)]
MFC r271163, r271196:
Invert AHCI_Q_NOBSYRES quirk meaning, waiting for readiness by default.

I gave up to update list of Marvell chips that require this quirk.
The final nail was growing number of PCIe/M.2 SSDs where Marvell
chips have PCI IDs of different vendors.

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

9 years agoMFC r269228:
mav [Sat, 13 Sep 2014 15:20:49 +0000 (15:20 +0000)]
MFC r269228:
Add support for SOUND_MIXER_INFO IOCTL, used by gstreamer.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>

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

9 years agoMFC r269583:
bz [Sat, 13 Sep 2014 13:36:17 +0000 (13:36 +0000)]
MFC r269583:

   Provide -o vers= support for mount_nfs.

   Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
   OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

   With the upcoming autofs support we can make a lot of (entrerprisy) setups
   getting mount options from LDAP just work by providing -o vers= compatibility.

   Reviewed by: wblock, bjk (man page), rmacklem, emaste
Sponsored by: DARPA,AFRL
PR: 192379

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

9 years agoMFC r268854
davidcs [Fri, 12 Sep 2014 18:20:35 +0000 (18:20 +0000)]
MFC r268854
  Initiate error recovery stats fail to update after 3 retries.
  Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to
  panic only if ECORE_STOP_ON_ERROR is defined.

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

9 years agoMFC r271284:
gjb [Fri, 12 Sep 2014 17:07:19 +0000 (17:07 +0000)]
MFC r271284:
  Include the gssapi_krb5 library in KRB5_LDFLAGS.

PR: 156245
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r271331:
gjb [Fri, 12 Sep 2014 17:02:13 +0000 (17:02 +0000)]
MFC r271331:
  Change how the recommended mailing list to track is
  added to the footer of the release/doc/ pages by
  moving a hard-coded value (that is subject to human
  error to change) to release.ent where other values
  are regularly changed, and adding parsing logic to
  release.xsl.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC 270823,270825,270829:
jhb [Wed, 10 Sep 2014 15:45:18 +0000 (15:45 +0000)]
MFC 270823,270825,270829:
Use a unit number allocator to provide suitable st_dev and st_ino values
for POSIX shared memory descriptors.  The implementation is similar to
that used for pipes.

Approved by: re (gjb for 10)

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

9 years agoMFC r271218:
hselasky [Wed, 10 Sep 2014 07:19:08 +0000 (07:19 +0000)]
MFC r271218:
Update mixer description for FastTrackPro.

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

9 years agoMFC r271017 and r271018:
hselasky [Wed, 10 Sep 2014 06:57:24 +0000 (06:57 +0000)]
MFC r271017 and r271018:
Add new quirk.

PR:        193279

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

9 years agoMFC r270992:
hselasky [Wed, 10 Sep 2014 06:54:05 +0000 (06:54 +0000)]
MFC r270992:
Fix logical error.

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

9 years agoBump __FreeBSD_version after SA-14:18
gjb [Wed, 10 Sep 2014 00:19:33 +0000 (00:19 +0000)]
Bump __FreeBSD_version after SA-14:18

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoFix mailing list in footer.
gjb [Tue, 9 Sep 2014 17:52:27 +0000 (17:52 +0000)]
Fix mailing list in footer.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoTrim advisories that do not affect stable/9 since
gjb [Tue, 9 Sep 2014 17:48:08 +0000 (17:48 +0000)]
Trim advisories that do not affect stable/9 since
the 9.3-RELEASE.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoDocument SA-14:18.
gjb [Tue, 9 Sep 2014 17:38:55 +0000 (17:38 +0000)]
Document SA-14:18.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r271137:
markj [Sun, 7 Sep 2014 18:42:45 +0000 (18:42 +0000)]
MFC r271137:
Add mrsas(4) to GENERIC for i386 and amd64.

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

9 years agoMFC r271078:
gjb [Sun, 7 Sep 2014 00:46:57 +0000 (00:46 +0000)]
MFC r271078:
  Fix typo: s/_maske/_mask/

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270423:
mav [Sat, 6 Sep 2014 15:30:57 +0000 (15:30 +0000)]
MFC r270423:
Restore pre-r239157 handling of sched_yield(), when thread time slice
was aborted, allowing other threads to run.  Without this change thread
is just rescheduled again, that was illustrated by provided test tool.

PR: 192926
Submitted by: eric@vangyzen.net

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

9 years agoMFC r270348:
markj [Sat, 6 Sep 2014 04:33:37 +0000 (04:33 +0000)]
MFC r270348:
Add some missing checks for unsupported interfaces (e.g. pflog(4)) when
handling ioctls. While here, remove duplicated checks for a NULL ifp in
in6_control(): this check is already done near the beginning of the
function.

MFC r270349:
Suppress warnings when retrieving protocol stats from interfaces that
don't support IPv6 (e.g. pflog(4)).

PR: 189117

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

9 years agoMFC 270722:
jhb [Fri, 5 Sep 2014 17:44:10 +0000 (17:44 +0000)]
MFC 270722:
Correct the destroy example.  The -n argument is not needed (and is not
valid).

Approved by: re (gjb for 10)

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

9 years agoMFC 270674:
jhb [Fri, 5 Sep 2014 17:22:20 +0000 (17:22 +0000)]
MFC 270674:
Clarify that the -c argument clears the list of tracepoints specified by
-t (it does not clear all tracepoints).

Approved by: re (gjb for 10)

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

9 years agoMFC r270433:
ngie [Thu, 4 Sep 2014 20:07:44 +0000 (20:07 +0000)]
MFC r270433:

  Garbage collect libl dependency

  The application links and runs without libl

  Approved by: rpaulo (mentor)
  Phabric: D673
  Submitted by: trociny

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

9 years agodrm/radeon: Fix a memory leak when radeonkms is unloaded
dumbbell [Thu, 4 Sep 2014 09:49:21 +0000 (09:49 +0000)]
drm/radeon: Fix a memory leak when radeonkms is unloaded

This an MFC of r270750.

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

9 years agoMFC r270844:
pfg [Thu, 4 Sep 2014 00:43:27 +0000 (00:43 +0000)]
MFC r270844:
Minor space/tab cleanups.

Most of them were ripped from the GSoC 2104
SMAP + kpatch project (but unrelated).
Only cosmetic changes.

Taken from: Oliver Pinter (op@)

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

9 years agoMerge r268303 from head:
gavin [Wed, 3 Sep 2014 23:29:01 +0000 (23:29 +0000)]
Merge r268303 from head:

  Add support to asmc(4) for Macmini 3,1.

PR: 190195
Submitted by: fbsdbugs2 sentry.org
Relnotes: yes

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

9 years agoMerge r270677 from head:
gavin [Wed, 3 Sep 2014 23:18:08 +0000 (23:18 +0000)]
Merge r270677 from head:

  Fix xref, pam(8) -> pam(3)

PR: 193045
Submitted by: rsimmons0 gmail com

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

9 years agoMerge r269871 from head:
gavin [Wed, 3 Sep 2014 23:11:41 +0000 (23:11 +0000)]
Merge r269871 from head:

  Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()

Submitted by: Malcolm Douglas via freebsd-doc
Reviewed by: jhb

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

9 years agoMerge r269488 from head:
gavin [Wed, 3 Sep 2014 23:08:48 +0000 (23:08 +0000)]
Merge r269488 from head:

  For reasons which are not clear, r254263 broke some PCMCIA and CardBus
  bridges in strange ways, either rendering them unable to detect
  insertion and removal events, or possibly unable to read from the
  device behind the bridge.

  This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
  Instruments PCxx12 (d=0x8039 v=0c104c) bridge.  The very similar
  Tecra M9 has the same bridge, but worked fine without this change.

  The bridge chip has no I/O port BAR, and there is nothing in the spec
  to suggest I/O decoding should be enabled; however enabling it fixes
  the issue.  Add an XXX comment to this effect.

Discussed with: jhb, imp

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

9 years agoMerge 270872 from head:
gavin [Wed, 3 Sep 2014 23:06:22 +0000 (23:06 +0000)]
Merge 270872 from head:

  Fix character case in examples for "camcontrol security" - should be
  "-U user" not "-u user".

PR: 193179
Submitted by: milios ccsys com

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

9 years agoMFC r270661:
ae [Wed, 3 Sep 2014 11:17:11 +0000 (11:17 +0000)]
MFC r270661:
  Remove leading '/' from hardlink name when removing them from the
  regular file name. This fixes the problem, when bsdtar can not create
  hardlinks to extracted files.

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

9 years agoMFC r257985:
ae [Mon, 1 Sep 2014 08:33:52 +0000 (08:33 +0000)]
MFC r257985:
  Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already
  unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps
  simplify the code and remove several now unused variables.

  PR: 156283

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

9 years agoMFC r270445:
ae [Mon, 1 Sep 2014 07:34:36 +0000 (07:34 +0000)]
MFC r270445:
  The size of the GPT table can not be less than one sector.

MFC r270521:
  Since the size of GPT entry may differ from the sizeof(struct gpt_ent),
  use the size from GPT header to iterate entries.

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

9 years agoMFC r270519:
ngie [Mon, 1 Sep 2014 05:35:55 +0000 (05:35 +0000)]
MFC r270519:

  Fix "make checkdpadd" for lib/libc when MK_SSP != no

  Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in
  lib/libc when MK_SSP != no

  Approved by: rpaulo (mentor)
  Phabric: D675 (as part of a larger diff)
  PR: 192728

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

9 years agoMFC r270180:
ngie [Mon, 1 Sep 2014 05:26:53 +0000 (05:26 +0000)]
MFC r270180:

  Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd"

  Approved by: jmmv (mentor)
  Phabric: D633
  PR: 192763

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

9 years agoMFC r270117:
ngie [Mon, 1 Sep 2014 05:18:20 +0000 (05:18 +0000)]
MFC r270117:

  Add -ll to LDADD to fix "make checkdpadd"

  Phabric: D622
  Approved by: rpaulo (mentor)

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

9 years agoMFC r270145:
ngie [Mon, 1 Sep 2014 05:13:14 +0000 (05:13 +0000)]
MFC r270145:

  Replace DPADD with DPSRCS to fix "make checkdpadd"

  Phabric: D625
  Approved by: jmmv (mentor)
  Reviewed by: dim
  PR: 192734

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

9 years agoWITH/WITHOUT_PKGBOOTSTRAP were MFC'ed, but were never connected to the
peter [Sun, 31 Aug 2014 20:11:26 +0000 (20:11 +0000)]
WITH/WITHOUT_PKGBOOTSTRAP were MFC'ed, but were never connected to the
build.  As a result, the knob for disabling pkg_install also disabled
the pkg bootstrap tool

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

9 years agoMFC: r270005
rmacklem [Sun, 31 Aug 2014 12:21:40 +0000 (12:21 +0000)]
MFC: r270005
Try to clarify how file systems are exported for NFSv4.
This is a content change.

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

9 years agoMFC: r269788
rmacklem [Sat, 30 Aug 2014 20:26:30 +0000 (20:26 +0000)]
MFC: r269788
Document the use of the vfs.nfsd sysctls that control the size of
the NFS server's DRC for TCP.
This is a content change.

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

9 years agoMFC r270215: Add missing break.
ume [Sat, 30 Aug 2014 18:01:36 +0000 (18:01 +0000)]
MFC r270215: Add missing break.

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

9 years agoMFC r269873:
ume [Sat, 30 Aug 2014 18:00:13 +0000 (18:00 +0000)]
MFC r269873:
Fix broken pointer overflow check ns_name_unpack()

Many compilers may optimize away the overflow check `msg + l < msg',
where `msg' is a pointer and `l' is an integer, because pointer
overflow is undefined behavior in C.

Use a safe precondition test `l >= eom - msg' instead.

Reference:
https://android-review.googlesource.com/#/c/50570/

Requested by: pfg
Obtained from: NetBSD (CVS rev. 1.10)

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

9 years agoMFC r269867:
ume [Sat, 30 Aug 2014 17:56:58 +0000 (17:56 +0000)]
MFC r269867:
Update our stub resolver to final version of libbind
(libbind-6.0).

Obtained from: ISC

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

9 years agoMFC r264070 (partially), r264082:
ume [Sat, 30 Aug 2014 17:39:28 +0000 (17:39 +0000)]
MFC r264070 (partially), r264082:
Add 11.x symbol version namespace for stub resolver update.

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

9 years agoMFC r269865:
ume [Sat, 30 Aug 2014 17:32:30 +0000 (17:32 +0000)]
MFC r269865:
Bring the md5 functions into libc for internal use only.
It is required to support ID randomization for our stub
resolver.

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

9 years agoMFC: r269771
rmacklem [Sat, 30 Aug 2014 13:28:10 +0000 (13:28 +0000)]
MFC: r269771
Change the NFS server's printf related to hitting
the DRC cache's flood level so that it suggests
increasing vfs.nfsd.tcphighwater.

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

9 years agoMFC r270384:
delphij [Fri, 29 Aug 2014 13:37:01 +0000 (13:37 +0000)]
MFC r270384:

Update hptnr(4) driver to version 1.0.1 supplied by the vendor.

v1.0.1 2014-8-19
  * Do not retry the command and reset the disk when failed to enable or
    disable spin up feature.
  * Fix up a bug that disk failed to probe if driver failed to access the
    10th LBA.
  * Fix a bug that request timeout but it has been completed in certain
    cases.
  * Support smartmontool for R750.

Many thanks to HighPoint for continued support of FreeBSD!

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