git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4792e
)
smbd: add missing DO_PROFILE_INC(disconnect) to smbd_server_connection_terminate_ex()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Jul 2018 14:44:18 +0000
(16:44 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Jul 2018 15:49:06 +0000
(17:49 +0200)
For multi channel connections we should increment the disconnect count
also if we're not closing the last channel.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 0c1ac32389180709535911527abc9288458c8a51..229f8ab0e856beb86cdf3e5c32a608bb467919ac 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-1097,6
+1097,7
@@
void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn,
/* TODO: cancel pending requests */
DLIST_REMOVE(client->connections, xconn);
TALLOC_FREE(xconn);
+ DO_PROFILE_INC(disconnect);
return;
}