A reload during an in-flight setup ran wdev_config_init() immediately, replacing handler_config/handler_data while the script was still running, so its set_data notifications resolved against the new (renumbered) interface table and link up/down calls became asymmetric. Defer the re-init in check() while a handler run is in progress and re-apply from the setup and teardown callbacks once it completes. Signed-off-by: Felix Fietkau <nbd@nbd.name> |
||
|---|---|---|
| .. | ||
| config | ||
| ipv6 | ||
| services | ||
| utils | ||