]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/wireguard: cleanups for resolving endpoints
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Nov 2021 12:21:21 +0000 (21:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Dec 2021 23:39:32 +0000 (08:39 +0900)
commit8bf7e3b61cf5d85c07e4d537192f56f31db70141
tree80945928b63281579f5a90142a13475b983700a7
parent4a897d29f1b1aa760f9a938acf98390c0d285482
network/wireguard: cleanups for resolving endpoints

This makes
- drop peers_with_unresolved_endpoint and peers_with_failed_endpoint,
- drop destroy handler for sd_resolve_query, and manage each query by peer,
- add random fluctuation to the timeout for retry handler,
- retry timer event source is now managed by peer,
- use sd_event_source_disable_unref().
src/network/netdev/wireguard.c
src/network/netdev/wireguard.h