NetworkManager/src
Lubomir Rintel d19cbabc14 nm-device: only progress with ip-config if the device is still in IP_WAIT
The device might be a slave and not need any L3 configuration in which case it
will move to IP_DONE:

  Running test bridge_manipulation_with_1000_slaves
  ...
  <debug> [1446834482.545396] [nm-dispatcher.c:304] dispatcher_results_process(): (121) 12-dhcpd succeeded
  <debug> [1446834482.545404] [nm-dispatcher.c:304] dispatcher_results_process(): (121) 20-chrony succeeded
  <debug> [1446834482.545481] [devices/nm-device.c:5374] nm_device_activate_stage3_ip_config_start(): [0x7fc77e1c0fc0] (port120): Activation: Stage 3 of 5 (IP Configure Start) started...
  <info>  (port120): device state change: config -> ip-config (reason 'none') [50 70 0]
  <debug> [1446834482.545578] [devices/nm-device.c:1683] slave_state_changed(): [0x7fc77df77020] (bridge0): slave port120 state change 50 (config) -> 70 (ip-config)
  <debug> [1446834482.545629] [devices/nm-device.c:7955] nm_device_add_pending_action(): [0x7fc77e1c0fc0] (port120): add_pending_action (2): 'queued state change to secondaries'
  <debug> [1446834482.545642] [devices/nm-device.c:8806] nm_device_queue_state(): [0x7fc77e1c0fc0] (port120): queued state change to secondaries due to none (id 11380)
  ** NetworkManager:ERROR:devices/nm-device.c:5250:nm_device_activate_stage3_ip4_start: assertion failed: (priv->ip4_state == IP_WAIT)

  5250            g_assert (priv->ip4_state == IP_WAIT);
  (gdb) print priv->ip4_state
  $1 = IP_DONE
  (gdb) print priv->master
  $3 = { ...  master = 0x7fc77df77020, enslaved = 1, master_ready_handled = 1,
    master_ready_id = 0, is_master = 0, slaves = 0x0, ...}

(cherry picked from commit f8973a7f42)
2015-11-11 19:43:42 +01:00
..
devices nm-device: only progress with ip-config if the device is still in IP_WAIT 2015-11-11 19:43:42 +01:00
dhcp-manager systemd/adapt: return G_SOURCE_REMOVE in time event callback 2015-11-11 17:32:17 +01:00
dns-manager dns: rewrite "resolv.conf" on SIGHUP and SIGUSR1 2015-06-26 10:42:37 +02:00
dnsmasq-manager build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
platform logging: swap names of logging macros _LOGT() and _LOGt() 2015-11-06 14:21:11 +01:00
ppp-manager build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
rdisc build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
settings agent-manager: cancel pending auth chain for the disappearing agent 2015-11-06 17:18:28 +01:00
supplicant-manager wifi: emit NEW_BSS on ScanDone to update APs in Wi-Fi device (rh #1267327) 2015-10-02 09:16:00 +02:00
tests core: fix assuming a connection without S390 properties (rh #1276343) 2015-11-03 08:47:32 +01:00
vpn-manager vpn-connection: set the MTU for the VPN IP interface 2015-09-29 18:25:54 +02:00
main-utils.c config: pass signals to nm_config_reload() 2015-06-26 10:40:47 +02:00
main-utils.h config: pass signals to nm_config_reload() 2015-06-26 10:40:47 +02:00
main.c config: bugfix: parse commandline options into correct object 2015-08-28 08:24:02 +02:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
NetworkManagerUtils.c core: fix assuming a connection without S390 properties (rh #1276343) 2015-11-03 08:47:32 +01:00
NetworkManagerUtils.h core: fix builds with older gcc (like 4.4.x) 2015-11-10 11:12:33 -06:00
nm-activation-request.c core, dispatcher: drop unnecessary setpgid() calls 2015-06-20 10:56:58 +02:00
nm-activation-request.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-active-connection.c logging: declare default logging macros in "nm-logging.h" 2015-08-20 18:05:43 +02:00
nm-active-connection.h nm-manager: add 'metered' property 2015-07-22 13:52:46 +02:00
nm-auth-manager.c logging: declare default logging macros in "nm-logging.h" 2015-08-20 18:05:43 +02:00
nm-auth-manager.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-auth-subject.c core: return parent pid from nm_utils_get_start_time_for_pid() 2015-07-01 11:40:40 +02:00
nm-auth-subject.h auth: support disabling POLKIT authentication entirely at compile time 2014-09-29 13:51:11 +02:00
nm-auth-utils.c auth-utils: memleak: free the key when we steal data 2015-02-18 18:16:31 +01:00
nm-auth-utils.h auth: rework polkit autorization to use DBUS interface directly 2014-09-29 13:51:11 +02:00
nm-config-data.c config/trivial: add code comment 2015-07-03 09:24:05 +02:00
nm-config-data.h config: add NMConfigGetValueFlags argument to nm_config_data_get_value() 2015-07-03 09:24:04 +02:00
nm-config.c config: workaround invocation of "config-changed" signal 2015-09-09 12:06:59 +02:00
nm-config.h config: fix wrong signature of class-method config_changed() for signal 2015-09-04 16:36:54 +02:00
nm-connection-provider.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-connection-provider.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-connectivity.c logging: declare default logging macros in "nm-logging.h" 2015-08-20 18:05:43 +02:00
nm-connectivity.h connectivity: make NMConnectivity independent of NMConfig 2015-05-05 16:50:10 +02:00
nm-dbus-manager.c core: replace g_test_initialized() by nm_utils_get_testing() 2015-07-03 09:24:02 +02:00
nm-dbus-manager.h dbus-manager: add nm_dbus_manager_setup() function for testing 2015-03-13 11:50:50 +01:00
nm-dcb.c core: use GUnixSignalWatchSource to simplify signal handling 2015-06-20 10:48:21 +02:00
nm-dcb.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-default-route-manager.c logging: declare default logging macros in "nm-logging.h" 2015-08-20 18:05:43 +02:00
nm-default-route-manager.h default-route: add @out_is_never_default argument to has_default_route() 2015-06-19 13:42:21 +02:00
nm-dhcp4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dispatcher.c trivial: remove a tautological compare 2015-05-11 15:31:16 +02:00
nm-dispatcher.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-firewall-manager.c firewall: always complete callbacks asynchronously 2014-11-19 12:59:42 +01:00
nm-firewall-manager.h firewall: make call handle an opaque pointer type 2014-11-19 12:58:36 +01:00
nm-iface-helper.c device: accept multiple addresses in a DHCPv6 lease 2015-08-26 15:18:34 +02:00
nm-ip4-config.c core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 18:00:44 +02:00
nm-ip4-config.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 18:00:44 +02:00
nm-ip6-config.c core: fix handling ignore-auto-dns for IPv6 nameservers 2015-09-09 13:03:26 +02:00
nm-ip6-config.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 18:00:44 +02:00
nm-logging.c logging: coerce negative error values to positive errno 2015-09-24 10:55:37 +02:00
nm-logging.h logging: swap names of logging macros _LOGT() and _LOGt() 2015-11-06 14:21:11 +01:00
nm-manager.c manager: fix activation without specified device 2015-10-19 15:50:03 +02:00
nm-manager.h core: fix NMManager in private-bus-only case 2015-08-12 16:27:14 +02:00
nm-multi-index.c all: fix additional compiler warningis about function declarations 2015-06-22 09:56:05 +02:00
nm-multi-index.h core: add NMMultiIndex class 2015-06-21 15:21:56 +02:00
nm-policy.c policy: fix looping through list while removing elements (rh #1175446) 2015-11-05 12:54:27 +01:00
nm-policy.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-properties-changed-signal.c core: log ignored property notification with level TRACE 2015-03-11 17:07:55 +01:00
nm-properties-changed-signal.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-rfkill-manager.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-rfkill-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-route-manager.c logging: swap names of logging macros _LOGT() and _LOGt() 2015-11-06 14:21:11 +01:00
nm-route-manager.h route-manager: add argument to to only remove routes that were added by NMRouteManager 2015-07-14 13:44:56 +02:00
nm-session-monitor-ck.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor-null.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor-systemd.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-session-utils.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-utils.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-sleep-monitor-systemd.c core: don't auto-launch logind (bgo #741572) 2014-12-16 09:26:32 -06:00
nm-sleep-monitor-upower.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-sleep-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.h core: add @merge_flags argument to nm_ip4_config_merge() and nm_ip6_config_merge() 2015-08-06 18:00:44 +02:00
org.freedesktop.NetworkManager.conf dbus: add strongswan to the vpn plugin bus names 2015-10-23 18:21:59 +02:00