[wicked-commit] [openSUSE/wicked] b6a6b4: fsm: Add ni_ifworker_is_config_worker() function
Branch: refs/heads/master 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: 5bd9c73f39c7bfed598d3268c3067f5aabf43a22 https://github.com/openSUSE/wicked/commit/5bd9c73f39c7bfed598d3268c3067f5aab... Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: 2014-11-21 (Fri, 21 Nov 2014) Changed paths: M src/fsm.c Log Message: ----------- fsm: always refresh worker on device-ready event (bnc#904061) Commit: d50325675614d0b38eed5da5197c15a45d62ed99 https://github.com/openSUSE/wicked/commit/d50325675614d0b38eed5da5197c15a45d... Author: Marius Tomaschewski <mt@suse.de> Date: 2014-12-03 (Wed, 03 Dec 2014) Changed paths: M include/wicked/fsm.h M src/fsm.c Log Message: ----------- Merge pull request #462 from pwieczorkiewicz/cnf_worker fsm: matching workers by name on refresh if device is ready (bnc#904061) Compare: https://github.com/openSUSE/wicked/compare/ea6fdbda80f9...d50325675614
participants (1)
-
Marius Tomaschewski