cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Evgeniy Sokolov <evg@openvz.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] compare cluster name in cman daemon
Date: Mon, 30 May 2011 12:45:28 +0400	[thread overview]
Message-ID: <4DE35928.3050203@openvz.org> (raw)
In-Reply-To: <4DDCBFBE.6080705@openvz.org>

On 25.05.2011 12:37, Evgeniy Sokolov wrote:
> On 25.05.2011 12:05, Christine Caulfield wrote:
>> On 25/05/11 08:23, Evgeniy Sokolov wrote:
>>> if length of cluster name = 16, last char of msg->clustername will not
>>> be zero.
>>> In this case strcmp will continue read member fence_agent from
>>> cl_transmsg structure.
>>>
>>>
>>
>> If the length of the cluster name = 16 then there is a bug somewhere
>> else that needs fixing ;-)
>>
>> Chrissie
>>
>>
>
> Design of cl_transmsg->clustername[16] is string with max length 15 + 1
> char for zero. Is it correct?

Christine, can you answer the question?



  reply	other threads:[~2011-05-30  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25  7:23 [Cluster-devel] [PATCH] compare cluster name in cman daemon Evgeniy Sokolov
2011-05-25  8:05 ` Christine Caulfield
2011-05-25  8:37   ` Evgeniy Sokolov
2011-05-30  8:45     ` Evgeniy Sokolov [this message]
2011-05-31  7:40       ` Christine Caulfield
2011-05-30  9:06   ` Dmitry Mishin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE35928.3050203@openvz.org \
    --to=evg@openvz.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).