]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/log
FreeBSD/releng/9.2.git
10 years agoBump entity versions.
gjb [Thu, 26 Sep 2013 16:07:30 +0000 (16:07 +0000)]
Bump entity versions.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255889 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoTrim the release notes article to the basics, purely for inclusion
gjb [Thu, 26 Sep 2013 15:46:32 +0000 (15:46 +0000)]
Trim the release notes article to the basics, purely for inclusion
in the release build.  The release notes will be updated on the
website as normal.

Discussed with: hrs
Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255888 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Bump Copyright year
gjb [Thu, 26 Sep 2013 15:17:49 +0000 (15:17 +0000)]
- Bump Copyright year
- Trim old entries from releng/9.1

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255886 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Bump Copyright year
gjb [Thu, 26 Sep 2013 14:41:53 +0000 (14:41 +0000)]
- Bump Copyright year

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Bump Copyright year
gjb [Thu, 26 Sep 2013 14:39:13 +0000 (14:39 +0000)]
- Bump Copyright year
- Trim old entries from releng/9.1
- Update URLs for 9.2 where needed
- Note CVS/cvsup are not supported methods to update src/

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255884 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Bump Copyright year
gjb [Thu, 26 Sep 2013 14:30:02 +0000 (14:30 +0000)]
- Bump Copyright year
- Trim old entries from the releng/9.1 branch

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255883 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoUpdate releng/9.2 to -RC4.
gjb [Wed, 11 Sep 2013 00:42:50 +0000 (00:42 +0000)]
Update releng/9.2 to -RC4.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255465 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoReintegrate r250907 (previously reverted as r254754) plus MFS r254947,
gjb [Tue, 10 Sep 2013 19:00:32 +0000 (19:00 +0000)]
Reintegrate r250907 (previously reverted as r254754) plus MFS r254947,
r255443:

r250907 (scottl):
  MFC r248830, r250027, r250409: Several fixes and improvements
  to sendfile()

r254947 (kib):
  NFS implementation of VOP_READ() sometimes upgrades the vnode lock,
  which causes drop of the shared lock and sleep for exclusive.  As
  result, busying of the page before the call to vn_rdwr() makes NFS
  code to wait for vnode lock while page is busy, which contradicts the
  proper order of vnode lock -> busy.

r255443 (des):
  Fix the length calculation for the final block of a sendfile(2)
  transmission which could be tricked into rounding up to the nearest
  page size, leaking up to a page of kernel memory.  [13:11]

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

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoIn IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
des [Tue, 10 Sep 2013 10:08:20 +0000 (10:08 +0000)]
In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR
and SIOCSIFNETMASK at the socket layer rather than pass them on to the
link layer without validation or credential checks.  [SA-13:12]

Prevent cross-mount hardlinks between different nullfs mounts of the
same underlying filesystem.  [SA-13:13]

Security: CVE-2013-5691
Security: FreeBSD-SA-13:12.ifioctl
Security: CVE-2013-5710
Security: FreeBSD-SA-13:13.nullfs
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255444 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS r255435: MFC r255320:
delphij [Tue, 10 Sep 2013 01:38:41 +0000 (01:38 +0000)]
MFS r255435: MFC r255320:

Return BUS_PROBE_DEFAULT instead of BUS_PROBE_SPECIFIC.

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255436 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFH (r255243): create /var/authpf with correct ownership and permissions.
des [Sun, 8 Sep 2013 19:29:45 +0000 (19:29 +0000)]
MFH (r255243): create /var/authpf with correct ownership and permissions.

Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255401 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFH (r254684, r254955): fix segfault on reload.
des [Sun, 8 Sep 2013 18:27:26 +0000 (18:27 +0000)]
MFH (r254684, r254955): fix segfault on reload.
MFH (r255156): silence an error message on non-IPv6 interfaces.

Approved by:    re (glebius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255398 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS9 r255306:
dim [Fri, 6 Sep 2013 15:38:40 +0000 (15:38 +0000)]
MFS9 r255306:
MFC r245428:

Add CLOCK_PROCESS_CPUTIME_ID to <time.h>, to synchronize the CLOCK_*
values with those in <sys/time.h>.  Otherwise, if a program includes
<time.h> before <sys/time.h>, the CLOCK_PROCESS_CPUTIME_ID macro never
gets defined.

Reviewed by: davidxu
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255308 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS of 255104:
mckusick [Thu, 5 Sep 2013 04:00:48 +0000 (04:00 +0000)]
MFS of 255104:
MFC of 253998:

This bug fix is in a code path in rename taken when there is a
collision between a rename and an open system call for the same
target file. Here, rename releases its vnode references, waits for
the open to finish, and then restarts by reacquiring its needed
vnode locks. In this case, rename was unlocking but failing to
release its reference to one of its held vnodes. The effect was
that even after all the actual references to the vnode had gone,
the vnode still showed active references. For files that had been
removed, their space was not reclaimed until the filesystem was
forcibly unmounted.

This bug manifested itself in the Postgres server which would
leak/lose hundreds of files per day amounting to many gigabytes of
disk space. This bug required shutting down Postgres, forcibly
unmounting its filesystem, remounting its filesystem and restarting
Postgres every few days to recover the lost space.

Reported by: Dan Thomas and Palle Girgensohn
Bug-fix by:  kib
Tested by:   Dan Thomas and Palle Girgensohn

Approved by: re@ (Marius Strobl <marius@freebsd.org>)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255231 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoReduce the disc1.iso image size by setting WITHOUT_CLANG=1 for the
gjb [Wed, 4 Sep 2013 18:20:24 +0000 (18:20 +0000)]
Reduce the disc1.iso image size by setting WITHOUT_CLANG=1 for the
'system' target.  Since clang is not enabled by default for releng/9.2,
this has no user visible changes by default.

This brings 9.2-R* well enough below the 700MB mark so that we do not
need to be concerned with it fitting on standard CD-ROM medium.

This is a direct commit to releng/9.2, pending further review for head/
and stable/9/.

Discussed with: delphij, hrs
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS9 r254953, itself an MFC of r254942 and r254952:
dteske [Thu, 29 Aug 2013 15:29:48 +0000 (15:29 +0000)]
MFS9 r254953, itself an MFC of r254942 and r254952:
Make alternate layout ``opt-in'' and add support for named releases.
Minor edit to version.4th(8) manual and stack-leak fixes while here.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS9 r254966:
dteske [Thu, 29 Aug 2013 15:12:58 +0000 (15:12 +0000)]
MFS9 r254966:
Add missing mergeinfo from head for stabe/9 revisions: 252995 253168 253169

Reviewed by: gjb
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoUpdate releng/9.2 to -RC3.
gjb [Sat, 24 Aug 2013 16:17:33 +0000 (16:17 +0000)]
Update releng/9.2 to -RC3.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoDefault net.inet.tcp.experimental.initcwnd10 to 0 in releng/9.2.
gjb [Sat, 24 Aug 2013 15:09:05 +0000 (15:09 +0000)]
Default net.inet.tcp.experimental.initcwnd10 to 0 in releng/9.2.

Concerns have been raised regarding enabling initcwnd10 by default
in the stable/ branch, so as a cautionary measure, turn this off
for the 9.2-RELEASE.  This sysctl is still available for those
who want to enable this on their own systems.

This is a direct commit to releng/9.2.

Discussed with: re
Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS r254728:
emaste [Sat, 24 Aug 2013 14:33:11 +0000 (14:33 +0000)]
MFS r254728:

  Pull in r182983 from upstream clang trunk:

    Fix handling of braced-init-list as reference initializer within
    aggregate initialization. Previously we would incorrectly require an
    extra set of braces around such initializers.

  Pull in r188718 from upstream clang trunk:

    Handle init lists and _Atomic fields.

    Fixes PR16931.

  These fixes are needed for the atomic_flag type to work correctly in our
  stdatomic.h.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254786 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMF9 r254783: Correct implementation of atomic_flag_test_and_set
emaste [Sat, 24 Aug 2013 13:58:17 +0000 (13:58 +0000)]
MF9 r254783: Correct implementation of atomic_flag_test_and_set

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254785 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoRevert r250907 from releng/9.2:
gjb [Sat, 24 Aug 2013 00:26:15 +0000 (00:26 +0000)]
Revert r250907 from releng/9.2:

 Reports of NFS deadlocks on -stable@ suggest that reverting
 this change resolves the problem.

 This is a direct reverse-merge to releng/9.2, pending further
 review and analysis on the stable/9 branch.

Approved by: re (marius)
Discussed on: stable

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFix an integer overflow in computing the size of a temporary buffer
delphij [Thu, 22 Aug 2013 00:51:43 +0000 (00:51 +0000)]
Fix an integer overflow in computing the size of a temporary buffer
can result in a buffer which is too small for the requested
operation.

Security: CVE-2013-3077
Security: FreeBSD-SA-13:09.ip_multicast
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254630 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254008,254262: Improve the MSIX setup logic, making sure the requested
jfv [Tue, 20 Aug 2013 17:50:30 +0000 (17:50 +0000)]
MFC r254008,254262:  Improve the MSIX setup logic, making sure the requested
number of vectors are actually obtained, and if not cleaning up before falling
back to MSI. Also make the fallback decision as early as possible.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254573 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254397:
gjb [Tue, 20 Aug 2013 01:14:16 +0000 (01:14 +0000)]
MFC r254397:
  Mark the makefs(8) '-p' flag as deprecated in preference for
  the '-Z' flag for compatibility with NetBSD.

Approved by: re (rodrigc)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254525:
gjb [Mon, 19 Aug 2013 14:42:39 +0000 (14:42 +0000)]
MFC r254525:
 Add entry for packages-9.2-release directory.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254530 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFS9 SVN r254331:
dteske [Thu, 15 Aug 2013 15:34:26 +0000 (15:34 +0000)]
MFS9 SVN r254331:
Add optional support for default override of standard setup; but only if
corresponding functions are provided. If override function does not exist,
boot remains unmodified. This patch should not result in any changes.

This includes changes to take advantage of the new functionality.

Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoUpdate releng/9.2 to -RC2.
gjb [Thu, 15 Aug 2013 14:41:39 +0000 (14:41 +0000)]
Update releng/9.2 to -RC2.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254368 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r254366:
ae [Thu, 15 Aug 2013 14:33:09 +0000 (14:33 +0000)]
Merge r254366:
  Make the check for number of entries less strict.
  Some partitioning tools can create GPT with number of entries less
  than 128.

Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254367 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago Merge r254306:
scottl [Thu, 15 Aug 2013 12:19:16 +0000 (12:19 +0000)]
 Merge r254306:

 Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI
 command register.  The lazy BAR allocation code in FreeBSD sometimes
 disables this bit when it detects a range conflict, and will re-enable
 it on demand when a driver allocates the BAR.  Thus, the bit is no longer
 a reliable indication of capability, and should not be checked.  This
 results in the elimination of a lot of code from drivers, and also gives
 the opportunity to simplify a lot of drivers to use a helper API to set
 the busmaster enable bit.

 This changes fixes some recent reports of disk controllers and their
 associated drives/enclosures disappearing during boot.

Submitted by: jhb
Reviewed by: jfv, marius, adrian, achim
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254364 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254265:
gjb [Thu, 15 Aug 2013 10:38:10 +0000 (10:38 +0000)]
MFC r254265:
 Make sure bootonly.iso for -BETAs and -RCs use the releases/
 directory on the FTP mirrors to fetch distributions, since
 these are always pushed to releases/ during the release cycle.

Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254361 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r253853:
jlh [Thu, 15 Aug 2013 08:12:16 +0000 (08:12 +0000)]
MFC r253853:
  Include /usr/local/etc/libmap.d/ by default.

  PR:             180568
  Reviewed by:    bapt
  Obtained from:  kib

Approved by:      re (delphij)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254352:
tuexen [Thu, 15 Aug 2013 05:14:20 +0000 (05:14 +0000)]
MFC r254352:
Don't send uninitialized memory (two instances of 4 bytes) in
every cookie on the wire. This bug was reported in
https://bugzilla.mozilla.org/show_bug.cgi?id=905080

Approved by: re@

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254355 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags
gshapiro [Thu, 15 Aug 2013 01:31:31 +0000 (01:31 +0000)]
MFC: Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags
     to prevent problems between the resolver and Microsoft DNS servers with
     AAAA lookups.  The upstream open source project will work on a more
     permanent fix for the next release.  Issue noted by Pavel Timofeev.

Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254346 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 254132, 254270:
erwin [Wed, 14 Aug 2013 06:06:39 +0000 (06:06 +0000)]
MFC 254132, 254270:
  Add empty zones for Shared Address Space (RFC 6598)

Approved by:  re (glebius), delphij (mentor)
Sponsored by: DK Hostmaster A/S

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoSynchronize releng/9.2 Forth code with stable/9 via MFS of 2 revisions:
dteske [Mon, 12 Aug 2013 01:21:14 +0000 (01:21 +0000)]
Synchronize releng/9.2 Forth code with stable/9 via MFS of 2 revisions:

First, MFS of SVN r254109: itself an MFC of 22 revisions:
227727, 233941, 235560, 238431, 241310, 241361, 241363, 241365, 241367,
241523, 242667-242669, 242923, 243114, 243660, 244048, 244089, 244158,
253715, 254105, and 254108.

This includes critical fixes that sadly should have been merged prior.
Namely, SVN r244158 fixes a possible regression.

Second, MFS of SVN r254146: Itself an MFC of r242688.

Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254235 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r254004
marius [Fri, 9 Aug 2013 18:57:18 +0000 (18:57 +0000)]
MFC: r254004

As it turns out, MSIs are broken with 2820SA so introduce an AAC_FLAGS_NOMSI
quirk and apply it to these controllers [1]. The same problem was reported
for 2230S, in which case it wasn't actually clear whether the culprit is the
controller or the mainboard, though. In order to be on the safe side, flag
MSIs as being broken with the latter type of controller as well. Given that
these are the only reports of MSI-related breakage with aac(4) so far and
OSes like OpenSolaris unconditionally employ MSIs for all adapters of this
family, however, it doesn't seem warranted to generally disable the use of
MSIs in aac(4).
While at it, simplify the MSI allocation logic a bit; there's no need to
check for the presence of the MSI capability on our own as pci_alloc_msi(9)
will just fail when these kind of interrupts are not available.
Reported and tested by: David Boyd [1]

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254154 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoAutomate inet option file creation for module build, change module name to
jfv [Fri, 9 Aug 2013 16:34:12 +0000 (16:34 +0000)]
Automate inet option file creation for module build, change module name to
if_ixgbe, this sync's the Makefile with HEAD.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge alignment fix for libcxxrt header.
theraven [Fri, 9 Aug 2013 11:26:26 +0000 (11:26 +0000)]
Merge alignment fix for libcxxrt header.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254140 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r254075 from stable/9. This fixes the ISO images.
marcel [Fri, 9 Aug 2013 05:27:38 +0000 (05:27 +0000)]
Merge r254075 from stable/9. This fixes the ISO images.

Approved by: re (gjb@)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoSync-up bsdinstall(8)/bsdconfig(8) list of mirrors.
dteske [Thu, 8 Aug 2013 21:35:26 +0000 (21:35 +0000)]
Sync-up bsdinstall(8)/bsdconfig(8) list of mirrors.

SVN r253543:
Update mirror list to more closely match
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

SVN r253545:
Sync-up with bsdinstall(8) FTP mirrorselect changes.

SVN r253566:
Remove ftp2.tr.freebsd.org, it is out of date.

Reviewed by: gavin
Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254103 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoSync-up bsdinstall(8)/bsdconfig(8) list of mirrors.
dteske [Thu, 8 Aug 2013 21:33:54 +0000 (21:33 +0000)]
Sync-up bsdinstall(8)/bsdconfig(8) list of mirrors.

SVN r253543:
Update mirror list to more closely match
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

SVN r253545:
Sync-up with bsdinstall(8) FTP mirrorselect changes.

SVN r253566:
Remove ftp2.tr.freebsd.org, it is out of date.

Reviewed by: gavin
Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 253887,253977:
hrs [Thu, 8 Aug 2013 20:30:22 +0000 (20:30 +0000)]
MFC 253887,253977:

- Use pget(PGET_CANDEBUG | PGET_NOTWEXIT) to determine if the specified
  PID is valid for monitoring in FILEMON_SET_PID ioctl.

- Set the monitored PID to -1 when the process exits.

Suggested by: jilles
Tested by: sjg
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254101 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 253176,253179: make sure the rxbuf->flags is cleared when the RX ring is reset
jfv [Thu, 8 Aug 2013 18:16:13 +0000 (18:16 +0000)]
MFC 253176,253179: make sure the rxbuf->flags is cleared when the RX ring is reset

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoRevert the MFC of the r244237, done as r244806. There are indeed bugs
kib [Wed, 7 Aug 2013 10:07:55 +0000 (10:07 +0000)]
Revert the MFC of the r244237, done as r244806.  There are indeed bugs
in XEN pmap.  The revert hides a panic with the cost of non-working
vfork(2), which means more obscure misbehaviour in the usermode.
Revert is only done on the stable branch to maintain the consistent
erratic behaviour.

PR: kern/180788
Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254054 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoWhen the igb driver is static there are cases when early interrupts occur,
jfv [Tue, 6 Aug 2013 21:16:00 +0000 (21:16 +0000)]
When the igb driver is static there are cases when early interrupts occur,
resulting in a panic in refresh_mbufs, to prevent this add a check to the
interrupt handler for DRV_RUNNING.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254009 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 253048,253423,253449,253653,253774,253785:
jhb [Tue, 6 Aug 2013 20:04:44 +0000 (20:04 +0000)]
MFC 253048,253423,253449,253653,253774,253785:
- Allow mlx4 devices to switch between Ethernet and Infiniband:
  - Fix sysfs attribute handling by using sysctl_handle_string() and
    properly handling trailing newlines in attribute values.
  - Remove check forbidding requests that would result in one port being
    set to Ethernet and the subsequent port being set to IB.
- Avoid trashing IP fragments by correctly managing hardware checksumming.
- Fix panics when downing or unloading the mlx4 driver.

PR: kern/179999, kern/174213, kern/180430, kern/180791
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r253865: Fixes to RX_COPY optimization code allowing the removal of rearm_queues
jfv [Tue, 6 Aug 2013 17:22:06 +0000 (17:22 +0000)]
MFC r253865: Fixes to RX_COPY optimization code allowing the removal of rearm_queues
             routine used in the local_timer.
    r253965: Correct the queue mask bit clearing in the link irq handler.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254001 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years ago- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
gjb [Sat, 3 Aug 2013 12:41:21 +0000 (12:41 +0000)]
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
- Update branch name to -RC1.
- Bump __FreeBSD_version.

Approved by: kib (mentor, implicit)
Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@253912 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f