rpcd: With npa->need_idle_server we can have more than 256 servers
authorVolker Lendecke <vl@samba.org>
Mon, 20 Feb 2023 17:46:50 +0000 (18:46 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 6 Mar 2023 22:35:00 +0000 (22:35 +0000)
commita1780ed8d1b46e4760319b27a4978e7ce7a1df80
tree9ab0428e575de6f2226fce50bb2d012c5b4de400
parent0ab7b84ccbd383bb2f696ce258438d4af57fe6f0
rpcd: With npa->need_idle_server we can have more than 256 servers

Before this patch the worker-status cut the worker index such that
samba-dcerpcd could not properly update status of the surplus rpc
daemons. This could lead to those daemons to stay around forever,
samba-dcerpcd will never notice they are idle and can exit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15310

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Mar  6 22:35:00 UTC 2023 on atb-devel-224
source3/librpc/idl/rpc_host.idl
source3/rpc_server/rpc_worker.c