messaging: Ignore messages from ourselves
authorVolker Lendecke <vl@samba.org>
Fri, 8 Dec 2017 16:21:37 +0000 (17:21 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Dec 2017 19:37:08 +0000 (20:37 +0100)
commit5f31c911d1149a74f942292c623e8b213c587758
tree001762e1dfbb65ce800f7c06a151f75048b7fda3
parenta3a4d9ccc09181885ef0b01db5fc5d306c8c7bf4
messaging: Ignore messages from ourselves

For non-clustered messaging this should have never gone through the socket, we
should have caught it before in messaging_send_iov_from.

It can come in on a socket from ctdb when broadcasting in clustered mode. There
ctdb does the broadcasting.

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