diff options
author | Lon Hohberger <lhh@redhat.com> | 2007-10-26 00:51:54 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-01-29 23:44:25 +0100 |
commit | 6bd8fedaa16da1e24f38712ee759950d8c5f4f09 (patch) | |
tree | c14670142610dde814c04833e56ef91187dc6920 /fs/dlm/main.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.25 (diff) | |
download | linux-6bd8fedaa16da1e24f38712ee759950d8c5f4f09.tar.xz linux-6bd8fedaa16da1e24f38712ee759950d8c5f4f09.zip |
dlm: bind connections from known local address when using TCP
A common problem occurs when multiple IP addresses within the same
subnet are assigned to the same NIC. If we make a connection attempt to
another address on the same subnet as one of those addresses, the
connection attempt will not necessarily be routed from the address we
want.
In the case of the DLM, the other nodes will quickly drop the connection
attempt, causing problems.
This patch makes the DLM bind to the local address it acquired from the
cluster manager when using TCP prior to making a connection, obviating
the need for administrators to "fix" their systems or use clever routing
tricks.
Signed-off-by: Lon Hohberger <lhh@redhat.com>
Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/main.c')
0 files changed, 0 insertions, 0 deletions