diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-02 20:41:34 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-12 01:36:00 +0100 |
commit | 85a6f300c14d75d161cbfdb3eaf5af9594400ecd (patch) | |
tree | 4b4b9b43e12a2055ee0479c5c5c4440aaec1f415 /src/network/networkd-manager.h | |
parent | homed: add helpers for checking reference status of homes (diff) | |
download | systemd-85a6f300c14d75d161cbfdb3eaf5af9594400ecd.tar.xz systemd-85a6f300c14d75d161cbfdb3eaf5af9594400ecd.zip |
network/queue: introduce RemoveRequest and relevant functions
This is similar to Request, but will be used on removing configuration
(e.g. address, route, and so on).
By using another queue for removing configuration, then we can avoid to
fill the reply callback buffer in sd-netlink by remove message calls.
Follow-up for 4e6a35e2b2fad0f167a71b63525f4210bc858bc6.
Diffstat (limited to 'src/network/networkd-manager.h')
-rw-r--r-- | src/network/networkd-manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h index a2edfd0e79..a97ae8ea21 100644 --- a/src/network/networkd-manager.h +++ b/src/network/networkd-manager.h @@ -102,6 +102,7 @@ struct Manager { bool request_queued; OrderedSet *request_queue; + OrderedSet *remove_request_queue; Hashmap *tuntap_fds_by_name; }; |