summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-09-13 23:01:07 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-09-20 22:15:24 +0300
commit8593e010786181df887b001824ff8f3e52e2098f (patch)
treec54e3b4ea70d7ab295622d70673d3b9862409a99 /usr
parent9ba828861c56a21d211d5d10f5643774b1ea330d (diff)
downloadlinux-8593e010786181df887b001824ff8f3e52e2098f.tar.xz
SUNRPC: Fix congestion window race with disconnect
If the congestion window closes just as the transport disconnects, a reconnect is never driven because: 1. The XPRT_CONG_WAIT flag prevents tasks from taking the write lock 2. There's no wake-up of the first task on the xprt->sending queue To address this, clear the congestion wait flag as part of completing a disconnect. Fixes: 75891f502f5f ("SUNRPC: Support for congestion control ... ") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions