Skip to content
Commits on Oct 13, 2009
  1. Remove all mergeinfo except on top level directory. It's not needed f…

    lstewart committed Oct 13, 2009
    …or my
    project branch.
  2. Merge r198022 from projects/tcp_cc_head:

    lstewart committed Oct 13, 2009
    Catch up with vimage changes.
Commits on Oct 10, 2009
  1. Merge r196045:197918 from stable/8.

    lstewart committed Oct 10, 2009
Commits on Oct 9, 2009
  1. Merge r195305:196045 from head.

    lstewart committed Oct 9, 2009
  2. @cbrueffer

    MFC: r197312

    cbrueffer committed Oct 9, 2009
    Fix setfib(1) section number.
    Approved by:	re (kib)
  3. @cbrueffer

    MFC: r197310

    cbrueffer committed Oct 9, 2009
    Fix mdoc, typos, contractions.
    Approved by:	re (kib)
  4. @cbrueffer

    MFC: r197300

    cbrueffer committed Oct 9, 2009
    Various mdoc, spelling etc fixes.
    Approved by:	re (kib)
  5. @cbrueffer

    MFC: r197276

    cbrueffer committed Oct 9, 2009
    Correct a sysctl name.
    Approved by:	re (kib)
  6. @cbrueffer

    MFC: r197275

    cbrueffer committed Oct 9, 2009
    Fix an xref.
    Approved by:	re (kib)
  7. @cbrueffer

    MFC: r197274

    cbrueffer committed Oct 9, 2009
    Fix the example, -w is the right switch for write failure probability.
    Approved by:	re (kib)
  8. @rwatson

    Merge r197814 from head to stable/8:

    rwatson committed Oct 9, 2009
      Remove tcp_input lock statistics; these are intended for debugging only
      and are not intended to ship in 8.0 as they dirty additional cache
      lines in a performance-critical per-packet path.
    Approved by:	re (kib, bz)
Commits on Oct 8, 2009
  1. MFC r197727:

    bz committed Oct 8, 2009
      Put #ifdef INET around parts of the FLOWTABLE code, to unbreak
      nooptions INET kernel builds.
    Approved by:	re (kib)
  2. @kostikbel

    MFC r197662:

    kostikbel committed Oct 8, 2009
    Do not dereference vp->v_mount without holding vnode lock and checking
    that the vnode is not reclaimed.
    Approved by:	re (bz)
  3. @rwatson

    Merge r197795 from head to stable/8:

    rwatson committed Oct 8, 2009
      In tcp_input(), we acquire a global write lock at first only if a
      segment is likely to trigger a TCP state change (i.e., FIN/RST/SYN).
      If we later have to upgrade the lock, we acquire an inpcb reference
      and drop both global/inpcb locks before reacquiring in-order.  In
      that gap, the connection may transition into TIMEWAIT, so we need
      to loop back and reevaluate the inpcb after relocking.
      Reported by:        Kamigishi Rei <spambox at>
      Reviewed by:        bz
    Approved by:	re (kib)
Commits on Oct 7, 2009
  1. MFC: revision 197730

    nyan committed Oct 7, 2009
      unifdef NFSCLIENT because the nlm depends on the nfsclient even if NFSCLIENT
      is not defined.
      Now the nfslockd module works with the nfsclient module.
      Reviewed by:	kib
    Approved by:	re (kensmith)
Commits on Oct 6, 2009
  1. MFC r197725:

    dougb committed Oct 6, 2009
    The 6bone was decommissioned on 6/6/06, so remove references to it.
    Approved by:	re (kib)
  2. @jillest

    MFC r197625: Fix using lp(1) without the new -t option after r194171.

    jillest committed Oct 6, 2009
    Approved by:	re (kib)
  3. MFC r197696

    qingli committed Oct 6, 2009
    Remove a log message from production code. This log message can be
    triggered by a misconfigured host that is sending out gratuious ARPs.
    This log message can also be triggered during a network renumbering
    event when multiple prefixes co-exist on a single network segment.
    Approved by:	re
  4. MFC 197695

    qingli committed Oct 6, 2009
    Previously, if an address alias is configured on an interface, and
    this address alias has a prefix matching that of another address
    configured on the same interface, then the ARP entry for the alias
    is not deleted from the ARP table when that address alias is removed.
    This patch fixes the aforementioned issue.
    PR:		kern/139113
    Reviewed by:	bz
    Approved by:	re
  5. MFC r197687

    qingli committed Oct 6, 2009
    The flow-table associates TCP/UDP flows and IP destinations with
    specific routes. When the routing table changes, for example,
    when a new route with a more specific prefix is inserted into the
    routing table, the flow-table is not updated to reflect that change.
    As such existing connections cannot take advantage of the new path.
    In some cases the path is broken. This patch will update the affected
    flow-table entries when a more specific route is added. The route
    entry is properly marked when a route is deleted from the table.
    In this case, when the flow-table performs a search, the stale
    entry is updated automatically. Therefore this patch is not
    necessary for route deletion.
    Reviewed by:	bz, kmacy
    Approved by:	re
  6. @xorrkaz

    Properly record merginfo for r197681 into lib/libc instead of lib/lib…

    xorrkaz committed Oct 6, 2009
    Kib didn't see the previous commit before I committed it.  I had assumed
    implicit approval when he requested the merginfo.  So pointhats to me
    all around.  This commit was reviewed by kib.
    Approved by:	re (kib)
  7. MFC: r197403, r197644, r197654, and r197659

    cokane committed Oct 6, 2009
    Fix some unexpected potential NULL de-references in kernel mode due to
    usage of pre-8.0 wifi operations with the ndis driver wrapping a Win32/64
    wifi driver.
    Submitted by:	Paul B Mahol <>
    Approved by:	re
Commits on Oct 5, 2009
  1. MFC r197461:

    yongari committed Oct 5, 2009
      Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply
      alignment fixup code for received frames on strict alignment
    MFC r197463:
      Consistently use bus_addr_t.
    MFC r197464:
      Destroy dmamap in dma cleanup.
    MFC r197465:
      Align Tx/Rx descriptors on 32 bytes boundary instead of PAGE_SIZE.
      Also align setup descriptor on 32 bytes boundary. Tx buffer have no
      alignment limitation so create dmamap without alignment
      restriction[1]. Rx buffer still seems to require 4 bytes alignment
      limitation but we can simply use MCLBYTES for size to map the
      buffer instead of TULIP_DATA_PER_DESC as the buffer is allocated
      with m_getcl(9).
      de(4) supports up to TULIP_MAX_TXSEG segments for Tx buffers,
      increase maximum dma segment size to TULIP_MAX_TXSEG * MCLBYTES.
      While I'm here remove TULIP_DATA_PER_DESC as it is not used anymore.
      This should fix de(4) breakage introduced after r176206.
      Submitted by:	jhb [1]
      Reported by:	WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp >
      Tested by:	WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp >,
    		Takahashi Yoshihiro < nyan <> jp dot freebsd dot org >
    Approved by:	re (kib)
  2. MFC:197645

    gallatin committed Oct 5, 2009
    Two more mxge watchdog fixes
    1) Restore the PCI Express control register after a watchdog
       reset.  This is required because the device will come out
       of watchdog reset with the pectl reg at its default state,
       and important BIOS configuration (like max payload size)
       could be lost.
    2) Call mxge_start_locked() for every tx queue before dropping
       the lock in the watchdog handler.   This is required, as
       the queue's buf ring may have filled during the reset.
    Approved by:	re (kib)
  3. MFC: revision 197709

    nyan committed Oct 5, 2009
      Fix build nfscl and/or nfsd.
    Approved by:	re (kib)
Commits on Oct 4, 2009
  1. @xorrkaz

    MFC: rev. 197681

    xorrkaz committed Oct 4, 2009
    Correct the pthread stub prototype for pthread_mutexattr_settype to allow for
    the type argument.  This is known to fix some pthread_mutexattr_settype()
    invocations, especially when it comes to pulseaudio.
    Approved by:	re (kib)
  2. @thompsa

    MFC r197682

    thompsa committed Oct 4, 2009
     EHCI Hardware BUG workaround
     The EHCI HW can use the qtd_next field instead of qtd_altnext when a short
     packet is received. This contradicts what is stated in the EHCI datasheet.
     Also the total-bytes field in the status field of the following TD gets
     corrupted upon reception of a short packet!  We work this around in software by
     not queueing more than one job/TD at a time of up to 16Kbytes! The bug has been
     seen on multiple INTEL based EHCI chips.  Other vendors have not been tested
     - Applications using /dev/usb/X.Y.Z, where Z is non-zero are affected, but not
       applications using LibUSB v0.1, v1.2 and v2.0.
     - Mass Storage (umass) is affected.
    Approved by:	re (kib)
  3. @kostikbel

    MFC r197663:

    kostikbel committed Oct 4, 2009
    As a workaround, for Intel CPUs, do not use CLFLUSH in
    pmap_invalidate_cache_range() when self-snoop is apparently not reported
    in cpu features.
    Approved by:	re (bz, kensmith)
  4. @kostikbel

    MFC r197661:

    kostikbel committed Oct 4, 2009
    Move the annotation for vm_map_startup() immediately before the function.
    Approved by:	re (bz, kensmith)
  5. @kostikbel

    MFC r197660:

    kostikbel committed Oct 4, 2009
    Fix typo.
    Approved by:	re (bz, kensmith)
  6. @delphij

    MFC revision 197683:

    delphij committed Oct 4, 2009
    Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old
    format ZFS, as defined in the manual page.
    Submitted by:	pjd (response of my original patch but bugs are mine)
    Approved by:	re (kib)
Commits on Oct 3, 2009
  1. MFC: revision 197657

    nyan committed Oct 3, 2009
      MFi386: revision 197653
        Improve 802.11s comment.
    Approved by:	re (bz)
Commits on Oct 2, 2009
  1. MFC: r197490

    marius committed Oct 2, 2009
    Merge r194204 from amd64/i386:
    Enable PRINTF_BUFR_SIZE by default.
    PR:		139134
    Approved by:	re (kib)
  2. @simonlbn

    MFC r197711:

    simonlbn committed Oct 2, 2009
    Add no zero mapping feature.
    NOTE: Unlike in the other branches where this change will be "merged"
    to, the 'no zero mapping' is enabled by default in stable/8.
    Errata:		FreeBSD-EN-09:05.null
    Approved by:	re (kib)
  3. MFC r197580

    alc committed Oct 2, 2009
      Temporarily disable the use of 1GB page mappings by the direct map.
    Approved by:	re (kib)
Something went wrong with that request. Please try again.