Skip to content
Permalink
Tree: 5dce2af0ac
Commits on Feb 26, 2019
  1. In preparation for reusing libLLVM component library Makefiles to build

    jonathangray committed Feb 26, 2019
    libLLVM from a single directory avoid reused filenames by symlinking
    duplicated names with a prefix of the component library name so object
    file names will be unique.
    
    symlink approach suggested by deraadt@ ok patrick@
  2. define LLVM_ENABLE_THREADS and LLVM_HAS_ATOMICS

    jonathangray committed Feb 26, 2019
    matches the result of building with cmake
    
    ok patrick@
  3. tweak the mbuf loading in the tx path so it's easier to read.

    dlg
    dlg committed Feb 26, 2019
    count mbuf load failures as output errors so i can see if that's
    a problem (it's not, but at least i can see it isn't now).
  4. add domain-search to the list of options capable of adding to resolv.…

    jmc
    jmc committed Feb 26, 2019
    …conf;
    
    confirmed by and ok krw
  5. Fix sending IKEV2_CFG_INTERNAL_IP6_DNS, IKEV2_CFG_INTERNAL_IP6_NBNS,

    bluerise committed Feb 26, 2019
    IKEV2_CFG_INTERNAL_IP6_DHCP and IKEV2_CFG_INTERNAL_IP6_SERVER by using
    the correct member in the iked_addr struct for the address.
    
    From Aram Havarnean
  6. Correct return values for non-fatal alerts.

    4a6f656c committed Feb 26, 2019
    In the close notify case we need to signal EOF and in the user cancelled
    case we need to return WANT_POLLIN. Returning success results in
    tls13_record_layer_read_record() thinking that we have record data when
    we do not, which then results in the content type check later failing.
    
    ok tb@
  7. Correctly handle tls_read() and tls_write() failures.

    4a6f656c committed Feb 26, 2019
    Otherwise a TLS error (for example the remote end sent a fatal alert) is
    silently ignored.
    
    ok bluhm@ tb@
  8. sync

    visa
    visa committed Feb 26, 2019
  9. Add manual pages for SMR.

    visa
    visa committed Feb 26, 2019
    OK mpi@ sashan@
  10. Introduce safe memory reclamation, a mechanism for reclaiming shared

    visa
    visa committed Feb 26, 2019
    objects that readers can access without locking. This provides a basis
    for read-copy-update operations.
    
    Readers access SMR-protected shared objects inside SMR read-side
    critical section where sleeping is not allowed. To reclaim
    an SMR-protected object, the writer has to ensure mutual exclusion of
    other writers, remove the object's shared reference and wait until
    read-side references cannot exist any longer. As an alternative to
    waiting, the writer can schedule a callback that gets invoked when
    reclamation is safe.
    
    The mechanism relies on CPU quiescent states to determine when an
    SMR-protected object is ready for reclamation.
    
    The <sys/smr.h> header additionally provides an implementation of
    singly- and doubly-linked lists that can be used together with SMR.
    These lists allow lockless read access with a concurrent writer.
    
    Discussed with many
    OK mpi@ sashan@
  11. ikectl's built-in CA command for simple configurations has a fixed ce…

    sthen committed Feb 26, 2019
    …rtificate
    
    validity for the ca certificate. Raise this from 365 days to 4500 as expiry means
    installing new CA certificates on all client machines which can cause significant
    pain. This doesn't change the default validity for server certificates which
    remains at 1 year (controlled by ikeca.cnf) - refreshing key and certificate
    on these can be done easily without visiting all machines.   ok deraadt@
  12. Add missing break; in case statement and while there check that the

    cjeker committed Feb 26, 2019
    filter_community type is valid. Found while looking into a gcc warning
    about uninitialized data.
  13. To simplify the upcoming UTF-8 cleanup in less(1), delete support

    ischwarze committed Feb 26, 2019
    for ANSI escape sequences introduced by an 8-bit CSI (e.g. "\23343m")
    because these are neither compatible with UTF-8 nor strictly
    compatible with pure ASCII and for those introduced by an UTF-8 CSI
    (e.g. "\302\23343m") because not even xterm(1) supports them at
    all, not even with a non-default configuration, because both forms
    are very rarely used, if at all, and because the current code trying
    to support them doesn't even appear to work according to my tests.
    Full support for the ESC-[ CSI (e.g. "\033[43m") remains.
    
    Tweaks and OK millert@, OK nicm@,
    and sthen@ agrees with the general direction.
  14. Add support for '*', local-as and neighbor-as for ext-community matching

    cjeker committed Feb 26, 2019
    and setting. This allows rules like:
        ext-community * * # delete any ext-community
        ext-community ovs * # delete any ext-community of specified type
        ext-community rt 1.2.3.4:*
    and
        ext-community rt 65001:local-as
        ext-community rt local-as:11111
    
    Note: Sometimes the type of the ext-community is underspecified when using
    wildchars or expands.  So 'ext-community rt *' or 'ext-community soo *' will
    match for any of the 3 possible types (2-byte AS, 4-byte AS and IP address).
    If local-as/neighbor-as is used as an expand of as-number like
        ext-community rt local-as:11111
    then bgpd will default to the 4-byte AS type to encode the community.
    
    OK benno@
  15. Re-enable interrupts on resume with RF switch disabled

    kn
    kn committed Feb 26, 2019
    When disabling the switch, suspending and eventually resuming again with
    wifi still off, re-enabling the switch has no effect due to interrupts
    being disabled completely.
    
    To ensure seemless operation, explicitly enable interrupts during hardware
    initialization iff the switch is disabled.
    
    While here, initialize the interrupt mask up front to avoid clearing the
    previously set mask in any case.
    
    OK mlarkin, Feedback and OK ststp
  16. sync

    botovq committed Feb 26, 2019
  17. g/c unused robots_roll file.

    botovq committed Feb 26, 2019
    From Randy Hartman
  18. don't let rxr completely fill the rxr ring.

    dlg
    dlg committed Feb 26, 2019
    at the moment there are 256 slots on the right. if rxr raises the
    high watermark to 256, we overwrite ring entries.
  19. get rid of the mpw goop

    dlg
    dlg committed Feb 26, 2019
    this reduces the output that mpw interfaces generate from 3 lines
    to the one generic mpls and pwe3 line.
    
    mpw can be configured with the individual ioctls, and gains the
    ability to do flow aware transport.
  20. don't check the pseudowire type in tx and rx paths.

    dlg
    dlg committed Feb 26, 2019
    whether the mpw interface is advertising "ethernet" or "ethernet-
    tagged" is something the ends of the wire agree on (ie, ldpd is
    configured a certain way), it is not something that affects ethernet
    encap or decap.
    
    the MPW ioctls can still configure it and read it, but it has no
    bearing on how the driver operates on packets.
  21. implement support for pwe3 ioctls

    dlg
    dlg committed Feb 26, 2019
    this allows individual configuration of the use of control words,
    flow aware tranport labels, and the local and remote label plus
    neighbor individually.
    
    discussed with claudio@ at a2k19
    ok mpi@
  22. add support for the new pwe3 ioctls.

    dlg
    dlg committed Feb 26, 2019
    the existing mpw ioctl is still available for ldpd to use for a
    (short) while.
    
    discussed with claudio@ at a2k19
    ok mpi@
  23. check for root on mpls and pwe3 ioctls

    dlg
    dlg committed Feb 26, 2019
    part of a larger diff ok mpi@
  24. add some generic ioctls for configuring mpls pseudowire parameters.

    dlg
    dlg committed Feb 26, 2019
    these will replace the monstor mpw ioctl, and will be used by an
    upcoming mpls ip tunnel interface driver.
    
    discussed with claudio@ at a2k19
    ok mpi@
  25. put the rx buffer at the end of the cluster.

    dlg
    dlg committed Feb 26, 2019
    makes m_prepend later less likely to allocate a new mbuf.
  26. avoid a deadlock in ixl_down when calling ifq_barrier.

    dlg
    dlg committed Feb 26, 2019
    this is particularly noticable on sparc64 when you reboot.
    
    ok jmatthew@
  27. put the rx buffer at the end of the mbuf

    dlg
    dlg committed Feb 26, 2019
    this should give a bit of space if the packet needs an m_pullup.
    care is taken to ensure the packet is still aligned for the ip
    stack.
    
    ok and tweaks claudio@
Commits on Feb 25, 2019
  1. sync

    sthen committed Feb 25, 2019
Older
You can’t perform that action at this time.