diff options
author | Thomas Haller <thaller@redhat.com> | 2021-01-08 11:09:03 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-01-11 09:10:46 +0100 |
commit | a70765202b35916c47fdeef9accda08bb6a91559 (patch) | |
tree | f5b4520d20685b62c2979c330e84c1c3b0062d1a /src/nm-netns.c | |
parent | 919133e319f2fb143ad370f73ff1992b41cddf6d (diff) | |
download | NetworkManager-th/wireguard-wait-resolve.tar.gz |
wireguard: delay activation while resolving DNS names for WireGuard peers to resolve raceth/wireguard-wait-resolve
WireGuard peers can be configured by their DNS name, which NetworkManager will
resolve.
Since activating a profile might affect now names get resolved, we must
first resolve names before completing the activation of the WireGuard
device (and before reconfiguring DNS accordingly).
For example, if you configure exclusive DNS resolution via the WireGuard
device, and if the peer needs to be resolved via DNS, then resolving the
peer name must block the reconfiguration of DNS.
Fix that by waiting.
Diffstat (limited to 'src/nm-netns.c')
0 files changed, 0 insertions, 0 deletions