NetworkManager/src/devices
Beniamino Galvani e9fc1dea43 ovs: discard link updates when deactivating
When the ovs interface gets deactivated, it is released from the
master port and we call nm_device_update_from_platform_link (dev,
NULL) to ignore any later event for the interface. This is important
especially because it sets a zero ifindex on the interface and so,
later when the link disappears, we don't unmanage the device but
directly remove it.

However, since ovs commands are queued, the link could appear during
the deactivation and we need to ignore such events. Add a new device
method can_update_from_platform_link() for such purpose.
2020-02-17 19:03:29 +01:00
..
adsl all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
bluetooth all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
ovs ovs: discard link updates when deactivating 2020-02-17 19:03:29 +01:00
team team: ignore bus name appearance when killing teamd 2020-02-11 09:17:11 +01:00
tests all: use _nm_utils_inet4_ntop() instead of nm_utils_inet4_ntop() 2020-01-28 11:17:41 +01:00
wifi device/trivial: rename get_dhcp_timeout() virtual function to have a unique name 2020-02-17 14:43:12 +01:00
wwan device/trivial: rename get_dhcp_timeout() virtual function to have a unique name 2020-02-17 14:43:12 +01:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-acd-manager.c all: use _nm_utils_inet4_ntop() instead of nm_utils_inet4_ntop() 2020-01-28 11:17:41 +01:00
nm-acd-manager.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-6lowpan.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-6lowpan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bond.c core,libnm: add VRF support 2020-01-14 09:51:56 +01:00
nm-device-bond.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bridge.c all: add nm_utils_error_is_cancelled() and nm_utils_error_is_cancelled_or_disposing() 2020-02-10 19:11:50 +01:00
nm-device-bridge.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-dummy.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-dummy.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-ethernet.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-factory.c nm-device-factory: remove ifname check as it prevents activating OVS connections 2020-02-17 15:27:35 +01:00
nm-device-factory.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-generic.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-generic.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-infiniband.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-infiniband.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ip-tunnel.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-ip-tunnel.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-logging.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-macsec.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-macsec.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-macvlan.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-macvlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ppp.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-ppp.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-private.h core: fix device detection due to bug in NM_DEVICE_DEFINE_LINK_TYPES() 2020-01-28 14:38:47 +01:00
nm-device-tun.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-tun.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-veth.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-veth.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vlan.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-vlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vrf.c core,libnm: add VRF support 2020-01-14 09:51:56 +01:00
nm-device-vrf.h core,libnm: add VRF support 2020-01-14 09:51:56 +01:00
nm-device-vxlan.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-device-vxlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wireguard.c shared: drop _STATIC variant of macros that define functions 2020-02-13 17:17:07 +01:00
nm-device-wireguard.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wpan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wpan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device.c ovs: discard link updates when deactivating 2020-02-17 19:03:29 +01:00
nm-device.h ovs: discard link updates when deactivating 2020-02-17 19:03:29 +01:00
nm-lldp-listener.c shared: drop _STATIC variant of macros that define functions 2020-02-13 17:17:07 +01:00
nm-lldp-listener.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00