summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-04 15:57:20 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-04 17:34:13 +0200
commit7c96e96e9881ec1ad7b41f0ab241a5b0ac17b93f (patch)
treea209e8cbcd7507db2fc642e9aaa76c866e50b648 /source3/smbd
parent601b138e92e38cdafb1763c475a3d6dfac70a5a6 (diff)
downloadsamba-7c96e96e9881ec1ad7b41f0ab241a5b0ac17b93f.tar.gz
samba-7c96e96e9881ec1ad7b41f0ab241a5b0ac17b93f.tar.bz2
samba-7c96e96e9881ec1ad7b41f0ab241a5b0ac17b93f.zip
s3:smb2_server: there's no reason to check the session id twice on a smb2_tcon request
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 4 17:34:13 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_server.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 49e748bb3c..1bbb10800b 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1172,11 +1172,6 @@ NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
return_value = smbd_smb2_request_error(req, session_status);
break;
}
- status = smbd_smb2_request_check_session(req);
- if (!NT_STATUS_IS_OK(status)) {
- return_value = smbd_smb2_request_error(req, status);
- break;
- }
{
START_PROFILE(smb2_tcon);