1. 11 3月, 2017 2 次提交
    • P
      net/mlx5: Fix create autogroup prev initializer · af363705
      Paul Blakey 提交于
      The autogroups list is a list of non overlapping group boundaries
      sorted by their start index. If the autogroups list wasn't empty
      and an empty group slot was found at the start of the list,
      the new group was added to the end of the list instead of the
      beginning, as the prev initializer was incorrect.
      When this was repeated, it caused multiple groups to have
      overlapping boundaries.
      
      Fixed that by correctly initializing the prev pointer to the
      start of the list.
      
      Fixes: eccec8da ('net/mlx5: Keep autogroups list ordered')
      Signed-off-by: NPaul Blakey <paulb@mellanox.com>
      Reviewed-by: NMark Bloch <markb@mellanox.com>
      Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      af363705
    • D
      rxrpc: Wake up the transmitter if Rx window size increases on the peer · 702f2ac8
      David Howells 提交于
      The RxRPC ACK packet may contain an extension that includes the peer's
      current Rx window size for this call.  We adjust the local Tx window size
      to match.  However, the transmitter can stall if the receive window is
      reduced to 0 by the peer and then reopened.
      
      This is because the normal way that the transmitter is re-energised is by
      dropping something out of our Tx queue and thus making space.  When a
      single gap is made, the transmitter is woken up.  However, because there's
      nothing in the Tx queue at this point, this doesn't happen.
      
      To fix this, perform a wake_up() any time we see the peer's Rx window size
      increasing.
      
      The observable symptom is that calls start failing on ETIMEDOUT and the
      following:
      
      	kAFS: SERVER DEAD state=-62
      
      appears in dmesg.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      702f2ac8
  2. 10 3月, 2017 35 次提交
  3. 09 3月, 2017 3 次提交