rpcd: With npa->need_idle_server we can have more than 256 servers
commitbfbb854d7462e486775d087efda63906869218ed
authorVolker Lendecke <vl@samba.org>
Mon, 20 Feb 2023 17:46:50 +0000 (20 18:46 +0100)
committerJule Anger <janger@samba.org>
Tue, 7 Mar 2023 11:16:46 +0000 (7 11:16 +0000)
tree68f9e67844a48638742376cb7a6ccc4967174835
parent743d7600fba554306356a8254f0ca041308fa332
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

(cherry picked from commit a1780ed8d1b46e4760319b27a4978e7ce7a1df80)

Autobuild-User(v4-17-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-17-test): Tue Mar  7 11:16:46 UTC 2023 on sn-devel-184
source3/librpc/idl/rpc_host.idl
source3/rpc_server/rpc_worker.c