smbd: add missing DO_PROFILE_INC(disconnect) to smbd_server_connection_terminate_ex()
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Jul 2018 14:44:18 +0000 (16:44 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 25 Jul 2018 15:49:06 +0000 (17:49 +0200)
commit0e900d60822d2050fa52b8c4dddf67c0d134f662
treebe694601c48e41d8f4d453910a35a43d72b7c814
parent8d4792e68604c2ea96bb179774e4745d49d8bade
smbd: add missing DO_PROFILE_INC(disconnect) to smbd_server_connection_terminate_ex()

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