ctdb-daemon: Avoid spurious error sending ARPs for released IP
commitd62fcba7dce6038c02c12b3531e953e7b808614a
authorMartin Schwenke <martin@meltin.net>
Thu, 23 Jun 2022 04:30:34 +0000 (23 14:30 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 22 Jul 2022 16:09:31 +0000 (22 16:09 +0000)
treeef72b3d62b89ce8a818d4269e1594d4272a49092
parentf5a20377347aba18700d010d4201775fc83a0b1b
ctdb-daemon: Avoid spurious error sending ARPs for released IP

A public IP address can be released in between (and probably before)
attempts to send ARPs.  One situation when this can occur is when a
cluster is shutting down: node A shuts down first, public IPs from
node A are taken over by node B, node B is shutdown.

Notice this when it occurs and cancel further attempts to send ARPs.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c