summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-08-29 17:19:29 +0200
committerStefan Metzmacher <metze@samba.org>2018-09-05 13:35:27 +0200
commitb7c659a4499dc7b62423ce930f7ce2128eded90e (patch)
tree29e2cfe15c0269c52651ca81510d2f36adc45d03 /.gitignore
parent51253045e827c14b14d527d1c48d037d8002588f (diff)
downloadsamba-b7c659a4499dc7b62423ce930f7ce2128eded90e.tar.gz
s3:smbd: let session logoff close files and tcons before deleting the session
This avoids a race in durable handle reconnects if the reconnect comes in while the old session is still in the tear-down phase. The new session is supposed to rendezvous with and wait for destruction of the old session, which is internally implemented with dbwrap_watch_send() on the old session record. If the old session deletes the session record before calling file_close_user() which marks all file handles as disconnected, the durable handle reconnect in the new session will fail as the records are not yet marked as disconnected which is a prerequisite. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13549 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 8f6edcc1645e0ed35eaec914bd0b672500ce986c)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions