[DLM] zero unused parts of sockaddr_storage
authorPatrick Caulfield <pcaulfie@redhat.com>
Tue, 17 Jul 2007 15:53:15 +0000 (16:53 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 14 Aug 2007 09:29:27 +0000 (10:29 +0100)
commit01c8cab25863de007fe8c598d0033919ea8ae65e
treeb7945a4766743ad4dd559681b65bb9e3d230a4a8
parent41684f9547455b395ffd65e5b7961067d20a2872
[DLM] zero unused parts of sockaddr_storage

When we build a sockaddr_storage for an IP address, clear the unused parts as
they could be used for node comparisons.

I have seen this occasionally make sctp connections fail.

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lowcomms.c