ctdb-protocol: Add missing push support for new controls
commiteebe6d8c890bb6a6cc35657e38ddde0319c1f4a6
authorMartin Schwenke <mschwenke@ddn.com>
Fri, 9 Feb 2024 06:29:46 +0000 (9 17:29 +1100)
committerJule Anger <janger@samba.org>
Mon, 26 Feb 2024 09:59:42 +0000 (26 09:59 +0000)
treeaddd833db543054fb74a1b8532b7f3a5ca33dac0
parent19e7ea8ffa8fe70b1e4233d272e471e97b34a6fa
ctdb-protocol: Add missing push support for new controls

CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and
CTDB_CONTROL_TCP_CLIENT_PASSED were added in commits
c6602b686b4e50d93272667ef86d3904181fb1ab and
037e8e449deb136ad5ed5e4de05439411b545b6d.  They were missing test
support for the packet push/pull.  While adding the testing (for
completeness, before adding another new control) I noticed that the
push functionality was absent.  This adds that, along with the test
support.

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

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Feb 19 10:21:48 UTC 2024 on atb-devel-224

(cherry picked from commit dd9b11acbc4fbde1941719968aeb463b853b0ffb)

Autobuild-User(v4-19-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-19-test): Mon Feb 26 09:59:42 UTC 2024 on atb-devel-224
ctdb/protocol/protocol_control.c
ctdb/tests/src/protocol_common_ctdb.c
ctdb/tests/src/protocol_ctdb_test.c