]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-link.h
networkd: Fix race condition in [RoutingPolicyRule] handling (#7615)
[thirdparty/systemd.git] / src / network / networkd-link.h
index 25e49c8329a3c2ddad41ce6965d24897109ec331..8aaaa679ff364f19ca5059d679c227950d05e0f0 100644 (file)
@@ -86,7 +86,11 @@ typedef struct Link {
         LinkState state;
         LinkOperationalState operstate;
 
-        unsigned link_messages;
+        unsigned address_messages;
+        unsigned address_label_messages;
+        unsigned route_messages;
+        unsigned routing_policy_rule_messages;
+        unsigned routing_policy_rule_remove_messages;
         unsigned enslaving;
 
         Set *addresses;
@@ -109,7 +113,8 @@ typedef struct Link {
         bool ipv4ll_address:1;
         bool ipv4ll_route:1;
 
-        bool static_configured;
+        bool static_routes_configured;
+        bool routing_policy_rules_configured;
         bool setting_mtu;
 
         LIST_HEAD(Address, pool_addresses);