From: Volker Lendecke Date: Tue, 26 Apr 2016 14:24:33 +0000 (+0200) Subject: lib: Avoid a "procid_is_local" call X-Git-Tag: tdb-1.3.10~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aca68e5dbb9d3d250464af6248f5ca95d837d108;p=thirdparty%2Fsamba.git lib: Avoid a "procid_is_local" call Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- diff --git a/source3/lib/messages.c b/source3/lib/messages.c index af0ca400227..a81aee8e0f7 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -550,7 +550,7 @@ int messaging_send_iov_from(struct messaging_context *msg_ctx, return EINVAL; } - if (!procid_is_local(&dst)) { + if (dst.vnn != msg_ctx->id.vnn) { if (num_fds > 0) { return ENOSYS; }