diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2022-12-29 12:33:25 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-01-21 00:27:48 +0300 |
commit | 0d0d4680db22eda1eea785c47bbf66a9b33a8b16 (patch) | |
tree | da97725ca4ace573bff0f23b95fdf17bc53f7803 /fs/ksmbd/server.h | |
parent | 5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (diff) | |
download | linux-0d0d4680db22eda1eea785c47bbf66a9b33a8b16.tar.xz |
ksmbd: add max connections parameter
Add max connections parameter to limit number of maximum simultaneous
connections.
Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
Cc: stable@vger.kernel.org
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/server.h')
-rw-r--r-- | fs/ksmbd/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/server.h b/fs/ksmbd/server.h index ac9d932f8c8a..db7278181760 100644 --- a/fs/ksmbd/server.h +++ b/fs/ksmbd/server.h @@ -41,6 +41,7 @@ struct ksmbd_server_config { unsigned int share_fake_fscaps; struct smb_sid domain_sid; unsigned int auth_mechs; + unsigned int max_connections; char *conf[SERVER_CONF_WORK_GROUP + 1]; }; |