diff options
author | Steve French <smfrench@gmail.com> | 2016-06-22 20:12:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-07-27 09:47:39 -0700 |
commit | 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba (patch) | |
tree | 6b9c702355d18f6dbbfdff8af257c36b33d16e7c /scripts/Makefile.lib | |
parent | ddbe16b392b71cb9ce23fcf684143a31c04cc96d (diff) | |
download | lwn-4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba.tar.gz lwn-4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba.zip |
Fix reconnect to not defer smb3 session reconnect long after socket reconnect
commit 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 upstream.
Azure server blocks clients that open a socket and don't do anything on it.
In our reconnect scenarios, we can reconnect the tcp session and
detect the socket is available but we defer the negprot and SMB3 session
setup and tree connect reconnection until the next i/o is requested, but
this looks suspicous to some servers who expect SMB3 negprog and session
setup soon after a socket is created.
In the echo thread, reconnect SMB3 sessions and tree connections
that are disconnected. A later patch will replay persistent (and
resilient) handle opens.
Signed-off-by: Steve French <steve.french@primarydata.com>
Acked-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions