]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
11 years agoSynced mdoc(7) with head.
ru [Thu, 26 Jul 2012 19:18:26 +0000 (19:18 +0000)]
Synced mdoc(7) with head.

Approved by: re (kib)

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

11 years agoMFC: r238393
brueffer [Thu, 26 Jul 2012 09:13:47 +0000 (09:13 +0000)]
MFC: r238393

Add and utilize defines for the ATA device register.

Approved by: re (kib)

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

11 years agoMFC r238700:
bz [Wed, 25 Jul 2012 19:18:28 +0000 (19:18 +0000)]
MFC r238700:

  Fix a bug introduced in r221129 that leads to a panic when using bundled
  SAs.  For now allow same address family bundles.

PR: kern/164400
Approved by: re (kib)

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

11 years agoMFC r238705:
wblock [Wed, 25 Jul 2012 13:05:11 +0000 (13:05 +0000)]
MFC r238705:

Correct ugen.4 to show that it has been integrated into usb(4).  Also
fix some punctuation errors.

Approved by: re (kib)

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

11 years agoMFC: r238574
brueffer [Wed, 25 Jul 2012 10:55:14 +0000 (10:55 +0000)]
MFC: r238574

Fix a small memory leak in mpssas_get_sata_identify().  The change has
been submitted upstream as well.

Approved by: re (kib)

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

11 years agoMFV r238744:
dougb [Tue, 24 Jul 2012 22:32:03 +0000 (22:32 +0000)]
MFV r238744:

Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure
in BIND9

High numbers of queries with DNSSEC validation enabled can cause an
assertion failure in named, caused by using a "bad cache" data structure
before it has been initialized.

CVE: CVE-2012-3817
Posting date: 24 July, 2012

Approved by: re (kib)

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

11 years agoMFC r238666:
mav [Mon, 23 Jul 2012 15:19:21 +0000 (15:19 +0000)]
MFC r238666:
Fix typo in bzero() length argument during sense fetching.
For me it at least fixed CD burning in PIO mode.

Approved by: re (kib)

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

11 years agoMerge r238637,r238640,r238641,r238642:
davidxu [Mon, 23 Jul 2012 09:33:31 +0000 (09:33 +0000)]
Merge r238637,r238640,r238641,r238642:

------------------------------------------------------------------------
r238637 | davidxu | 2012-07-20 09:56:14 +0800 (Fri, 20 Jul 2012) | 6 lines

Don't forget to release a thread reference count,
replace _thr_ref_add() with _thr_find_thread(),
so reference count is no longer needed.

------------------------------------------------------------------------
r238640 | davidxu | 2012-07-20 11:00:41 +0800 (Fri, 20 Jul 2012) | 2 lines

Eliminate duplicated code.

------------------------------------------------------------------------
r238641 | davidxu | 2012-07-20 11:16:52 +0800 (Fri, 20 Jul 2012) | 2 lines

Eliminate duplicated code.

------------------------------------------------------------------------
r238642 | davidxu | 2012-07-20 11:22:17 +0800 (Fri, 20 Jul 2012) | 2 lines

Don't assign same value.

Approved by: re (kib)

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

11 years agoMerge from head r238572, r238573:
glebius [Mon, 23 Jul 2012 09:19:14 +0000 (09:19 +0000)]
Merge from head r238572, r238573:
  ------------------------------------------------------------------------
  r238572 | glebius | 2012-07-18 12:41:00 +0400 (ср, 18 июл 2012) | 3 lines

  When traversing global in_ifaddr list in the IFP_TO_IA() macro, we need
  to obtain IN_IFADDR_RLOCK().

  ------------------------------------------------------------------------
  r238573 | glebius | 2012-07-18 12:58:30 +0400 (ср, 18 июл 2012) | 5 lines

  Plug a reference leak: before doing 'goto again' we need to unref
  ia->ia_ifa if there is any.

  Submitted by:   Andrey Zonov <andrey zonov.org>

Approved by: re (kib)

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

11 years agoMFC: r238621
marius [Sun, 22 Jul 2012 14:32:49 +0000 (14:32 +0000)]
MFC: r238621

Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user
data introduced in r236061 (MFC'ed to stable/9 in r237186). Using that
flag doesn't make that much sense on this case as the DMA maps using
it are also created during sym_pci_attach(). Moreover, due to the
maxsegsz parameter used, doing so may exhaust the bounce pages pool
on architectures requiring bounce pages. [1]
While at it, use a slightly more appropriate maxsegsz parameter.

PR: 169526
Submitted by: Mike Watters [1]
Approved by: re (kib)

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

11 years agoFix mergeinfo that should have been committed as part of r238683.
issyl0 [Sun, 22 Jul 2012 11:07:59 +0000 (11:07 +0000)]
Fix mergeinfo that should have been committed as part of r238683.

Approved by: gavin
Approved by: re (kib), implicit, approved in original merge request

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

11 years agoMFC r238063:
issyl0 [Sun, 22 Jul 2012 11:00:02 +0000 (11:00 +0000)]
MFC r238063:
 - Make ipfw's sched rules case insensitive, for user-friendliness.
 - Add a note to the ipfw(8) man page about the rules no longer being
 case sensitive.
 - Fix some typos in the man page.

PR: docs/164772
Reviewed by: bz
Approved by: gavin
Approved by: re (kib)

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

11 years agoMFC r238617:
kib [Sun, 22 Jul 2012 00:44:22 +0000 (00:44 +0000)]
MFC r238617:
Fix several reads beyond the mapped first page of the binary in the
ELF parser. Specifically, do not allow note reader and interpreter
path comparision in the brandelf code to read past end of the page.
This may happen if specially crafter ELF image is activated.

Approved by: re (hrs)

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

11 years agoMFC r231257, r238606:
gjb [Sat, 21 Jul 2012 01:07:05 +0000 (01:07 +0000)]
MFC r231257, r238606:

r231257 (kevlo):
Mention run(4)

r238606:
Xref mwl(4) and rum(4) in hostapd(8).

Approved by: re (kib)

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

11 years agoMFC r238550:
tuexen [Fri, 20 Jul 2012 09:49:50 +0000 (09:49 +0000)]
MFC r238550:

Fix a refcount bug when freeing an association.
While there: Change code to be consistent.

Discussed with: rrs
Approved by: re (kib)

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

11 years agoMFC r238527:
pgj [Fri, 20 Jul 2012 06:50:57 +0000 (06:50 +0000)]
MFC r238527:

  - Add support for displaying process stack memory regions.

Approved by: re (kib), rwatson

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

11 years agoMFC r238501, r 238514:
tuexen [Thu, 19 Jul 2012 09:32:59 +0000 (09:32 +0000)]
MFC r238501, r 238514:
Changes which improve compilation if neither INET nor INET6 is defined.

Allow netstat to be build if INET is not defined in the kernel.
Thanks to Garrett Cooper for reporting the issue.

This also fixes a bug where netstat doesn't work correctly for SCTP
on INET only (no INET6) kernels.

Approved by: re@

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

11 years agoMerge r230119, r238498 from head:
glebius [Wed, 18 Jul 2012 16:13:03 +0000 (16:13 +0000)]
Merge r230119, r238498 from head:

------------------------------------------------------------------------
r230119 | csjp | 2012-01-15 02:51:34 +0400 (вс, 15 янв 2012) | 9 lines

Revert to the old behavior of allocating table/table entries using
M_NOWAIT.  Currently, the code allows for sleeping in the ioctl path
to guarantee allocation.  However code also handles ENOMEM gracefully, so
propagate this error back to user-space, rather than sleeping while
holding the global pf mutex.

Reviewed by:    glebius
Discussed with: bz

------------------------------------------------------------------------
r238498 | glebius | 2012-07-15 23:10:00 +0400 (вс, 15 июл 2012) | 2 lines

Use M_NOWAIT while holding the pf giant lock.

Approved by: re (kib)

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

11 years agoMFC: r238363
brueffer [Wed, 18 Jul 2012 10:56:48 +0000 (10:56 +0000)]
MFC: r238363

- fix description of SECURITY_FREEZE_LOCK
- add missing underscores to SECURITY_DISABLE_PASSWORD

Approved by: re (hrs)

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

11 years agoMFC: r238486
brueffer [Wed, 18 Jul 2012 10:42:30 +0000 (10:42 +0000)]
MFC: r238486

Fix typo in a message.

Approved by: re (hrs)

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

11 years agoMFC r238475:
tuexen [Wed, 18 Jul 2012 09:16:59 +0000 (09:16 +0000)]
MFC r238475:
#ifdef INET and INET6 consistently. This also fixes a bug, where
it was done wrong.

Approved by: re@

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

11 years agoMFC r238220, r238272:
mjg [Wed, 18 Jul 2012 04:52:37 +0000 (04:52 +0000)]
MFC r238220, r238272:

Unbreak handling of descriptors opened with O_EXEC by fexecve(2).

While here return EBADF for descriptors opened for writing (previously it was ETXTBSY).

Add fgetvp_exec function which performs appropriate checks.

==

Follow-up commit to r238220:

Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for
!FWRITE anyway and may as well know about FREAD.

Make _fget code a bit more readable by converting permission checking from if()
to switch(). Assert that correct permission flags are passed.

PR: kern/169651
In collaboration with: kib
Approved by: re (hrs), trasz (mentor)

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

11 years agoMFC r237479, r238265
melifaro [Tue, 17 Jul 2012 19:29:32 +0000 (19:29 +0000)]
MFC r237479, r238265

Finally fix lookup (account remaining '\0') and deletion
(provide valid key length for radix lookup).

Submitted by:    Ihor Kaharlichenko<madkinder at gmail.com>  (prev version)
Approved by:     re(hrs), kib(mentor)
Sponsored by:    Shtorm ISP

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

11 years agoMFC r237203,r237223 (by phk):
kib [Tue, 17 Jul 2012 19:00:46 +0000 (19:00 +0000)]
MFC r237203,r237223 (by phk):
Fix writes to the video memory of the VGA to always use half-word sized
writes.

Approved by:    re (hrs), phk

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

11 years agoMFC r238429:
dim [Tue, 17 Jul 2012 18:04:34 +0000 (18:04 +0000)]
MFC r238429:

Pull in r159895 from upstream clang trunk:

  When marking virtual functions as used for a class' vtable, mark all functions
  which will appear in the vtable as used, not just those ones which were
  declared within the class itself. Fixes an issue reported as comment#3 in
  PR12763 -- we sometimes assert in codegen if we try to emit a reference to a
  function declaration which we've not marked as referenced. This also matches
  gcc's observed behavior.

This should fix clang assertions when building certain components of the
LibreOffice port.

Approved by: re (kib)

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

11 years agoMFC r238458:
tuexen [Tue, 17 Jul 2012 11:33:24 +0000 (11:33 +0000)]
MFC r238458:
Provide the correct notification type (SCTP_SEND_FAILED_EVENT)
for unsent messages.

Approved by: re@

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

11 years agoMFC r238454:
tuexen [Tue, 17 Jul 2012 11:18:39 +0000 (11:18 +0000)]
MFC r238454:

Bugfix: Send up a COMM UP notification for active 1-to-1 style sockets
      also in the case where the assoc comes up due to a remotely
      started handshake (collision case).
Approved by: re@

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

11 years agoMFC r238281:
ae [Mon, 16 Jul 2012 08:16:41 +0000 (08:16 +0000)]
MFC r238281:
  We don't need to check the result of sending signal when R flag is
  specified.

  Submitted by: Ilya A. Arkhipov

Approved by: re (kib)

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

11 years agoMFC r238328:
davidxu [Mon, 16 Jul 2012 02:10:26 +0000 (02:10 +0000)]
MFC r238328:

Executing CPUID with EAX set to 1 to actually get feature flags.
PR:     169730
Approved by:    re (kib)

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

11 years agoMFC r238168,238169: further dtrace disassembler fixes for long nop decoding
avg [Sun, 15 Jul 2012 20:38:02 +0000 (20:38 +0000)]
MFC r238168,238169: further dtrace disassembler fixes for long nop decoding

- segment-override prefixes are not invalid in long mode
- fix nopw (0f 1f) behavior with respect to modifiers

Reported by: emaste
Tested by: emaste
Obtained from: Illumos commit 13442:4adbe6de60c8
Approved by: re (kib)

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

11 years agoMerge r237929, r237930 from head:
glebius [Sun, 15 Jul 2012 19:52:23 +0000 (19:52 +0000)]
Merge r237929, r237930 from head:

  ------------------------------------------------------------------------
  r237929 | glebius | 2012-07-01 19:30:43 +0400 (вс, 01 июл 2012) | 6 lines

  In g_mirror_regular_request() upon successful delivery treat
  BIO_DELETE requests same way as BIO_WRITE removing them from
  queue. This fixes panic with BIO_DELETE operations on geom_mirror.

  Reviewed by:    pjd

  ------------------------------------------------------------------------
  r237930 | glebius | 2012-07-01 19:43:52 +0400 (вс, 01 июл 2012) | 20 lines

  Make geom_mirror more friendly to SSDs. To properly support TRIM,
  we need to pass BIO_DELETE requests down to providers that support
  it. Also, we need to announce our support for BIO_DELETE to upper
  consumer. This requires:

  - In g_mirror_start() return true for "GEOM::candelete" request.
  - In g_mirror_init_disk() probe below provider for "GEOM::candelete"
    attribute, and mark disk with a flag if it does support BIO_DELETE.
  - In g_mirror_register_request() distribute BIO_DELETE requests only
    to those disks, that do support it.

  Note that we announce "GEOM::candelete" as true unconditionally of
  whether we have TRIM-capable media down below or not. This is made
  intentionally, because upper consumer (usually UFS) requests the
  attribite only once at mount time. And if user ever migrates his
  mirror from HDDs to SSDs, then he/she would get TRIM working without
  remounting filesystem.

  Reviewed by:    pjd

Approved by: re (kib)

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

11 years agoMFH r237270: no need to specify passive mode, it is the default.
des [Sun, 15 Jul 2012 12:13:15 +0000 (12:13 +0000)]
MFH r237270: no need to specify passive mode, it is the default.

Approved by: re

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

11 years agoMFH r237269: switch default password hash to sha512.
des [Sun, 15 Jul 2012 12:00:47 +0000 (12:00 +0000)]
MFH r237269: switch default password hash to sha512.

Approved by:    re

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

11 years agoMFC r237573:
issyl0 [Sun, 15 Jul 2012 11:39:56 +0000 (11:39 +0000)]
MFC r237573:
 Add more locale-specific functions to the relevant man pages and
 Makefiles:
   - libc/stdtime/strftime.3
   - libc/stdtime/strptime.3
   - libc/stdlib/strfmon.3

Approved by: gabor (mentor)
Approved by: re (kib)

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

11 years agoMFH r236751: document sha256 / sha512 support
des [Sun, 15 Jul 2012 11:39:35 +0000 (11:39 +0000)]
MFH r236751: document sha256 / sha512 support
MFH r236892: remove mention of auth.conf from programs that don't use it
MFH r236963: remove dead code relating to auth.conf
MFH r236965 r236966 r236967 r237005 r237006 r237011: retire auth.conf

Approved by:    re

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

11 years agoMFC r238248:
bz [Sun, 15 Jul 2012 11:27:15 +0000 (11:27 +0000)]
MFC r238248:

 Implement handling of "atomic fragements" as outlined in
 draft-gont-6man-ipv6-atomic-fragments to mitigate one class of
 possible fragmentation-based attacks.

Approved by: re (kib)

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

11 years agoMFC: r234577
brueffer [Sun, 15 Jul 2012 11:26:24 +0000 (11:26 +0000)]
MFC: r234577

Remove duplicate -l description.

Approved by: re (kib)

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

11 years agoMFC r238222:
bz [Sun, 15 Jul 2012 11:13:09 +0000 (11:13 +0000)]
MFC r238222:

  As mentioned in the commit message of r237571 (copied from a prototype
  patch of mine) also check if the 2nd in6_setscope() failed and return
  the error in that case.

Approved by: re (kib)

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

11 years agoMFC: r237921
brueffer [Sun, 15 Jul 2012 10:55:43 +0000 (10:55 +0000)]
MFC: r237921

Similar to all.log, mention that /var/log/console.log has to be created
and chmod'ed to make logging work.

Approved by: re (kib)

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

11 years agoMFC r238313:
np [Sun, 15 Jul 2012 05:24:19 +0000 (05:24 +0000)]
MFC r238313:

Fix a bug in code that calculates the number of the first interrupt
vector for a port. This affected the gigabit ports of T422 cards (the
ones with 2x10G ports and 2x1G ports).

Approved by: re (kib)

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

11 years ago9.1-BETA1 builds done, shift back to PRERELEASE for the rest of the
kensmith [Sun, 15 Jul 2012 03:43:56 +0000 (03:43 +0000)]
9.1-BETA1 builds done, shift back to PRERELEASE for the rest of the
9.1 release cycle.

Approved by: re (implicit)

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

11 years agoReady for 9.1-BETA1 builds.
kensmith [Tue, 10 Jul 2012 19:10:39 +0000 (19:10 +0000)]
Ready for 9.1-BETA1 builds.

Approved by: re (implicit)

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

11 years agoAdjustments for 9.0 -> 9.1.
kensmith [Tue, 10 Jul 2012 19:08:56 +0000 (19:08 +0000)]
Adjustments for 9.0 -> 9.1.

Approved by: re (implicit)

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

11 years agoShift to "FreeBSD 9.1" for what gets printed in manual pages.
kensmith [Tue, 10 Jul 2012 19:05:27 +0000 (19:05 +0000)]
Shift to "FreeBSD 9.1" for what gets printed in manual pages.

Approved by: re (implicit)

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

11 years agoRe-enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The kernel
np [Mon, 9 Jul 2012 17:25:56 +0000 (17:25 +0000)]
Re-enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9.  The kernel
changes needed for all this to work have now been MFC'd to 9 by bz@.

This is a direct commit to stable/9 that removes earlier changes made to
drivers in this branch only.

Approved by: re (kib)

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

11 years agoMFC r238121:
tuexen [Mon, 9 Jul 2012 13:21:49 +0000 (13:21 +0000)]
MFC r238121:
Use CSUM_SCTP_IPV6 for IPv6.

Approved by: re@

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

11 years agoMerge r237162, r237163, r237164, r237226.
melifaro [Mon, 9 Jul 2012 11:53:06 +0000 (11:53 +0000)]
Merge r237162, r237163, r237164, r237226.

Fix improper L4 header handling for IPv6 packets passed via DLT_RAW.
Set netflow v9 observation domain value to fib number instead of node id.
This fixes multi-fib netflow v9 export.
Use time_uptime instead of getnanotime for accouting integer number of seconds.
Simplify IP pointer recovery in case of mbuf reallocation.

Approved by:     ae(mentor)
Approved by:     re

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

11 years agoMFC r237988:
kib [Mon, 9 Jul 2012 10:33:53 +0000 (10:33 +0000)]
MFC r237988:
Issue proper diagnostic on the short writes, also consider the
case of write reporting 0 bytes as short write.

Approved by: re (hrs)

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

11 years agoMFC r238173:
pfg [Mon, 9 Jul 2012 09:11:07 +0000 (09:11 +0000)]
MFC r238173:

Fix issue resizing bin/sh

This partially reverts some changes from r237448 that are causing
breakage when resizing under bin/sh .

Reverted changes from NetBSD are:

Mar 10 20:46:15 2009 - editline.3 read.c
make el_gets set the count to -1 on error to distinguish between EOF and
error.

Feb 19 15:20:22 2009 - read.c sig.c sig.h
reset and redraw on sigcont. From Anon Ymous.

Feb 15 21:24:13 2009
don't restart on EINTR, instead return NULL immediately. From Anon Ymous

PR: 169603
Reported by: Peter Jeremy, David Shao
MFC after: 3 days
Approved by: re

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

11 years agoMerge r234032 from head to stable/9:
rwatson [Mon, 9 Jul 2012 08:42:54 +0000 (08:42 +0000)]
Merge r234032 from head to stable/9:

  When allocation of labels on files is implicitly disabled due to MAC
  policy configuration, avoid leaking resources following failed calls
  to get and set MAC labels by file descriptor.

  Reported by: Mateusz Guzik <mjguzik at gmail.com> + clang scan-build

Approved by: re (kib)

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

11 years agoMerge r229521 from head to stable/9:
rwatson [Mon, 9 Jul 2012 08:27:04 +0000 (08:27 +0000)]
Merge r229521 from head to stable/9:

  Add missing -w to kgdb(1)'s usage().

  Sponsored by: Adara Networks, Inc.

Approved by: re (kib)

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

11 years agoMerge r231712 from head to stable/9:
rwatson [Sun, 8 Jul 2012 21:21:45 +0000 (21:21 +0000)]
Merge r231712 from head to stable/9:

  When initialising the CP0 status register during boot on 64-bit MIPS,
  set all three of the kernel, supervisor, and user-mode 64-bit mode
  flags.  While FreeBSD does not currently use the supervisor ring (and
  hence this is effectively a NOP on most systems), doing this avoids
  triggering an exception on 64-bit MIPS CPUs that don't support 32-bit
  compatibility mode, and therefore don't allow clearing the SX bit.

  Reviewed by:        gonzo
  Sponsored by:       DARPA, SRI International

Approved by:  re (kib)

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

11 years agoMerge r234034 from head to stable/9:
rwatson [Sun, 8 Jul 2012 20:41:54 +0000 (20:41 +0000)]
Merge r234034 from head to stable/9:

  Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor
  leak when iterating over possible audit trail directories.  This fix will
  be merged upstream in an identical form, but hasn't yet appeared in an
  OpenBSM release.

  Submitted by:   guido
  Obtained from:  TrustedBSD Project

Approved by: re (kib)

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

11 years agoMFC of 238149
jfv [Sun, 8 Jul 2012 20:39:00 +0000 (20:39 +0000)]
MFC of 238149

Approved by:re

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

11 years agoMFC of the e1000 drivers: 236406,238148,238151,238181, and 238214
jfv [Sun, 8 Jul 2012 20:35:56 +0000 (20:35 +0000)]
MFC of the e1000 drivers: 236406,238148,238151,238181, and 238214

Approved by:re

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

11 years agoFix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.
trociny [Sun, 8 Jul 2012 19:29:08 +0000 (19:29 +0000)]
Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.

Reviewed by: andre
Approved by: re (kib)

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

11 years agoMFC r237049:
tuexen [Sun, 8 Jul 2012 16:14:42 +0000 (16:14 +0000)]
MFC r237049:
Pass flowid explicitly through the stack instead of taking it from
the mbuf chain at different places.
While there: Fix several bugs related to VRFs.

Approved by: re@

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

11 years agoMFC r236956:
tuexen [Sun, 8 Jul 2012 16:11:16 +0000 (16:11 +0000)]
MFC r236956:
Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks.
While there: Fix also some minor bugs and prepare for SCTP/DTLS.

Approved by: re@

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

11 years agoMFC r236332:
tuexen [Sun, 8 Jul 2012 16:00:45 +0000 (16:00 +0000)]
MFC r236332:
Seperate SCTP checksum offloading for IPv4 and IPv6.
While there: remove some trainling whitespaces.

Approved by: re@

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

11 years agoMFC r236087:
tuexen [Sun, 8 Jul 2012 15:37:58 +0000 (15:37 +0000)]
MFC r236087:
Get rid of SCTP specific code to avoid CRC32C computations on loopback.
Just use offloading.

Approved by: re

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

11 years agoMFC r236170,236176:
bz [Sun, 8 Jul 2012 14:21:36 +0000 (14:21 +0000)]
MFC r236170,236176:

 It turns out that too many drivers are not only parsing the L2/3/4
 headers for TSO but also for generic checksum offloading.  Ideally we
 would only have one common function shared amongst all drivers, and
 perhaps when updating them for IPv6 we should introduce that.
 Eventually we should provide the meta information along with mbufs to
 avoid (re-)parsing entirely.

 To not break IPv6 (checksums and offload) and to be able to MFC the
 changes without risking to hurt 3rd party drivers, duplicate the v4
 framework, as other OSes have done as well.

 Introduce interface capability flags for TX/RX checksum offload with
 IPv6, to allow independent toggling (where possible).  Add CSUM_*_IPV6
 flags for UDP/TCP over IPv6, and reserve further for SCTP, and IPv6
 fragmentation.  Define CSUM_DELAY_DATA_IPV6 as we do for legacy IP and
 add an alias for CSUM_DATA_VALID_IPV6.

 This pretty much brings IPv6 handling in line with IPv4.
 TSO is still handled in a different way and not via if_hwassist.

 Update ifconfig to allow (un)setting of the new capability flags.
 Update loopback to announce the new capabilities and if_hwassist flags.

 Individual driver updates will have to follow, as will SCTP.

 Removed the IFCAP_ prefix when printing the IPv6 checksum capabilities.

Approved by: re

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

11 years agoMFC r236093:
bz [Sun, 8 Jul 2012 12:39:02 +0000 (12:39 +0000)]
MFC r236093:

 Trim the extra $FreeBSD$ from the comment below the license.  We use
 the __FBSDID() macro on the file now instead.

Approved by: re

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

11 years agoMFC r235950:
bz [Sun, 8 Jul 2012 12:36:44 +0000 (12:36 +0000)]
MFC r235950:

   Factor out the tcp_hc_getmtu() call.  As the comments say it
   applies to both v4 and v6, so only write it once making it easier
   to read the protocol family specifc code.

Approved by: re

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

11 years agoMFC r235953:
bz [Sun, 8 Jul 2012 12:34:12 +0000 (12:34 +0000)]
MFC r235953:

   No need to hold the (expensive) rt lock over (expensive) logging.

Approved by: re

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

11 years agoMFC r235986:
bz [Sun, 8 Jul 2012 12:30:25 +0000 (12:30 +0000)]
MFC r235986:

   Use M_ZERO with malloc rather than calling bzero() ourselves.

   Change if () panic() checks to KASSERT()s as they are only
   catching invariants in code flow but not dependent on network
   input/output.

   Move initial assigments indirecting pointers after the lock
   has been aquired.

   Passing layer boundries, reset M_PROTOFLAGS.

   Remove a NULL assignment before free.

Approved by: re

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

11 years agoMFC r235985:
bz [Sun, 8 Jul 2012 12:26:32 +0000 (12:26 +0000)]
MFC r235985:

   Properly protect the inp read access when handling the control code.
   In the past this was expensive but given the rlock it's not so much
   anymore.

Approved by: re

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

11 years agoMFC r235981,236394
bz [Sun, 8 Jul 2012 12:23:27 +0000 (12:23 +0000)]
MFC r235981,236394

 In case forwarding is turned on for a given address family, refuse to
 queue the packet for LRO and tell the driver to directly pass it on.
 This avoids re-assembly and later re-fragmentation problems when
 forwarding.

 It's not the best solution but the simplest and most effective for
 the moment.

 Make TCP LRO work properly with VIMAGE kernels rather than just panicing.
 There's no VIMAGE context set there yet as this is before if_ethersubr.c.

Approved by: re

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

11 years agoMFC r235962:
bz [Sun, 8 Jul 2012 12:17:56 +0000 (12:17 +0000)]
MFC r235962:

   Factor out Hop-By-Hop option processing.  It's still not heavily used,
   it reduces the footprint of ip6_input() and makes ip6_input() more
   readable.

Approved by: re

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

11 years agoMFC r235961:
bz [Sun, 8 Jul 2012 12:12:34 +0000 (12:12 +0000)]
MFC r235961:

   Add code to handle pre-checked TCP checksums as indicated by mbuf
   flags to save the entire computation for validation if not needed.

   In the IPv6 TCP output path only compute the pseudo-header checksum,
   set the checksum offset in the mbuf field along the appropriate flag
   as done in IPv4.

   In tcp_respond() just initialize the IPv6 payload length to 0 as
   ip6_output() will properly set it.

Approved by: re

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

11 years agoMFC r235960:
bz [Sun, 8 Jul 2012 12:01:11 +0000 (12:01 +0000)]
MFC r235960:

   Simple yet effective change enabling checksum "offload" on loopback
   for IPv6 to avoid expensive computations.

Approved by: re

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

11 years agoMFC r235959:
bz [Sun, 8 Jul 2012 11:57:11 +0000 (11:57 +0000)]
MFC r235959:

   Defer checksum calulations on UDP6 output and respect the mbuf
   flags set by NICs having done checksum validation for us already,
   thus saving the computing time in the input path as well.

Approved by: re

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

11 years agoMFC r235958,236130:
bz [Sun, 8 Jul 2012 11:53:13 +0000 (11:53 +0000)]
MFC r235958,236130:

   Add support for delayed checksum calculations in the IPv6
   output path.  We currently cannot offload to the card if we
   add extension headers (which incl. fragmentation).

   Fix two SCTP offload support copy&paste bugs: calculate
   checksums if fragmenting and no need to flag IPv4 header
   checksums in the IPv6 forwarding path.

 Correctly get the payload length in host byte order.  While we
 already plan to support >64k payload here, the IPv6 header payload
 length obviously is only 16 bit and the calculations need to be right.

Approved by: re

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

11 years agoMFC r235956:
bz [Sun, 8 Jul 2012 11:42:21 +0000 (11:42 +0000)]
MFC r235956:

   Hide the ip6aux functions.  The only one referenced outside ip6_input.c
   is not compiled in yet (__notyet__) in route6.c (r235954, r238231).
   We do have accessor functions that should be used.

Approved by: re

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

11 years agoMFC r235955:
bz [Sun, 8 Jul 2012 11:33:49 +0000 (11:33 +0000)]
MFC r235955:

   Simplify the code removing a return from an earlier else case,
   not differing from the default function return called now.

Approved by: re

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

11 years agoMFC r235954:
bz [Sun, 8 Jul 2012 11:28:33 +0000 (11:28 +0000)]
MFC r235954:

   We currently nowhere set IP6A_SWAP making the entire check useless
   with the current code.  Keep around but do not compile in.

Approved by: re

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

11 years agoMFC r235944:
bz [Sun, 8 Jul 2012 11:24:22 +0000 (11:24 +0000)]
MFC r235944:

   Significantly update tcp_lro for mostly two things:
   1) introduce basic support for IPv6 without extension headers.
   2) try hard to also get the incremental checksum updates right,
      especially also in the IPv4 case for the IP and TCP header.

   Move variables around for better locality, factor things out into
   functions, allow checksum updates to be compiled out, ...

   Leave a few comments on further things to look at in the future,
   though that is not the full list.

   Update drivers with appropriate #includes as needed for IPv6 data
   type in LRO.

Approved by: re

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

11 years agoMFC r235941:
bz [Sun, 8 Jul 2012 10:46:55 +0000 (10:46 +0000)]
MFC r235941:

   in_cksum.h required ip.h to be included for struct ip.  To be
   able to use some general checksum functions like in_addword()
   in a non-IPv4 context, limit the (also exported to user space)
   IPv4 specific functions to the times, when the ip.h header is
   present and IPVERSION is defined (to 4).

Approved by: re

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

11 years agoMFC r235924:
bz [Sun, 8 Jul 2012 10:29:01 +0000 (10:29 +0000)]
MFC r235924:

   Introduce a (for now copied stripped down) in6_cksum_pseudo()
   function.  We should be able to use this from in6_cksum() but
   we should also ponder possible MD specific improvements.
   It takes an extra csum argument to allow for easy checks as
   will be done by the upper layer protocol input paths.

Approved by: re

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

11 years agoMFC r235921:
bz [Sun, 8 Jul 2012 10:04:30 +0000 (10:04 +0000)]
MFC r235921:

   Optimize in6_cksum(), re-ordering work and limiting variable
   initialization, removing a bzero() for mostly re-initialized
   struct values, making use of the newly introduced in6_getscope(),
   as well as converting an if/panic to a KASSERT().

Approved by: re

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

11 years agoMFC r235916:
bz [Sun, 8 Jul 2012 09:49:01 +0000 (09:49 +0000)]
MFC r235916:

   Introduce in6_getscope() to allow more effective checksum
   computations without the need to copy the address to clear the
   scope.

Approved by: re

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

11 years agoMFC r235671:
bz [Sun, 8 Jul 2012 09:06:25 +0000 (09:06 +0000)]
MFC r235671:

   Allow tso4 and tso6 be set individually given we have the bits.
   This will help with drivers not working as expected during the
   transition time and later.

Approved by: re

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

11 years agoMFC r238071:
dim [Fri, 6 Jul 2012 17:42:34 +0000 (17:42 +0000)]
MFC r238071:

Fix clang warning, introduced in the recent dtrace import.

Approved by: re (kib)

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

11 years agoMFC r237581:
bjk [Fri, 6 Jul 2012 03:56:45 +0000 (03:56 +0000)]
MFC r237581:
  Explicitly mention that setting the change and expiry times to zero is
  equivalent to leaving the time unset. [1]

  Wordsmith in the compat support section.

  Use a full path to nologin(8) in the context of setting it as a user's shell,
  keeping a separate cross-reference.

PR: docs/169354 [1]
Approved by: re (hrs), hrs (mentor)

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

11 years agoMFC r237777
ache [Fri, 6 Jul 2012 01:32:53 +0000 (01:32 +0000)]
MFC r237777

Call set_terminal_mode() after video mode change, not before, because
video mode change always reset terminal mode to xterm.
It allows things like 'vidcontrol -T cons25 80x30' works as supposed,
and allows 'allscreens_flags="-T cons25 80x30"' in /etc/rc.conf too.

Approved by:    re (hrs)

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

11 years agoMFC r237636:
trasz [Thu, 5 Jul 2012 16:02:14 +0000 (16:02 +0000)]
MFC r237636:

Add manual page for bxe(4).

Approved by: re (kib)

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

11 years agoMFC r237661:
kib [Thu, 5 Jul 2012 15:41:31 +0000 (15:41 +0000)]
MFC r237661:
Add a test for number of CPUs configured/online.

Approved by: re (kensmith)

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

11 years agoMFC r238022:
mav [Thu, 5 Jul 2012 15:39:30 +0000 (15:39 +0000)]
MFC r238022:
Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm
device names to shorten them. PulseAudio reported to have problems with
names longer then 63 chars and at least in XMMS long names are inconvinient.

Approved by: re (kib)

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

11 years agoMFC r237660:
kib [Thu, 5 Jul 2012 15:38:32 +0000 (15:38 +0000)]
MFC r237660:
Optimize the handling of SC_NPROCESSORS_CONF, by using auxv AT_NCPU
value if present.

Approved by: re (kensmith)

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

11 years agoMFC r238015:
mav [Thu, 5 Jul 2012 15:35:59 +0000 (15:35 +0000)]
MFC r238015:
Add IDs for some USB controllers I have around. Just a cosmetics.

Approved by: re (kib)

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

11 years agoMFC r237659:
kib [Thu, 5 Jul 2012 15:34:55 +0000 (15:34 +0000)]
MFC r237659:
Ensure that for the object which is a dependency for some filtee,
relocations are performed before the object's initializer is called.

Approved by: re (kensmith)

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

11 years agoMFC r238011:
mav [Thu, 5 Jul 2012 15:32:31 +0000 (15:32 +0000)]
MFC r238011:
Restore GPIO config quirks handling, lost during last big refactoring.
This fixes sound from speakers on some laptops, including MacBook Pro.

Approved by: re (kib)

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

11 years agoMFC r237572:
trasz [Thu, 5 Jul 2012 13:45:23 +0000 (13:45 +0000)]
MFC r237572:

Add missing MLINKS for whatever -> if_whatever.

Approved by: re (kib)

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

11 years agoMFC r237901:
delphij [Wed, 4 Jul 2012 00:54:16 +0000 (00:54 +0000)]
MFC r237901:

tws(4) is interfaced with CAM so move it to the same section.

Reported by: joel
Approved by: re (kib)

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

11 years agoDo not enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The
np [Tue, 3 Jul 2012 22:17:36 +0000 (22:17 +0000)]
Do not enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9.  The
kernel code in 9 isn't quite ready for TSO6 yet.

This is a direct commit to stable/9.  IFCAP_TSO6 works properly in head
and there is no need to disable it over there.

Approved by: re (kib)

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

11 years agoMFC r238008:
wblock [Tue, 3 Jul 2012 16:49:38 +0000 (16:49 +0000)]
MFC r238008:

Add reference to portsnap(8).

Submitted by: Tim Kientzle
Approved by: re

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

11 years agoMFC 237878:
ken [Tue, 3 Jul 2012 15:37:36 +0000 (15:37 +0000)]
MFC 237878:

  r237878 | ken | 2012-06-30 23:32:26 -0600 (Sat, 30 Jun 2012) | 6 lines

  Now that the mps(4) driver is endian-safe, add it to the powerpc 32-bit
  GENERIC config file.

Requested by: nwhitehorn
Approved by: re (kensmith)

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

11 years agoMFC r237848:
kib [Tue, 3 Jul 2012 08:40:20 +0000 (08:40 +0000)]
MFC r237848:
Remove stray blank line.

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

11 years agoMFC 237847:
kib [Tue, 3 Jul 2012 08:23:22 +0000 (08:23 +0000)]
MFC 237847:
Do not test ki_stat as mask.

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

11 years agoMFC r237844, r237845, r237846:
kib [Tue, 3 Jul 2012 08:21:56 +0000 (08:21 +0000)]
MFC r237844, r237845, r237846:
Minor tweaks.

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

11 years agoMFC r238054:
np [Tue, 3 Jul 2012 07:03:14 +0000 (07:03 +0000)]
MFC r238054:
Fix inverted test that resulted in incorrect multicast hw programming.

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