messaging: Don't do self-sends in messaging_send_all
authorVolker Lendecke <vl@samba.org>
Fri, 8 Dec 2017 16:18:33 +0000 (17:18 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Dec 2017 19:37:08 +0000 (20:37 +0100)
commita3a4d9ccc09181885ef0b01db5fc5d306c8c7bf4
treeca9a356497999b7f343e2e68d4c2200688c72186
parent70f92025ae504cda97ff3a130f19035450967836
messaging: Don't do self-sends in messaging_send_all

This leads to cleanupd doing endless MSG_SMB_UNLOCK calls, as it triggers
itself in the send_all. This worked correctly before the serverid.tdb removal
because cleanupd did not register in serverid.tdb (which was a bug, but it
helped us there).

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/messages.c