dlm: try other IPs when sctp init assoc fails
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 14 Jun 2013 09:56:12 +0000 (04:56 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 14 Jun 2013 18:07:11 +0000 (13:07 -0500)
commit98e1b60ecc441625c91013e88f14cbd1b3c1fa08
tree4505bd8d9f6156ea7bfbc556da40db2afb59ccad
parentb390ca38d27bd3d2f409e64a6f13d6ff67eb4825
dlm: try other IPs when sctp init assoc fails

Currently, if we cannot create a association to the first IP addr
that is added to DLM, the SCTP init assoc code will just retry
the same IP. This patch adds a simple failover schemes where we
will try one of the addresses that was passed into DLM.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c