cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] dlm: clear out addrs before calling into corosync
@ 2014-09-05  8:47 Christine Caulfield
  0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2014-09-05  8:47 UTC (permalink / raw)
  To: cluster-devel.redhat.com

The corosync_cfg_get_node_addrs() call does not fill the whole of the 
addrs field passed in, specifically it only writes the the address 
family and IP address, leaving the port number untouched.

If the port number contains junk, then that can get passed into the 
kernel by dlm_controld where it is subsequently used in the comparison 
that checks for valid cluster nodes in a connection. If this happens 
then an otherwise valid connection can be rejected and the dlm will hang.

I've seen this quite often on s390 but I don't see any reason why it 
might not also be causing intermittent connection problems on other archs.

Signed-Off-By: Christine Caulfield <ccaulfie@redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlm_members_clear_addr.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20140905/1a4937c3/attachment.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-05  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05  8:47 [Cluster-devel] [PATCH] dlm: clear out addrs before calling into corosync Christine Caulfield

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).