Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: user/alfred/so…
Commits on Nov 6, 2012
  1. @splbio

    Implement a socket option SO_DISCARD_RECV, this will discard any

    splbio authored
    data that arrives.  I've found this very useful for testing streaming
    services and want to share it with community as a whole as well as
    stash it someplace I can pull up if needed for benching.
Commits on Nov 5, 2012
  1. @amotin

    Rise priority of the informational messages from LOG_INFO to LOG_NOTICE,

    amotin authored
    same as used for OK status. Otherwise it looks strange when OK status is
    reported, while informational is not.
  2. @brooksdavis

    Allow CC to be gcc46 or similar by matching gcc*.

    brooksdavis authored
    Don't test the value of the :M matches, either the string matches or does
  3. @AlexanderChernikov

    Add assertion to enforce 'nat global' locking requierements changed b…

    AlexanderChernikov authored
    …y r241908.
    Suggested by:	adrian, glebius
    MFC after:	3 days
  4. @AlexanderChernikov

    Use unified print_dyn_rule_flags() function for debugging messages

    AlexanderChernikov authored
    instead of hand-made printfs in every place.
    MFC after:	1 week
  5. @brooksdavis
  6. @brooksdavis
  7. Add the UQ_MSC_NO_PREVENT_ALLOW quirk to handle devices that do not s…

    marcel authored
    the 'PREVENT/ALLOW MEDIUM REMOVAL' SCSI command. An example of such a
    device is the STmicro ST72682. We send the SCSI command for every open and
    close, which can result in a significant amount of spam on the console
    during boot.
    Reviewed by:	hps@
  8. Move from early SSN assignment to late SSN assignment.

    tuexen authored
    This doesn't change functionality, but makes upcoming change
    much easier.
    Developed with rrs@ at the IETF 85.
    MFC after: 1 week
  9. @brooksdavis

    Fix a minor error in the clang update note.

    brooksdavis authored
    Reported by:	emaste
  10. @DimitryAndric

    Remove duplicate const specifiers in many drivers (I hope I got all of

    DimitryAndric authored
    them, please let me know if not).  Most of these are of the form:
    static const struct bzzt_type {
    	[...list of members...]
    } const bzzt_devs[] = {
    	[...list of initializers...]
    The second const is unnecessary, as arrays cannot be modified anyway,
    and if the elements are const, the whole thing is const automatically
    (e.g. it is placed in .rodata).
    I have verified this does not change the binary output of a full kernel
    build (except for build timestamps embedded in the object files).
    Reviewed by:	yongari, marius
    MFC after:	1 week
  11. @brooksdavis

    After years of hard work by many FreeBSD and LLVM developers, make

    brooksdavis authored
    clang the default compiler on i386 and amd64 systems.
    Special thanks to:	dim, ed, rdivacky
  12. @DimitryAndric

    In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer

    DimitryAndric authored
    versions of clang 3.2, about comparing enum uni_cause values against
    integer constants which fall outside the enum range.  No functional
    MFC after:	3 days
  13. @DimitryAndric

    Fix a few warnings from newer clang 3.2 in libpmc, about comparing enum

    DimitryAndric authored
    pmc_event values against integer constants which fall outside the enum
    Reviewed by:	fabient, sbruno
    MFC after:	3 days
  14. @amotin

    Fix a minor typo.

    amotin authored
  15. @jillest

    sh: Change cmdtype in tblentry from short to signed char.

    jillest authored
    If this is a smaller type than int anyway, we can make it the smallest
  16. Add a jitter buffer in the common USB serial driver code which

    hselasky authored
    temporarily stores characters if the TTY buffer is full when
    used a as a console. This can happen when a console is suspended.
    Also properly do the flow stop signalling when this happens and
    flow start when the condition changes back to normal again.
    Bump __FreeBSD_version to force external kernel modules
    to be recompiled. No kernel API changes.
    MFC after:	1 week
    Suggested by:	ed @
  17. @delphij
  18. @kostikbel

    A clarification to the behaviour of the active vnode list management

    kostikbel authored
    regarding the vnode page cleaning.
    In collaboration with:	pho
    MFC after:	1 week
  19. fuse_io* must be able to crunch also VDIR vnodes.

    attilio authored
    Update assert appropriately.
    Reported and Tested by:	flo
    MFC after:	2 months
    X-MFC:		241519,242536
  20. Sync with domain and protosw data structures.

    kevlo authored
    Reviewed by:	glebius
  21. Clear IFF_DRV_OACTIVE if any slots were completed.

    adrian authored
    This unblocks TX EDMA under high load.
  22. Back out r242262. The simplified window change/update logic wasn't

    andre authored
    complete and ready for production use.
    PR:	kern/173309
  23. TX EDMA debugging fixes:

    adrian authored
    * Do the calculation for each ath_buf, rather than just the first
    * Correct the calculation in the first place.
  24. Revert previous commit.

    kevlo authored
  25. Revert r228695. We use __func__ here as a format to distinguish between

    pjd authored
    abort and assert. It would be cleaner to use NULL or "" here, but gcc
    complains in both cases.
Commits on Nov 4, 2012
  1. @jillest

    rtld: Fix fd leak with parallel dlopen and fork/exec.

    jillest authored
    Rtld did not set FD_CLOEXEC on its internal file descriptors; therefore,
    such a file descriptor may be passed to a process created by another thread
    running in parallel to dlopen() or fdlopen().
    No other threads are expected to be running during parsing of the hints
    and libmap files but the file descriptors need not be passed to child
    processes so add O_CLOEXEC there as well.
    This change will break fdlopen() (as used by OpenPAM) on kernels without
    F_DUPFD_CLOEXEC (added in July). Note that running new userland on old
    kernels is not supported.
    Reviewed by:	kib
  2. @delphij

    MFV: less v453.

    delphij authored
  3. @grimreaper

    Add support for a few more devices:

    grimreaper authored
    PNP0510 and FUJ02E5 for a  "Wacom Tablet at FuS Lifebook T"
    PNP0502 and PNP0511 for some other generic devices.
    PR:		kern/173357
    Submitted by:	Andrey Zakharchenko <>
    Approved by:	cperciva (implicit)
    MFC after:	1 week
  4. @grimreaper

    Make OK_TO_WRITE_TO_DISK an envrionment variable instead

    grimreaper authored
    of a compile time option.
    While here, don't differ based on the existence of LOCK_EX
    which doesn't seem to have ever made a difference on FreeBSD.
    Approved by:	cperciva (from discussion)
    MFC after:	3 days
  5. @grimreaper

    Prefer the use of stdbool to custom defines.

    grimreaper authored
    Approved by:	cperciva (from discussion)
    MFC after:	3 days
  6. @avg-I

    zfs_dirlook: bailout early if directory is unlinked

    avg-I authored
    Otherwise we could fail with an incorrect error if e.g. parent
    object id is removed too or we can even return a wrong vnode if
    parent object has been already re-used.
    Discussed with:	pjd
    Also see:
    MFC after:	26 days
  7. @avg-I

    zfsctl_snapdir_lookup: obtain a snapname in the remount case

    avg-I authored
    ... which is triggered if somebody did regular umount on a snapshot mount.
    Reviewed by:	Matthew Ahrens <>
    MFC after:	20 days
  8. @avg-I

    zfs: set MNTK_EXTENDED_SHARED flag

    avg-I authored
    Discussed with:	kib
    MFC after:	20 days
Something went wrong with that request. Please try again.