1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb-daemon: Try to release IP address even if interface is unknown

The "releaseip" event in 10.interface will determine the interface and
do the right thing.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 509491a868ed01bfc5a970bd36eea4b01130853a)
This commit is contained in:
Martin Schwenke 2016-08-08 07:09:38 +10:00 committed by Stefan Metzmacher
parent bddfe9b496
commit a275b0c3dc

View File

@ -2126,9 +2126,6 @@ void ctdb_release_all_ips(struct ctdb_context *ctdb)
ctdb_vnn_unassign_iface(ctdb, vnn);
continue;
}
if (!vnn->iface) {
continue;
}
/* Don't allow multiple releases at once. Some code,
* particularly ctdb_tickle_sentenced_connections() is