NetworkManager/src/devices
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
..
adsl build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
bluetooth build: add missing GLIB_CFLAGS 2015-11-05 14:48:23 +01:00
team vlan: fix unmanaged VLAN interface problem (rh #1273879) 2015-10-22 14:02:07 +02:00
wifi wifi: minor refactoring logging BSSID in supplicant_iface_new_bss_cb() 2015-11-11 18:14:47 +01:00
wimax build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
wwan build: add missing GLIB_CFLAGS 2015-11-05 14:48:23 +01:00
nm-device-bond.c vlan: fix unmanaged VLAN interface problem (rh #1273879) 2015-10-22 14:02:07 +02:00
nm-device-bond.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-device-bridge.c vlan: fix unmanaged VLAN interface problem (rh #1273879) 2015-10-22 14:02:07 +02:00
nm-device-bridge.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-device-ethernet-utils.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-device-ethernet-utils.h settings: create default wired connection from NMDeviceEthernet 2014-09-11 12:47:07 -05:00
nm-device-ethernet.c wake-on-lan: add option to keep existing settings 2015-10-20 17:13:21 +02:00
nm-device-ethernet.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-device-factory.c device: fix wrong assert in NMDeviceFactory 2015-06-20 11:38:17 +02:00
nm-device-factory.h core: let plugins indicate links which should be ignored 2015-06-17 16:33:16 +02:00
nm-device-generic.c device: add nm_device_get_type_description() function 2015-06-19 12:10:51 +02:00
nm-device-generic.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-device-gre.c core: let plugins indicate links which should be ignored 2015-06-17 16:33:16 +02:00
nm-device-gre.h gre: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device-infiniband.c vlan: fix unmanaged VLAN interface problem (rh #1273879) 2015-10-22 14:02:07 +02:00
nm-device-infiniband.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-device-logging.h logging: declare default logging macros in "nm-logging.h" 2015-08-20 18:05:43 +02:00
nm-device-macvlan.c platform: handle parent interfaces in other netns 2015-08-25 23:07:59 +02:00
nm-device-macvlan.h macvlan: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device-private.h core: add generic NMDevice function to recheck availability 2015-06-17 14:54:02 +02:00
nm-device-tun.c core: let plugins indicate links which should be ignored 2015-06-17 16:33:16 +02:00
nm-device-tun.h tun: port to internal device factory 2014-09-11 12:50:17 -05:00
nm-device-veth.c device: turn off "unmanaged unless IFF_UP externally" for veth 2015-07-12 15:03:07 +02:00
nm-device-veth.h veth: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device-vlan.c vlan: fix unmanaged VLAN interface problem (rh #1273879) 2015-10-22 14:02:07 +02:00
nm-device-vlan.h vlan: export parent device for VLANs as D-Bus property 2014-11-24 10:33:13 +01:00
nm-device-vxlan.c vxlan: o.fd.NM.Device.Proxy is a boolean 2015-06-18 22:27:41 +02:00
nm-device-vxlan.h vxlan: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device.c nm-device: only progress with ip-config if the device is still in IP_WAIT 2015-11-11 19:43:42 +01:00
nm-device.h device: retry creation of default connection after link is initialized 2015-09-16 13:14:46 +02:00