diff options
| author | Martin Schwenke <martin@meltin.net> | 2014-01-22 17:01:19 +1100 |
|---|---|---|
| committer | Amitay Isaacs <amitay@samba.org> | 2014-03-23 06:20:43 +0100 |
| commit | 20c719677a28afa1d1b912b9fadbf384e9e65de7 (patch) | |
| tree | e7fc8936aea4975ff1b7700913cb12682e7b0fb5 /python | |
| parent | 9b907536fb657fa15c02858caf0ffff633ecd478 (diff) | |
| download | samba-20c719677a28afa1d1b912b9fadbf384e9e65de7.tar.gz samba-20c719677a28afa1d1b912b9fadbf384e9e65de7.tar.xz samba-20c719677a28afa1d1b912b9fadbf384e9e65de7.zip | |
ctdb/daemon: Optimise deletion of IPs
Previous commits maintained the ordering between
ctdb_remove_orphaned_ifaces() and ctdb_vnn_unassign_iface(). This
meant that ctdb_remove_orphaned_ifaces() needed to steal the orphaned
interfaces and they would be freed later.
Unassign the interface first and things get simpler.
ctdb_remove_orphaned_ifaces() is now self-contained.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Sun Mar 23 06:20:43 CET 2014 on sn-devel-104
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
