NetworkManager/src/devices
Beniamino Galvani a73efb059f manager: don't activate device if the parent is missing
In multiple places we currently proceed to creating a virtual device
even if the connection specifies a parent device which is
missing. This can be easily reproduced with:

  nmcli con add type vxlan ifname vxlan1 \
                vxlan.parent not-exists \
                id 43 remote 172.25.1.1

which creates a vxlan1 interface without activating any
connection. Add a check to prevent this.

https://bugzilla.redhat.com/show_bug.cgi?id=1774074
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/344
2019-11-25 08:58:27 +01:00
..
adsl meson: Remove tests related to check_so_symbols 2019-10-01 09:49:33 +02:00
bluetooth bluetooth: build test program only when tests are enabled 2019-11-19 17:00:22 +01:00
ovs ovs: allow changing mac address of bridges and interfaces 2019-11-20 10:44:06 +01:00
team meson: Remove tests related to check_so_symbols 2019-10-01 09:49:33 +02:00
tests meson: Improve the src build file 2019-10-01 09:49:33 +02:00
wifi iwd: unbreak iwd-1.0 2019-11-03 07:51:24 +01:00
wwan device/wwan: fix leak of "error" variable in connect_ready() 2019-10-23 15:25:46 +02:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-acd-manager.c acd: poll the acd fd after starting the announcements 2019-11-06 16:37:59 +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: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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 all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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 ethernet: wait for carrier before starting supplicant 2019-11-21 10:20:47 +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 all: manually drop code comments with file description 2019-10-01 07:50:52 +02: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: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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 device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02: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 device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02: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 macsec: update MTU according to parent's one 2019-10-10 15:08:16 +02: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 macvlan: update MTU according to parent's one 2019-10-10 15:08:16 +02: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: manually drop code comments with file description 2019-10-01 07:50:52 +02: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 device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02:00
nm-device-tun.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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 device: introduce generic function to inherit MTU from parent 2019-10-10 15:08:16 +02:00
nm-device-vlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vxlan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02: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 device: allow reapply when the device is activating 2019-10-23 16:09:56 +02: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 manager: don't activate device if the parent is missing 2019-11-25 08:58:27 +01:00
nm-device.h core: export interface flags of devices 2019-11-22 10:18:26 +01:00
nm-lldp-listener.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-lldp-listener.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00