1. 25 Sep, 2021 2 commits
    • Florian Westphal's avatar
      mptcp: do not shrink snd_nxt when recovering · 0d199e43
      Florian Westphal authored
      When recovering after a link failure, snd_nxt should not be set to a
      lower value.  Else, update of snd_nxt is broken because:
      
        msk->snd_nxt += ret; (where ret is number of bytes sent)
      
      assumes that snd_nxt always moves forward.
      After reduction, its possible that snd_nxt update gets out of sync:
      dfrag we just sent might have had a data sequence number even past
      recovery_snd_nxt.
      
      This change factors the common msk state update to a helper
      and updates snd_nxt based on the current dfrag data sequence number.
      
      The conditional is required for the recovery phase where we may
      re-transmit old dfrags that are before current snd_nxt.
      
      After this change, snd_nxt only moves forward and covers all in-sequence
      data that was transmitted.
      
      recovery_snd_nxt is retained to detect when recovery has completed.
      
      Fixes: 1e1d9d6f ("mptcp: handle pending data on closed subflow")
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0d199e43
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2021-09-24' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 8765de69
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2021-09-24
      
      mlx5 misc updates and fixes to net-next branch:
      
      1) Roi Dayan provided some cleanups in mlx5e TC module, and some
         code improvements to fwd/drop actions handling.
      
      2) Tariq, Add TX max rate support for MQPRIO channel mode
      
      3) Dima adds the support for TC egress/ingress offload of macvlan
         interfaces
      
      4) misc cleanup
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8765de69
  2. 24 Sep, 2021 38 commits