summaryrefslogtreecommitdiffstats
path: root/collectors/freebsd.plugin/freebsd_getifaddrs.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
commitc21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /collectors/freebsd.plugin/freebsd_getifaddrs.c
parentAdding upstream version 1.43.2. (diff)
downloadnetdata-0d980fd06561f4670f5d8170c5aedd74023e3702.tar.xz
netdata-0d980fd06561f4670f5d8170c5aedd74023e3702.zip
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/freebsd.plugin/freebsd_getifaddrs.c')
-rw-r--r--collectors/freebsd.plugin/freebsd_getifaddrs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/collectors/freebsd.plugin/freebsd_getifaddrs.c b/collectors/freebsd.plugin/freebsd_getifaddrs.c
index 80a209105..36be68422 100644
--- a/collectors/freebsd.plugin/freebsd_getifaddrs.c
+++ b/collectors/freebsd.plugin/freebsd_getifaddrs.c
@@ -52,15 +52,15 @@ static size_t network_interfaces_added = 0, network_interfaces_found = 0;
static void network_interface_free(struct cgroup_network_interface *ifm) {
if (likely(ifm->st_bandwidth))
- rrdset_is_obsolete(ifm->st_bandwidth);
+ rrdset_is_obsolete___safe_from_collector_thread(ifm->st_bandwidth);
if (likely(ifm->st_packets))
- rrdset_is_obsolete(ifm->st_packets);
+ rrdset_is_obsolete___safe_from_collector_thread(ifm->st_packets);
if (likely(ifm->st_errors))
- rrdset_is_obsolete(ifm->st_errors);
+ rrdset_is_obsolete___safe_from_collector_thread(ifm->st_errors);
if (likely(ifm->st_drops))
- rrdset_is_obsolete(ifm->st_drops);
+ rrdset_is_obsolete___safe_from_collector_thread(ifm->st_drops);
if (likely(ifm->st_events))
- rrdset_is_obsolete(ifm->st_events);
+ rrdset_is_obsolete___safe_from_collector_thread(ifm->st_events);
network_interfaces_added--;
freez(ifm->name);