1. 01 Sep, 2018 5 commits
    • Yuchung Cheng's avatar
      tcp: change IPv6 flow-label upon receiving spurious retransmission · 7788174e
      Yuchung Cheng authored
      Currently a Linux IPv6 TCP sender will change the flow label upon
      timeouts to potentially steer away from a data path that has gone
      bad. However this does not help if the problem is on the ACK path
      and the data path is healthy. In this case the receiver is likely
      to receive repeated spurious retransmission because the sender
      couldn't get the ACKs in time and has recurring timeouts.
      
      This patch adds another feature to mitigate this problem. It
      leverages the DSACK states in the receiver to change the flow
      label of the ACKs to speculatively re-route the ACK packets.
      In order to allow triggering on the second consecutive spurious
      RTO, the receiver changes the flow label upon sending a second
      consecutive DSACK for a sequence number below RCV.NXT.
      Signed-off-by: default avatarYuchung Cheng <ycheng@google.com>
      Signed-off-by: default avatarNeal Cardwell <ncardwell@google.com>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7788174e
    • Cong Wang's avatar
      net_sched: add missing tcf_lock for act_connmark · 506a03aa
      Cong Wang authored
      According to the new locking rule, we have to take tcf_lock
      for both ->init() and ->dump(), as RTNL will be removed.
      However, it is missing for act_connmark.
      
      Cc: Vlad Buslov <vladbu@mellanox.com>
      Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      506a03aa
    • Michael Walle's avatar
      veth: add software timestamping · aa4e689e
      Michael Walle authored
      Provide a software TX timestamp as well as the ethtool query interface
      and report the software timestamp capabilities.
      
      Tested with "ethtool -T" and two linuxptp instances each bound to a
      tunnel endpoint.
      Signed-off-by: default avatarMichael Walle <michael@walle.cc>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      aa4e689e
    • Cong Wang's avatar
      Revert "net: sched: act: add extack for lookup callback" · f061b48c
      Cong Wang authored
      This reverts commit 331a9295 ("net: sched: act: add extack for lookup callback").
      
      This extack is never used after 6 months... In fact, it can be just
      set in the caller, right after ->lookup().
      
      Cc: Alexander Aring <aring@mojatatu.com>
      Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f061b48c
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · fd3c040b
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2018-09-01
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      The main changes are:
      
      1) Add AF_XDP zero-copy support for i40e driver (!), from Björn and Magnus.
      
      2) BPF verifier improvements by giving each register its own liveness
         chain which allows to simplify and getting rid of skip_callee() logic,
         from Edward.
      
      3) Add bpf fs pretty print support for percpu arraymap, percpu hashmap
         and percpu lru hashmap. Also add generic percpu formatted print on
         bpftool so the same can be dumped there, from Yonghong.
      
      4) Add bpf_{set,get}sockopt() helper support for TCP_SAVE_SYN and
         TCP_SAVED_SYN options to allow reflection of tos/tclass from received
         SYN packet, from Nikita.
      
      5) Misc improvements to the BPF sockmap test cases in terms of cgroup v2
         interaction and removal of incorrect shutdown() calls, from John.
      
      6) Few cleanups in xdp_umem_assign_dev() and xdpsock samples, from Prashant.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fd3c040b
  2. 31 Aug, 2018 9 commits
  3. 30 Aug, 2018 26 commits