[wicked-commit] [openSUSE/wicked] b6a6b4: fsm: Add ni_ifworker_is_config_worker() function
Branch: refs/heads/testing Home: https://github.com/openSUSE/wicked Commit: b6a6b41bd2cba3c51493b1b91279646c135e6b53 https://github.com/openSUSE/wicked/commit/b6a6b41bd2cba3c51493b1b91279646c13... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2014-11-17 (Mon, 17 Nov 2014) Changed paths: M include/wicked/fsm.h Log Message: ----------- fsm: Add ni_ifworker_is_config_worker() function This function determines whether given worker has real device behind or is just a config container. Commit: 9ec9d26769e898cf3d22a5b478982eeebde4ae03 https://github.com/openSUSE/wicked/commit/9ec9d26769e898cf3d22a5b478982eeebd... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2014-11-17 (Mon, 17 Nov 2014) Changed paths: M src/fsm.c Log Message: ----------- fsm: ni_fsm_ifworker_by_netdev() should not match by name Commit: 4bd89f625e9a1621bfaf0a6be125d9778bfb404f https://github.com/openSUSE/wicked/commit/4bd89f625e9a1621bfaf0a6be125d9778b... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2014-11-17 (Mon, 17 Nov 2014) Changed paths: M src/fsm.c Log Message: ----------- fsm: Match ready devices against config workers (bnc#904061) Sometimes device is renamed just after we create a config worker for it. Then real worker resides along with config worker. Every further worker get function returns the real worker, which does not have any configuration. Solution here is as follows: - Refresh all devices present in the system (ready or not) at discovery (ni_fsm_refresh()) state - Create new workers for hotplugging devices only for ready devices - During refresh assign new device (when ready!!!) to the worker matched by name. * If that happened, look for real workers having similar ifindex and destroy them (we do not need them, as config worker becomes real worker now). Commit: a58f0ed9d8990a48955ad64d5942b41b86e1c7ad https://github.com/openSUSE/wicked/commit/a58f0ed9d8990a48955ad64d5942b41b86... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2014-11-18 (Tue, 18 Nov 2014) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- Merge branch 'cnf_worker' into testing Compare: https://github.com/openSUSE/wicked/compare/1c1c15c14a76...a58f0ed9d899
participants (1)
-
Pawel Wieczorkiewicz