Permalink
Switch branches/tags
Nothing to show
Commits on Apr 26, 2017
  1. When a SYN-ACK is received in SYN-SENT state, RFC 793 requires the

    validation of SEG.ACK as the first step. If the ACK is not acceptable,
    a RST segment should be sent and the segment should be dropped.
    Up to now, the segment was partially processed.
    This patch moves the check for the SEG.ACK validation up to the front
    as required.
    Reviewed by:		hiren, gnn
    MFC after:		1 week
    Sponsored by:		Netflix, Inc.
    Differential Revision:	https://reviews.freebsd.org/D10424
    tuexen committed Apr 26, 2017
  2. [net80211] [wlanwds] allow logging to stderr as well as syslog.

    By default this logs to syslog only, not stderr.  It makes it difficult
    to debug exactly what's going on.  So allow '-e' to log to stderr so I
    have a chance of actually debugging wlanwds /dynamic WDS (DWDS) issues.
    adrian committed Apr 26, 2017
  3. Remove entry for r304436 removed in r316527.

    Sponsored by:	Dell EMC Isilon
    bdrewery committed Apr 26, 2017
  4. Fix SP refcount leak.

    PCB SP cache acquires extra reference, when SP is stored in the cache.
    Release this reference when PCB is destroyed in ipsec_delete_pcbpolicy().
    In ipsec_copy_pcbpolicy() release reference to SP in case if sp_in or
    sp_out are not NULL.
    
    Reported by:	Slawa Olhovchenkov <slw at zxy spb ru>
    MFC after:	1 week
    bu7cher committed Apr 26, 2017
Commits on Apr 25, 2017
  1. In arm_gicv2m_alloc_msi(), if we found a suitable irq range, leave th…

    …e loop
    
    before we increase irq again, or we'd end up choosing an irq, and then
    really using the next one, even if it's not available.
    Also in the inner loop, correct the end check so that we check every irq,
    even the last one.
    This makes the msk(4) adapter able to use MSI on Softiron Overdrive 1000.
    cognet committed Apr 25, 2017
  2. Remove the source to digi(4).

    This was forgotten when the driver was removed in r305235.
    bsdjhb committed Apr 25, 2017
  3. Remove the LSOL26CALLS_SEL constant.

    It is no longer used after SVR4/i386 ABI support was removed.
    
    Reported by:	kib
    bsdjhb committed Apr 25, 2017
  4. Remove NATM configuration bits and assorted NATM and ATM remnants.

    Reported by:	ak
    Reviewed by:	ngie (first version)
    Differential Revision:	https://reviews.freebsd.org/D10497
    brooksdavis committed Apr 25, 2017
  5. Remove unnecessary check for NULL mbuf in soreceive_generic().

    This check has been redundant since it was introduced in r162554.
    
    Reviewed by:	emaste, glebius
    MFC after:	1 week
    Differential Revision:	https://reviews.freebsd.org/D10322
    pkelsey committed Apr 25, 2017
  6. Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

    When this option is enabled, only gdb and kgdb are installed to
    /usr/libexec for use by crashinfo(8). Other bits of GDB such as
    gdbserver and gdbtui are not installed. For this option to be
    effective, GDB must be enabled.
    
    Rework r317094 to re-enable GDB on all platforms but enable
    GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
    functionality.
    
    Reviewed by:	emaste, kib
    Suggested by:	kib
    Relnotes:	yes
    Differential Revision:	https://reviews.freebsd.org/D10449
    bsdjhb committed Apr 25, 2017
  7. Remove an incorrect MLINK for tree(3) introduced in r310728.

    Reported by:	many
    PR:		216476
    MFC after:	3 days
    Sponsored by:	The FreeBSD Foundation
    gjb committed Apr 25, 2017
  8. MFV 316894

    7252 7628 compressed zfs send / receive
    
    illumos/illumos-gate@5602294
    illumos/illumos-gate@5602294
    
    https://www.illumos.org/issues/7252
      This feature includes code to allow a system with compressed ARC enabled to
      send data in its compressed form straight out of the ARC, and receive data in
      its compressed form directly into the ARC.
    
    https://www.illumos.org/issues/7628
      We should have longer, more readable versions of the ZFS send / recv options.
    
    7628 create long versions of ZFS send / receive options
    
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: John Kennedy <john.kennedy@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
    Reviewed by: David Quigley <dpquigl@davequigley.com>
    Reviewed by: Thomas Caputi <tcaputi@datto.com>
    Approved by: Dan McDonald <danmcd@omniti.com>
    Author: Dan Kimmel <dan.kimmel@delphix.com>
    jpaetzel committed Apr 25, 2017
  9. Remove info files from optional old files.

    Info files are now all removed unconditionally after the removal of
    texinfo.
    
    MFC after:	1 week
    bsdjhb committed Apr 25, 2017
  10. Add info files for GCC 4.2 to the list of info files to remove.

    This would only affect upgrades from older versions of non-clang
    platforms.
    
    MFC after:	1 week
    bsdjhb committed Apr 25, 2017
  11. cxgbe/iw_cxgbe: Pull in some updates to c4iw_wait_for_reply from the

    iw_cxgb4 Linux driver.
    
    Obtained from:	Chelsio Communications
    MFC after:	3 days
    Sponsored by:	Chelsio Communications
    np committed Apr 25, 2017
  12. Cherry-pick 5d3c5151c2b885aab36627bafb8539238da27b2d, it fixes use af…

    …ter free
    
    if tcpdump(1) is run on non-existent interface.
    
    Suggested by:	zeising
    glebius committed Apr 25, 2017
  13. Fix VNET leakages in PF by V_irtualizing pfr_ktables and friends.

    Apparently this resolves a PF-triggered panic when destroying VNET jails.
    
    Submitted by:	Peter Blok <peter.blok@bsd4all.org>
    Reviewed by:	kp
    gornjas committed Apr 25, 2017
  14. Since curvnet is already properly set on entry to event handlers,

    there's no need to override it, particularly not unconditionally with
    vnet0.
    
    Submitted by:	Peter Blok <peter.blok@bsd4all.org>
    Reviewed by:	kp
    gornjas committed Apr 25, 2017
Commits on Apr 24, 2017
  1. Flush the LRO ctrl as soon as lro_mbufs fills up. There is no need to

    wait for the next enqueue from the driver.
    
    Reviewed by:	gnn@, hselasky@, gallatin@
    MFC after:	1 week
    Sponsored by:	Chelsio Communications
    Differential Revision:	https://reviews.freebsd.org/D10432
    np committed Apr 24, 2017
  2. Frames that are not considered for LRO should not be counted in LRO s…

    …tatistics.
    
    Reviewed by:	gnn@, hselasky@, gallatin@
    MFC after:	1 week
    Sponsored by:	Chelsio Communications
    Differential Revision:	https://reviews.freebsd.org/D10430
    np committed Apr 24, 2017
  3. Use the approved syntax to build no man pages.

    MFC after:	1 week
    Sponsored by:	DARPA, AFRL
    brooksdavis committed Apr 24, 2017
  4. Clean up Makefile.

    Prefer SRCTOP vs .CURDIR relative paths.
    
    Find libnetbsd using LIBADD infrastructure rather than manual hackery.
    
    Reviewed by:	ngie, bapt
    Obtained from:	CheriBSD
    MFC after:	1 week
    Sponsored by:	DARPA, AFRL
    Differential Revision:	https://reviews.freebsd.org/D10461
    brooksdavis committed Apr 24, 2017
  5. Document the removal of NATM.

    Relnotes:	yes
    brooksdavis committed Apr 24, 2017
  6. Remove the NATM framework including the en(4), fatm(4), hatm(4), and

    patm(4) devices.
    
    Maintaining an address family and framework has real costs when we make
    infrastructure improvements.  In the case of NATM we support no devices
    manufactured in the last 20 years and some will not even work in modern
    motherboards (some newer devices that patm(4) could be updated to
    support apparently exist, but we do not currently have support).
    
    With this change, support remains for some netgraph modules that don't
    require NATM support code. It is unclear if all these should remain,
    though ng_atmllc certainly stands alone.
    
    Note well: FreeBSD 11 supports NATM and will continue to do so until at
    least September 30, 2021.  Improvements to the code in FreeBSD 11 are
    certainly welcome.
    
    Reviewed by:	philip
    Approved by:	harti
    brooksdavis committed Apr 24, 2017
  7. Allow use of a write open stateid for reading in the NFSv4 server.

    The NFSv4 RFCs give a server the option of allowing the use of an open
    stateid for write access to be used for a Read operation.
    This patch enables this by default and adds a sysctl to disable it,
    for anyone who does not want this capability.
    Allowing this is particularily useful for a pNFS Data Server (DS), since
    they are not permitted to allow the use of special stateids.
    Discovered during recent testing of the pNFS server under development.
    
    MFC after:	2 weeks
    rmacklem committed Apr 24, 2017
  8. Fix the following warning from gcc 4.2 in usr.bin/diff:

    usr.bin/diff/diffreg.c: In function 'change':
    usr.bin/diff/diffreg.c:1085: warning: 'i' may be used uninitialized in this function
    
    This version of gcc is not smart enough to see that 'i' cannot actually
    be used unitialized.  However, the variable is confusingly re-used, so
    it is better to give it another name, and clearly initialize it before
    attempting to use it.
    
    Reviewed by:	bapt
    Differential Revision: https://reviews.freebsd.org/D10484
    DimitryAndric committed Apr 24, 2017
  9. Add support for dumping bcma/siba EROM tables to the console via a new

    BHND_EROM_DUMP() method.
    
    Dump the EROM tables to the coneole on mips/broadcom devices if bootverbose
    is enabled; this functionality is primarily useful when debugging SoC EROM
    parsing and device matching issues during early boot.
    
    Reviewed by:	mizhka
    Approved by:	adrian (mentor)
    Sponsored by:	Plausible Labs
    Differential Revision:	https://reviews.freebsd.org/D10122
    landonf committed Apr 24, 2017
  10. Drop unused/unnecessary return statement.

    Reported by:	Coverity
    CID:		1373118
    Approved by:	adrian (mentor, implicit)
    landonf committed Apr 24, 2017
  11. Fix the last example to really replace all occurrences of the search …

    …string
    
    in the file by adding the global (g) option at the end.  Without it, only the
    first match is replaced, subsequent ones are ignored.  The intention of the
    example is to demonstrate something else, but adding the g matches the example
    to what the description says.
    
    Discussed with:	    brd (on IRC)
    MFC after:	    1 week
    bsdbcr committed Apr 24, 2017
  12. Add sysutils/tmux to the DVD package set

    The zsh + tmux combination is commonly wanted.
    
    Approved by:	gjb
    MFC after:	2 weeks
    Sponsored by:	The FreeBSD Foundation
    emaste committed Apr 24, 2017
  13. scandir(3): promote arraysz to size_t to match numitems.

    The internal array size goes through a loop and is compared with numitems
    which at its limits makes can be unreachably higher than arraysz.
    Prevent an hypothetical overflow by matching the types.
    
    MFC after:	1 week
    pgiffuni committed Apr 24, 2017
  14. elfcopy: allow empty symbol list files

    Reported by:	bz
    MFC after:	2 weeks
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D10441
    emaste committed Apr 24, 2017