NetworkManager/src/devices
Dan Williams 998f1cf732 vlan: don't fail if parent isn't found at construct time for existing devices
For existing devices, depending on the order that netlink sends interfaces to
us, the parent may be found after the VLAN interface and not be available when
the VLAN interface is constructed.  Instead of failing construction, when a
NMDeviceVlan has no parent keep it unavailable for activation.  Then have
the Manager notify existing devices when a new device is found, and let
NMDeviceVlan find the parent later and become available via that mechanism.

This doesn't apply to VLANs created by NM itself, because the kernel requires
a parent ifindex when creating a VLAN device.  Thus this fix only applies to
VLANs created outside NetworkManager, or existing when NM starts up.

(cherry picked from commit cd3df12c8f)
2015-06-17 16:11:56 +02:00
..
adsl platform: add self argument to platform functions 2015-06-17 14:32:30 +02:00
bluetooth core: add generic NMDevice function to recheck availability 2015-06-17 14:54:02 +02:00
team platform: add self argument to platform functions 2015-06-17 14:32:30 +02:00
wifi core: add generic NMDevice function to recheck availability 2015-06-17 14:54:02 +02:00
wimax device: remove debug logging from is_available() 2015-02-24 17:44:04 +01:00
wwan core: add generic NMDevice function to recheck availability 2015-06-17 14:54:02 +02:00
nm-device-bond.c platform: add self argument to platform functions 2015-06-17 14:32:30 +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 platform: add self argument to platform functions 2015-06-17 14:32:30 +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 platform: don't wait for udev before announcing links 2015-06-17 14:54:02 +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 all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-device-factory.h core: add support for internal device factories 2014-09-11 12:50:15 -05:00
nm-device-generic.c platform: add self argument to platform functions 2015-06-17 14:32:30 +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 platform: add self argument to platform functions 2015-06-17 14:32:30 +02:00
nm-device-gre.h gre: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device-infiniband.c platform: add self argument to platform functions 2015-06-17 14:32:30 +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 device: add logging macro _LOGT() 2014-12-09 16:17:46 +01:00
nm-device-macvlan.c platform: add self argument to platform functions 2015-06-17 14:32:30 +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 platform: add self argument to platform functions 2015-06-17 14:32:30 +02:00
nm-device-tun.h tun: port to internal device factory 2014-09-11 12:50:17 -05:00
nm-device-veth.c platform: add self argument to platform functions 2015-06-17 14:32:30 +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: don't fail if parent isn't found at construct time for existing devices 2015-06-17 16:11:56 +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 platform: add self argument to platform functions 2015-06-17 14:32:30 +02:00
nm-device-vxlan.h vxlan: port to internal device factory 2014-09-11 12:50:16 -05:00
nm-device.c core: don't activate failed queued activation requests 2015-06-17 16:11:55 +02:00
nm-device.h vlan: don't fail if parent isn't found at construct time for existing devices 2015-06-17 16:11:56 +02:00