diff options
author | Heming Zhao <heming.zhao@suse.com> | 2025-03-10 15:36:21 +0800 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2025-03-18 10:49:22 -0500 |
commit | 03d2b62208a336a3bb984b9465ef6d89a046ea22 (patch) | |
tree | 90622ca8e2fdfccfb65553503c8d7d93589cd3e3 | |
parent | a3672304abf2a847ac0c54c84842c64c5bfba279 (diff) |
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>
-rw-r--r-- | fs/dlm/lowcomms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index d28141829c05..70abd4da17a6 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -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; |