Skip to content

Commit 03d2b62

Browse files
zhaohemteigland
authored andcommitted
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 <[email protected]> Signed-off-by: David Teigland <[email protected]>
1 parent a367230 commit 03d2b62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/dlm/lowcomms.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,8 +1826,8 @@ static int dlm_tcp_listen_validate(void)
18261826
{
18271827
/* We don't support multi-homed hosts */
18281828
if (dlm_local_count > 1) {
1829-
log_print("TCP protocol can't handle multi-homed hosts, try SCTP");
1830-
return -EINVAL;
1829+
log_print("Detect multi-homed hosts but use only the first IP address.");
1830+
log_print("Try SCTP, if you want to enable multi-link.");
18311831
}
18321832

18331833
return 0;

0 commit comments

Comments
 (0)