1. 02 Oct, 2018 12 commits
  2. 01 Oct, 2018 24 commits
  3. 29 Sep, 2018 4 commits
    • Yifeng Sun's avatar
      openvswitch: Use correct reply values in datapath and vport ops · 804fe108
      Yifeng Sun authored
      This patch fixes the bug that all datapath and vport ops are returning
      wrong values (OVS_FLOW_CMD_NEW or OVS_DP_CMD_NEW) in their replies.
      Signed-off-by: default avatarYifeng Sun <pkusunyifeng@gmail.com>
      Acked-by: default avatarPravin B Shelar <pshelar@ovn.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      804fe108
    • Vakul Garg's avatar
      tls: Remove redundant vars from tls record structure · 80ece6a0
      Vakul Garg authored
      Structure 'tls_rec' contains sg_aead_in and sg_aead_out which point
      to a aad_space and then chain scatterlists sg_plaintext_data,
      sg_encrypted_data respectively. Rather than using chained scatterlists
      for plaintext and encrypted data in aead_req, it is efficient to store
      aad_space in sg_encrypted_data and sg_plaintext_data itself in the
      first index and get rid of sg_aead_in, sg_aead_in and further chaining.
      
      This requires increasing size of sg_encrypted_data & sg_plaintext_data
      arrarys by 1 to accommodate entry for aad_space. The code which uses
      sg_encrypted_data and sg_plaintext_data has been modified to skip first
      index as it points to aad_space.
      Signed-off-by: default avatarVakul Garg <vakul.garg@nxp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      80ece6a0
    • David S. Miller's avatar
      Merge branch 'tipc-next' · 6e9feb33
      David S. Miller authored
      Jon Maloy says:
      
      ====================
      tipc: make connection setup more robust
      
      In this series we make a few improvements to the connection setup and
      probing mechanism, culminating in the last commit where we make it
      possible for a client socket to make multiple setup attempts in case
      it encounters receive buffer overflow at the listener socket.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6e9feb33
    • Tung Nguyen's avatar
      tipc: buffer overflow handling in listener socket · 67879274
      Tung Nguyen authored
      Default socket receive buffer size for a listener socket is 2Mb. For
      each arriving empty SYN, the linux kernel allocates a 768 bytes buffer.
      This means that a listener socket can serve maximum 2700 simultaneous
      empty connection setup requests before it hits a receive buffer
      overflow, and much fewer if the SYN is carrying any significant
      amount of data.
      
      When this happens the setup request is rejected, and the client
      receives an ECONNREFUSED error.
      
      This commit mitigates this problem by letting the client socket try to
      retransmit the SYN message multiple times when it sees it rejected with
      the code TIPC_ERR_OVERLOAD. Retransmission is done at random intervals
      in the range of [100 ms, setup_timeout / 4], as many times as there is
      room for within the setup timeout limit.
      Signed-off-by: default avatarTung Nguyen <tung.q.nguyen@dektech.com.au>
      Acked-by: default avatarYing Xue <ying.xue@windriver.com>
      Signed-off-by: default avatarJon Maloy <jon.maloy@ericsson.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      67879274