mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
dlm: make tcp still work in multi-link env
[ Upstream commit 03d2b62208
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
30748ce7e1
commit
fdcd142d31
|
@ -1852,8 +1852,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…
Reference in New Issue
Block a user