diff options
author | Stefan Metzmacher <metze@samba.org> | 2025-08-12 18:45:06 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-08-13 11:36:12 -0500 |
commit | 8c48e1c7520321cc87ff651e96093e2f412785fb (patch) | |
tree | 9a910677d33b3aed272202e77d359c900eeb3cce /scripts/lib/kdoc/kdoc_re.py | |
parent | e3835731e169a48a2c73018d135b5c08c39ea61d (diff) |
smb: client: don't wait for info->send_pending == 0 on error
We already called ib_drain_qp() before and that makes sure
send_done() was called with IB_WC_WR_FLUSH_ERR, but
didn't called atomic_dec_and_test(&sc->send_io.pending.count)
So we may never reach the info->send_pending == 0 condition.
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Fixes: 5349ae5e05fa ("smb: client: let send_done() cleanup before calling smbd_disconnect_rdma_connection()")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions