[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    [Linux-ha-dev] [PATCH 0 of 1] Optionally flush kernel routing
From:       Florian Haas <florian.haas () linbit ! com>
Date:       2010-09-30 16:22:16
Message-ID: patchbomb.1285863736 () gluehwein ! linbit
[Download RAW message or body]

Hello everyone,

please take a look at the attached patch. This is for a rather odd use case
where applications need to talk to floating IP addresses running locally (that
is, the applications is running on the same host that currently holds the IP).

In that case, Linux seems to take a sometimes undesirable shortcut which,
for those locally-running applications only, seems to make the IP address disappear
"late", with unwanted side effects. Flushing the kernel routing table when
unconfiguring the address fixes the issue.

The patch is rather trivial and adds an new boolean "flush_route" parameter
which when set, flushes the kernel routing table after the IP address is removed.
The kernel then repopulates the routing table immediately.

The parameter is obviously off by default.

Feedback is appreciated. If no-one hollers, I'd push this some time early next week.

Cheers,
Florian


_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic