1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/common
Martin Schwenke 0536d7a98b ctdb-common: Reimplement ctdb_sys_have_ip() using new infrastructure
It can now be used when net.ipv4.ip_nonlocal_bind=1.

This makes the recovery daemon's local IP verification inefficient.
It can be optimised in a subsequent commit.

Fall back to bind() if unable to fetch IPs.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
2024-10-07 15:58:38 +00:00
..
cmdline.c
cmdline.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
comm.c
comm.h
common.h ctdb-daemon: Use ctdb_parse_node_address() in ctdbd 2024-07-23 12:39:18 +00:00
ctdb_io.c Fix starvation of pending writes in CTDB queues 2024-07-01 09:17:43 +00:00
ctdb_ltdb.c ctdb: Add missing newlines to logging messages 2023-08-08 04:39:36 +00:00
ctdb_util.c ctdb-daemon: Use ctdb_parse_node_address() in ctdbd 2024-07-23 12:39:18 +00:00
db_hash.c
db_hash.h
event_script.c
event_script.h
hash_count.c
hash_count.h
logging.c lib/util: Add "debug syslog format = always", which logs to stdout in syslog style 2023-04-06 12:51:30 +00:00
logging.h ctdb-common: Add support for reopening logs 2022-01-17 03:43:30 +00:00
path_tool.c
path_tool.h
path.c
path.h
pidfile.c lib: Make pidfile_path_create() return the existing PID on conflict 2021-03-16 17:09:32 +00:00
pidfile.h
pkt_read.c
pkt_read.h
pkt_write.c
pkt_write.h
rb_tree.c ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
rb_tree.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
reqid.c
reqid.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
run_event.c
run_event.h
run_proc.c ctdb: Fix a use-after-free in run_proc 2022-10-06 15:10:20 +00:00
run_proc.h
sock_client.c
sock_client.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
sock_daemon.c ctdb-common: Separate sock_daemon's SIGHUP and SIGUSR1 handling 2022-01-17 03:43:30 +00:00
sock_daemon.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
sock_io.c
sock_io.h
srvid.c
srvid.h
system_socket.c ctdb-common: Reimplement ctdb_sys_have_ip() using new infrastructure 2024-10-07 15:58:38 +00:00
system_socket.h ctdb-common: Reimplement ctdb_sys_have_ip() using new infrastructure 2024-10-07 15:58:38 +00:00
system.c Fix spelling mistakes. 2022-09-12 02:29:32 +00:00
system.h
tmon.c ctdb-common: CID 1507498: Control flow issues (DEADCODE) 2022-08-01 09:19:55 +00:00
tmon.h ctdb:common: Fix code spelling 2023-03-24 07:01:31 +00:00
tunable.c ctdb-common: Add function ctdb_tunable_load_file() 2022-04-06 06:34:37 +00:00
tunable.h ctdb-common: Add function ctdb_tunable_load_file() 2022-04-06 06:34:37 +00:00