diff options
author | Thomas Haller <thaller@redhat.com> | 2021-08-12 13:03:36 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-08-31 16:41:57 +0200 |
commit | ff7231afd58e25b34f66b4b37da604429ef2b60c (patch) | |
tree | 3e6918f917d042d7d887e90ce116d4b950616d67 /.triage-policies.yml | |
parent | 798e56ac445d793cca960b82be7563395c6985c4 (diff) | |
download | NetworkManager-ff7231afd58e25b34f66b4b37da604429ef2b60c.tar.gz |
device/ppp: rework IP config result handling for NMDevicePpp
NMDevice's act_stage3_ip_config_start() has an out parameter,
so that an NMIPConfig object can be returned. That is (luckily)
not used much, and it's fundamentally flawed. We want that
the start method becomes simpler and idempotent. That argument
is problematic there.
Instead, of the result is already ready, postpone the activation
and process the return on an idle handler.
Why not use nm_device_set_dev2_ip_config() to pass the configuration?
Good question, who knows? For now, just mimic the previous behavior.
Usually the IP configuration would be announced late, so we can just
do that artificially by scheduling an idle action.
Diffstat (limited to '.triage-policies.yml')
0 files changed, 0 insertions, 0 deletions