mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00
dlm: make tcp still work in multi-link env
This patch bypasses multi-link errors in TCP mode, allowing dlm to operate on the first tcp link. Signed-off-by: Heming Zhao <heming.zhao@suse.com> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
a3672304ab
commit
03d2b62208
@ -1826,8 +1826,8 @@ static int dlm_tcp_listen_validate(void)
|
||||
{
|
||||
/* We don't support multi-homed hosts */
|
||||
if (dlm_local_count > 1) {
|
||||
log_print("TCP protocol can't handle multi-homed hosts, try SCTP");
|
||||
return -EINVAL;
|
||||
log_print("Detect multi-homed hosts but use only the first IP address.");
|
||||
log_print("Try SCTP, if you want to enable multi-link.");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user