dlm: fix lowcomms_connect_node for sctp
authorDavid Teigland <teigland@redhat.com>
Fri, 18 Sep 2009 19:31:47 +0000 (14:31 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Sep 2009 17:19:44 +0000 (12:19 -0500)
commit04bedd79a7037ee7af816b06c60c738144475c4a
treee68657f25eda860333a5dc37eb64181e1c686f35
parent9c1fe834c1bd7725b411055c66886b64c928083d
dlm: fix lowcomms_connect_node for sctp

The recently added dlm_lowcomms_connect_node() from
391fbdc5d527149578490db2f1619951d91f3561 does not work
when using SCTP instead of TCP.  The sctp connection code
has nothing to do without data to send.  Check for no data
in the sctp connection code and do nothing instead of
triggering a BUG.  Also have connect_node() do nothing
when the protocol is sctp.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c