Measure owned endpoint mapping and inbound reachability separately
This commit is contained in:
1 parent
b54307a0df
commit
ff69552a61
51 files changed
+2620
-2483
No files matched your search
+3
-1
@@ -432,6 +432,9 @@ void utun_instance_destroy(struct UTUN_INSTANCE *instance) {
|
||||
auto_socket_destroy(instance);
|
||||
DEBUG_INFO(DEBUG_CATEGORY_SYS, "[DESTROY] E done — socket_monitor+auto_socket");
|
||||
|
||||
/* Детектор владеет таймерами и вспомогательными сокетами: остановить до групп/транспорта. */
|
||||
if (instance->nat_det) { nat_detection_destroy(instance->nat_det); instance->nat_det = NULL; }
|
||||
|
||||
/* Phase F: BGP */
|
||||
if (instance->topo_groups) {
|
||||
etcp_router_unbind(instance, ETCP_RT_ID_CONN_MGR);
|
||||
@@ -542,7 +545,6 @@ void utun_instance_destroy(struct UTUN_INSTANCE *instance) {
|
||||
/* etcp_router_destroy откладывает queue_entry_free(rconn->ll) через uasync_call_soon
|
||||
(router_close_finalize) — выкачать их, пока ua ещё жив. */
|
||||
uasync_drain_immediate(instance->ua);
|
||||
if (instance->nat_det) { nat_detection_destroy(instance->nat_det); instance->nat_det = NULL; }
|
||||
fw_free(&instance->fw);
|
||||
DEBUG_INFO(DEBUG_CATEGORY_SYS, "[DESTROY] N done — router/nat_det/fw");
|
||||
|
||||
|
||||
Reference in new issue
Block a user