diff options
author | Thomas Haller <thaller@redhat.com> | 2021-09-23 11:05:59 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-09-23 11:06:28 +0200 |
commit | 145950d0c27d09f6bb5cfd846b455416c519b85f (patch) | |
tree | b6291acdb6bde6a682bc2c3f3051fb72251205d1 | |
parent | a1b6896b140d9fd30abf4bc5171e53a7bc425e3b (diff) | |
download | NetworkManager-145950d0c27d09f6bb5cfd846b455416c519b85f.tar.gz |
l3cfg/trivial: add code comment about NM_L3_CONFIG_NOTIFY_TYPE_PLATFORM_CHANGE
-rw-r--r-- | src/core/nm-l3cfg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/nm-l3cfg.h b/src/core/nm-l3cfg.h index 764d7502e1..430c0acd79 100644 --- a/src/core/nm-l3cfg.h +++ b/src/core/nm-l3cfg.h @@ -137,7 +137,9 @@ typedef enum { /* NML3Cfg hooks to the NMPlatform signals for link, addresses and routes. * It re-emits the platform signal. * Contrary to NM_L3_CONFIG_NOTIFY_TYPE_PLATFORM_CHANGE_ON_IDLE, this even - * is re-emitted synchronously. */ + * is re-emitted synchronously. You probably want to hook to the on-idle signal, + * unless you need to catch all intermediate changes too. Note that this + * event is not re-entrant safe (so beware what you are doing). */ NM_L3_CONFIG_NOTIFY_TYPE_PLATFORM_CHANGE, /* NML3Cfg hooks to the NMPlatform signals for link, addresses and routes. |